Home
last modified time | relevance | path

Searched refs:F_SETLKW (Results 1 – 25 of 41) sorted by relevance

12

/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.h17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW)
19 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLKW)
21 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLKW)
/external/strace/xlat/
Dfcntlcmds.h23 #if !(defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW))
24 # define F_SETLKW 7 macro
100 XLAT(F_SETLKW),
Dfcntlcmds.in9 F_SETLKW 7
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl10.c159 TEST(fcntl(fd, F_SETLKW, &flocks)); in main()
178 TEST(fcntl(fd, F_SETLKW, &flocks)); in main()
Dfcntl13.c78 if (fcntl(1, F_SETLKW, (void *)-1) != -1) { in main()
Dfcntl17.c233 if (fcntl(file_fd, F_SETLKW, &lock4) < 0) { in do_child2()
271 if (fcntl(file_fd, F_SETLKW, &lock5) < 0) { in do_child3()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c71 cmd = F_SETLKW; in file_lock()
143 cmd = F_SETLKW; in record_lock()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c388 if (tdb_brlock(tdb, offset, F_WRLCK, F_SETLKW, 1, len) == 0) { in tdb_brlock_upgrade()
481 ret = _tdb_lock(tdb, list, ltype, F_SETLKW); in tdb_lock()
555 F_SETLKW, 0, 1); in tdb_unlock()
592 F_SETLKW, 0, 1) == -1) { in tdb_transaction_lock()
610 ret = tdb->methods->tdb_brlock(tdb, TRANSACTION_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_unlock()
649 if (op == F_SETLKW) { in _tdb_lockall()
685 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, in _tdb_unlockall()
700 return _tdb_lockall(tdb, F_WRLCK, F_SETLKW); in tdb_lockall()
706 return _tdb_lockall(tdb, F_WRLCK | TDB_MARK_LOCK, F_SETLKW); in tdb_lockall_mark()
730 return _tdb_lockall(tdb, F_RDLCK, F_SETLKW); in tdb_lockall_read()
[all …]
/external/python/cpython2/Modules/
Dfcntlmodule.c288 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock()
369 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf()
480 #ifdef F_SETLKW in all_ins()
481 if (ins(d, "F_SETLKW", (long)F_SETLKW)) return -1; in all_ins()
/external/python/cpython2/Lib/test/
Dtest_fcntl.py77 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
87 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
/external/libdaemon/libdaemon/
Ddpid.c83 if (fcntl(fd, F_SETLKW, &f) < 0) { in lock_file()
88 if (fcntl(fd, F_SETLKW, &f) >= 0) in lock_file()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h41 #define F_SETLKW 7 macro
/external/vboot_reference/futility/
Dfutility.c78 if (fcntl(log_fd, F_SETLKW, &lock)) in log_close()
116 ret = fcntl(log_fd, F_SETLKW, &lock); /* this blocks */ in log_open()
/external/strace/tests/
Dstruct_flock.c72 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock()
/external/strace/tests-m32/
Dstruct_flock.c72 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock()
/external/strace/tests-mx32/
Dstruct_flock.c72 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h107 #define F_SETLKW 7 macro
/external/ltp/pan/
Dzoolib.c320 ret = fcntl(fileno(fp), F_SETLKW, &zlock); in zoo_lock()
356 ret = fcntl(fileno(fp), F_SETLKW, &zlock); in zoo_unlock()
/external/compiler-rt/lib/profile/
DInstrProfilingUtil.c94 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofOpenFileEx()
DCMakeLists.txt35 fcntl(fd, F_SETLKW, &s_flock);
/external/python/cpython2/Lib/plat-irix5/
DFILE.py177 F_SETLKW = 7 variable
/external/minijail/linux-x86/
Dlibconstants.gen.c626 #ifdef F_SETLKW
627 { "F_SETLKW", (unsigned long) F_SETLKW },
/external/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate04.c207 if (fcntl(fd, F_SETLKW, &flocks) < 0) in dochild()
/external/bison/m4/
Dfcntl.m415 # - F_GETLK, F_SETLK, F_SETLKW
/external/strace/
Dfcntl.c111 case F_SETLKW: in print_fcntl()

12