/external/clang/test/Sema/ |
D | warn-type-safety.c | 123 #define F_SETLK 20 macro 128 …tic const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK; 135 fcntl(0, F_SETLK, f); // no-warning in test_argument_with_type_tag() 137 …fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' t… in test_argument_with_type_tag() 142 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion()
|
/external/strace/tests/ |
D | struct_flock.c | 65 TEST_FLOCK_EINVAL(F_SETLK); in test_flock() 72 int rc = syscall(TEST_SYSCALL_NR, 0, F_SETLK, &fl); in test_flock() 84 syscall(TEST_SYSCALL_NR, 0, F_SETLK, &fl); in test_flock()
|
/external/strace/xlat/ |
D | fcntlcmds.h | 20 #if !(defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)) 21 # define F_SETLK 6 macro 99 XLAT(F_SETLK),
|
D | fcntlcmds.in | 8 F_SETLK 6
|
/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/valgrind/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/toybox/toys/pending/ |
D | userdel.c | 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) in update_groupfiles() 78 fcntl(fileno(exfp), F_SETLK, &lock); in update_groupfiles()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | fcntl.h | 40 #define F_SETLK 6 macro
|
/external/toybox/lib/ |
D | password.c | 138 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password() 183 fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
|
/external/v8/tools/gyp/pylib/gyp/ |
D | flock_tool.py | 49 fcntl.fcntl(fd, fcntl.F_SETLK, op)
|
/external/valgrind/memcheck/tests/ |
D | file_locking.c | 33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 106 #define F_SETLK 6 macro
|
/external/bison/m4/ |
D | fcntl.m4 | 15 # - F_GETLK, F_SETLK, F_SETLKW
|
/external/strace/ |
D | fcntl.c | 107 case F_SETLK: in print_fcntl()
|
D | NEWS | 467 * 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/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions.cc | 201 F_SETLK, in RestrictFcntlCommands()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 361 if (!probe && lck_type != F_SETLK) { in tdb_brlock() 488 return _tdb_lock(tdb, list, ltype, F_SETLK); in tdb_lock_nonblock() 714 return _tdb_lockall(tdb, F_WRLCK, F_SETLK); in tdb_lockall_nonblock() 732 return _tdb_lockall(tdb, F_RDLCK, F_SETLK); in tdb_lockall_read_nonblock() 802 return tdb->methods->tdb_brlock(tdb, off, F_WRLCK, F_SETLK, 1, 1); in tdb_write_lock_record() 811 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record() 3884 (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { in tdb_open_ex() 3943 if (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_UNLCK, F_SETLK, 0, 1) == -1) { in tdb_open_ex()
|
/external/libchrome/base/files/ |
D | file_posix.cc | 79 if (HANDLE_EINTR(fcntl(file, F_SETLK, &lock)) == -1) in CallFcntlFlock()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 414 fcntl(state_fd, F_SETLK, &fl); in get_clock()
|
/external/valgrind/include/vki/ |
D | vki-darwin.h | 287 #define VKI_F_SETLK F_SETLK
|
D | vki-solaris.h | 520 #define VKI_F_SETLK F_SETLK
|
/external/valgrind/coregrind/ |
D | vgdb.c | 336 if (fcntl(fd, F_SETLK, &fl) < 0) { in acquire_lock()
|
/external/sqlite/dist/ |
D | sqlite3.c | 27317 }else if( op==F_SETLK ){ 27339 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ 28104 rc = osFcntl(pFile->h, F_SETLK, &lock); 28112 rc = osFcntl(pFile->h, F_SETLK, pLock); 30776 lkType = (pFile->ctrlFlags & UNIXFILE_BLOCK)!=0 ? F_SETLKW : F_SETLK;
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 27299 }else if( op==F_SETLK ){ 27321 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ 28086 rc = osFcntl(pFile->h, F_SETLK, &lock); 28094 rc = osFcntl(pFile->h, F_SETLK, pLock); 30758 lkType = (pFile->ctrlFlags & UNIXFILE_BLOCK)!=0 ? F_SETLKW : F_SETLK;
|