Home
last modified time | relevance | path

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

123

/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.c614 flock.l_whence = thiscase->c_whence; in dochild()
641 if (flock.l_whence != thiscase->c_whence) { in dochild()
645 flock.l_whence, thiscase->c_whence); in dochild()
700 flock.l_whence = thiscase->c_whence; in dochild()
795 flock.l_whence = thiscase->a_whence; in run_test()
809 flock.l_whence = thiscase->b_whence; in run_test()
870 flock.l_whence = 0; in run_test()
1028 flock.l_whence = -1; in main()
1067 flock.l_whence = thiscase->a_whence; in main()
1124 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()
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()
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()
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()
/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.h197 short l_whence; member
212 short l_whence; member
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.c176 request.l_whence = SEEK_SET; in validationResultats()
286 request->l_whence = SEEK_SET; in lockWholeFile()
412 request->l_type, request->l_whence, start, len, pid); in serialiseFLock()
431 &(request->l_type), &(request->l_whence), &start, &len, &pid); in unSerialiseFLock()
733 request.l_whence = SEEK_SET; in maitre()
906 request.l_whence = SEEK_SET; in esclave()
934 request.l_whence = SEEK_SET; in esclave()
/external/strace/mpers-m32/
Dstruct_flock64.h6 int16_t l_whence; member
Dstruct_flock.h6 int16_t l_whence; member
/external/strace/mpers-mx32/
Dstruct_flock64.h6 int16_t l_whence; member
Dstruct_flock.h6 int16_t l_whence; member
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h65 short l_whence; member
/external/vboot_reference/futility/
Dfutility.c77 lock.l_whence = SEEK_SET; in log_close()
114 lock.l_whence = SEEK_END; in log_open()
/external/valgrind/none/tests/
Dmmap_fcntl_bug.c39 fl.l_whence = SEEK_SET; in main()

123