/external/clang/test/Sema/ |
D | warn-type-safety.c | 121 #define F_SETLK 20 macro 126 …tic const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK; 133 fcntl(0, F_SETLK, f); // no-warning in test_argument_with_type_tag() 135 …fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' t… in test_argument_with_type_tag() 140 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion()
|
/external/ppp/pppd/plugins/radius/ |
D | lock.c | 27 res = fcntl(fd, F_SETLK, &fl); in do_lock_exclusive() 45 return fcntl(fd, F_SETLK, &fl); in do_unlock()
|
/external/kernel-headers/original/linux/ |
D | fcntl.h | 42 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) 52 #define IS_SETLK64(cmd) ((cmd) == F_SETLK)
|
/external/valgrind/main/none/tests/ |
D | mmap_fcntl_bug.c | 44 if (fcntl(fd, F_SETLK, &fl) != 0) in main() 56 if (fcntl(fd, F_SETLK, &fl) == 0) in main()
|
/external/strace/ |
D | desc.c | 63 { F_SETLK, "F_SETLK" }, 121 #ifdef F_SETLK 122 { F_SETLK, "F_SETLK" }, 330 case F_SETLK: case F_SETLKW: in sys_fcntl() 343 #if defined(F_SETLK64) && F_SETLK64 + 0 != F_SETLK in sys_fcntl() 374 case F_SETLK: case F_SETLKW: in sys_fcntl()
|
D | NEWS | 131 * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
|
D | ChangeLog-CVS | 294 * desc.c (printflock): Fix display of fcntl(F_SETLK) on
|
/external/kernel-headers/original/asm-mips/ |
D | fcntl.h | 24 #define F_SETLK 6 macro
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
D | flock_tool.py | 44 fcntl.fcntl(fd, fcntl.F_SETLK, op)
|
/external/chromium/chrome/browser/importer/ |
D | firefox_profile_lock_posix.cc | 113 } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { in LockWithFcntl()
|
/external/chromium_org/chrome/browser/importer/ |
D | firefox_profile_lock_posix.cc | 113 } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { in LockWithFcntl()
|
/external/valgrind/main/memcheck/tests/ |
D | file_locking.c | 33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
|
/external/kernel-headers/original/asm-generic/ |
D | fcntl.h | 98 #define F_SETLK 6 macro
|
/external/bison/m4/ |
D | fcntl.m4 | 15 # - F_GETLK, F_SETLK, F_SETLKW
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions.cc | 174 ErrorCode::OP_EQUAL, F_SETLK, in RestrictFcntlCommands()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 363 if (!probe && lck_type != F_SETLK) { in tdb_brlock() 490 return _tdb_lock(tdb, list, ltype, F_SETLK); in tdb_lock_nonblock() 716 return _tdb_lockall(tdb, F_WRLCK, F_SETLK); in tdb_lockall_nonblock() 734 return _tdb_lockall(tdb, F_RDLCK, F_SETLK); in tdb_lockall_read_nonblock() 804 return tdb->methods->tdb_brlock(tdb, off, F_WRLCK, F_SETLK, 1, 1); in tdb_write_lock_record() 813 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record() 3888 (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { in tdb_open_ex() 3947 if (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_UNLCK, F_SETLK, 0, 1) == -1) { in tdb_open_ex()
|
/external/chromium_org/base/files/ |
D | file_posix.cc | 86 if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) in CallFctnlFlock()
|
/external/chromium_org/base/ |
D | platform_file_posix.cc | 84 if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) in CallFctnlFlock()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 409 fcntl(state_fd, F_SETLK, &fl); in get_clock()
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | env_posix.cc | 267 return fcntl(fd, F_SETLK, &f); in LockOrUnlock()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | os_unix.c | 543 }else if( op==F_SETLK ){ in lockTrace() 565 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ in lockTrace() 1265 rc = osFcntl(pFile->h, F_SETLK, &lock); in unixFileLock() 1273 rc = osFcntl(pFile->h, F_SETLK, pLock); in unixFileLock() 3645 rc = osFcntl(pShmNode->h, F_SETLK, &f); in unixShmSystemLock()
|
/external/valgrind/main/include/vki/ |
D | vki-darwin.h | 279 #define VKI_F_SETLK F_SETLK
|
/external/valgrind/main/coregrind/ |
D | vgdb.c | 1294 if (fcntl(fd, F_SETLK, &fl) < 0) { in acquire_lock()
|
/external/chromium_org/third_party/lcov/ |
D | descriptions.tests | 70 Basic test for fcntl(2) using F_SETLK argument.
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 24699 }else if( op==F_SETLK ){ 24721 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ 25421 rc = osFcntl(pFile->h, F_SETLK, &lock); 25429 rc = osFcntl(pFile->h, F_SETLK, pLock); 27801 rc = osFcntl(pShmNode->h, F_SETLK, &f);
|