Home
last modified time | relevance | path

Searched refs:F_SETLK (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/test/Sema/
Dwarn-type-safety.c123 #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/xlat/
Dfcntlcmds.h22 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
23 XLAT(F_SETLK),
88 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
89 XLAT(F_SETLK),
Dfcntlcmds.in7 F_SETLK
29 F_SETLK
/external/ppp/pppd/plugins/radius/
Dlock.c27 res = fcntl(fd, F_SETLK, &fl); in do_lock_exclusive()
45 return fcntl(fd, F_SETLK, &fl); in do_unlock()
/external/valgrind/main/none/tests/
Dmmap_fcntl_bug.c44 if (fcntl(fd, F_SETLK, &fl) != 0) in main()
56 if (fcntl(fd, F_SETLK, &fl) == 0) in main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h40 #define F_SETLK 6 macro
/external/chromium_org/tools/gyp/pylib/gyp/
Dflock_tool.py44 fcntl.fcntl(fd, fcntl.F_SETLK, op)
/external/chromium_org/chrome/browser/importer/
Dfirefox_profile_lock_posix.cc113 } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { in LockWithFcntl()
/external/valgrind/main/memcheck/tests/
Dfile_locking.c33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
/external/strace/
Ddesc.c52 #if defined(F_SETLK64) && F_SETLK64 + 0 != F_SETLK
170 case F_SETLK: case F_SETLKW: in sys_fcntl()
201 case F_SETLK: case F_SETLKW: in sys_fcntl()
DNEWS299 * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
DChangeLog-CVS294 * desc.c (printflock): Fix display of fcntl(F_SETLK) on
/external/chromium_org/third_party/cython/src/Cython/Includes/posix/
Dfcntl.pxd11 enum: F_SETLK
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h106 #define F_SETLK 6 macro
/external/bison/m4/
Dfcntl.m415 # - F_GETLK, F_SETLK, F_SETLKW
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc182 F_SETLK, in RestrictFcntlCommands()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c361 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/chromium_org/base/files/
Dfile_posix.cc82 if (HANDLE_EINTR(fcntl(file, do_lock ? F_SETLK : F_UNLCK, &lock)) == -1) in CallFctnlFlock()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c414 fcntl(state_fd, F_SETLK, &fl); in get_clock()
/external/chromium_org/third_party/leveldatabase/src/util/
Denv_posix.cc267 return fcntl(fd, F_SETLK, &f); in LockOrUnlock()
/external/chromium_org/third_party/sqlite/src/src/
Dos_unix.c543 }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/
Dvki-darwin.h279 #define VKI_F_SETLK F_SETLK
/external/valgrind/main/coregrind/
Dvgdb.c336 if (fcntl(fd, F_SETLK, &fl) < 0) { in acquire_lock()
/external/chromium_org/third_party/lcov/
Ddescriptions.tests70 Basic test for fcntl(2) using F_SETLK argument.
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c24684 }else if( op==F_SETLK ){
24706 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
25406 rc = osFcntl(pFile->h, F_SETLK, &lock);
25414 rc = osFcntl(pFile->h, F_SETLK, pLock);
27786 rc = osFcntl(pShmNode->h, F_SETLK, &f);

12