Home
last modified time | relevance | path

Searched refs:l_whence (Results 1 – 25 of 80) sorted by relevance

1234

/external/python/cpython2/Lib/
Dposixfile.py165 l_whence = 0
174 l_len, l_start, l_whence = args
187 l_start, l_len, os.getpid(), l_type, l_whence)
190 l_type, l_whence, l_start, l_len, 0, 0, 0)
193 l_type, l_whence, l_start, l_len, 0, 0)
202 l_start, l_len, l_pid, l_type, l_whence = \
205 l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
208 l_type, l_whence, l_start, l_len, l_pid, l_sysid = \
211 l_type, l_whence, l_start, l_len, l_sysid, l_pid = \
216 return 'r', l_len, l_start, l_whence, l_pid
[all …]
/external/strace/
Dfetch_struct_flock.c50 && FLOCK_MEMBERS_EQ(type, l_whence) \
68 pfl->l_whence = mfl.l_whence; in MPERS_PRINTER_DECL()
88 pfl->l_whence = mfl.l_whence; in MPERS_PRINTER_DECL()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c73 flocks.l_whence = 0; in file_lock()
95 fd, cmd, flocks.l_type, flocks.l_whence, in file_lock()
145 flocks.l_whence = 0; in record_lock()
167 fd, cmd, flocks.l_type, flocks.l_whence, in record_lock()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c116 flock.l_whence = 0; in dochild1()
253 flock.l_whence = 0; in dochild2()
266 flock.l_whence = 0; in dochild2()
317 flock.l_whence = 0; in dochild2()
330 flock.l_whence = 0; in dochild2()
417 flock.l_whence = 0; in run_test()
431 flock.l_whence = 0; in run_test()
Dfcntl14.c615 flock.l_whence = thiscase->c_whence; in dochild()
642 if (flock.l_whence != thiscase->c_whence) { in dochild()
646 flock.l_whence, thiscase->c_whence); in dochild()
701 flock.l_whence = thiscase->c_whence; in dochild()
793 flock.l_whence = thiscase->a_whence; in run_test()
807 flock.l_whence = thiscase->b_whence; in run_test()
868 flock.l_whence = 0; in run_test()
1025 flock.l_whence = -1; in main()
1063 flock.l_whence = thiscase->a_whence; in main()
1120 flock.l_whence = 0; in main()
Dfcntl17.c290 fl.l_whence = lock->l_whence; in do_test()
305 if (fl.l_whence != lock->l_whence) { in do_test()
307 lock->l_whence, fl.l_whence); in do_test()
Dfcntl36.c77 .l_whence = SEEK_SET, in fn_ofd_w()
117 .l_whence = SEEK_SET, in fn_posix_w()
156 .l_whence = SEEK_SET, in fn_ofd_r()
217 .l_whence = SEEK_SET, in fn_posix_r()
Dfcntl19.c147 fl.l_whence = whence; in do_lock()
156 fl->l_whence = whence; in do_test()
175 if (fl->l_whence != whence) { in compare_lock()
177 whence, fl->l_whence); in compare_lock()
Dfcntl20.c146 fl.l_whence = whence; in do_lock()
155 fl->l_whence = whence; in do_test()
174 if (fl->l_whence != whence) { in compare_lock()
176 whence, fl->l_whence); in compare_lock()
Dfcntl11.c133 fl.l_whence = whence; in do_lock()
142 fl->l_whence = whence; in do_test()
159 if (fl->l_whence != whence) in compare_lock()
161 whence, fl->l_whence); in compare_lock()
Dfcntl21.c154 fl.l_whence = whence; in do_lock()
163 fl->l_whence = whence; in do_test()
182 if (fl->l_whence != whence) { in compare_lock()
184 whence, fl->l_whence); in compare_lock()
Dfcntl05.c173 flocks.l_whence = 1; in setup()
Dfcntl22.c114 fl.l_whence = 0; in setup()
Dfcntl13.c99 flock.l_whence = -1; in main()
Dfcntl06.c143 fl.l_whence = whence; in do_lock()
/external/ppp/pppd/plugins/radius/
Dlock.c24 fl.l_whence = fl.l_start = 0; in do_lock_exclusive()
42 fl.l_whence = fl.l_start = 0; in do_unlock()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_func.c12 lock.l_whence = whence; in lock_reg()
24 lock.l_whence = whence; in lock_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D11-1.c32 .l_whence = SEEK_SET, in child()
70 .l_whence = SEEK_SET, in main()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h198 short l_whence; member
213 short l_whence; member
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.c163 request.l_whence = SEEK_SET; in validationResults()
265 request->l_whence = SEEK_SET; in lockWholeFile()
392 request->l_type, request->l_whence, start, len, pid); in serializeFLock()
411 &(request->l_type), &(request->l_whence), &start, &len, &pid); in unSerializeFLock()
674 request.l_whence = SEEK_SET; in master()
835 request.l_whence = SEEK_SET; in slave()
861 request.l_whence = SEEK_SET; in slave()
/external/openssh/openbsd-compat/
Dbsd-flock.c69 fl.l_whence = SEEK_SET; in flock()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingUtil.c129 s_flock.l_whence = SEEK_SET; in lprofLockFd()
154 s_flock.l_whence = SEEK_SET; in lprofUnlockFd()
/external/vboot_reference/futility/
Dfutility.c77 lock.l_whence = SEEK_SET; in log_close()
114 lock.l_whence = SEEK_END; in log_open()
/external/llvm-project/lldb/source/Host/posix/
DLockFilePosix.cpp26 fl.l_whence = SEEK_SET; in fileLock()
/external/ltp/pan/
Dzoolib.c308 zlock.l_whence = zlock.l_start = zlock.l_len = 0; in zoo_lock()
344 zlock.l_whence = zlock.l_start = zlock.l_len = 0; in zoo_unlock()

1234