Home
last modified time | relevance | path

Searched refs:l_len (Results 1 – 25 of 59) sorted by relevance

123

/external/python/cpython2/Lib/
Dposixfile.py167 l_len = 0
170 l_len = args[0]
172 l_len, l_start = args
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 = \
[all …]
/external/strace/
Dfetch_struct_flock.c52 && FLOCK_MEMBERS_EQ(type, l_len) \
70 pfl->l_len = mfl.l_len; in MPERS_PRINTER_DECL()
90 pfl->l_len = mfl.l_len; in MPERS_PRINTER_DECL()
/external/strace/tests-m32/
Dfcntl-common.c43 # define TYPEOF_FLOCK_OFF_T typeof(((struct_kernel_flock *) NULL)->l_len)
68 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock_einval()
73 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock_einval()
92 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock64_einval()
97 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock64_einval()
114 fl->l_len = FILE_LEN; in test_flock()
144 fl->l_len = FILE_LEN; in test_flock64_ofd()
Dfcntl.c44 .l_len = 0xdefaced2cafef00dULL in test_flock64_undecoded()
Dfcntl64.c47 fl->l_len = FILE_LEN; in test_flock64_lk64()
/external/strace/tests/
Dfcntl-common.c43 # define TYPEOF_FLOCK_OFF_T typeof(((struct_kernel_flock *) NULL)->l_len)
68 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock_einval()
73 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock_einval()
92 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock64_einval()
97 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock64_einval()
114 fl->l_len = FILE_LEN; in test_flock()
144 fl->l_len = FILE_LEN; in test_flock64_ofd()
Dfcntl.c44 .l_len = 0xdefaced2cafef00dULL in test_flock64_undecoded()
/external/strace/tests-mx32/
Dfcntl-common.c43 # define TYPEOF_FLOCK_OFF_T typeof(((struct_kernel_flock *) NULL)->l_len)
68 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock_einval()
73 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock_einval()
92 fl->l_len = (TYPEOF_FLOCK_OFF_T) 0xdefaced2cafef00dULL; in test_flock64_einval()
97 (intmax_t) fl->l_start, (intmax_t) fl->l_len, errstr); in test_flock64_einval()
114 fl->l_len = FILE_LEN; in test_flock()
144 fl->l_len = FILE_LEN; in test_flock64_ofd()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c75 flocks.l_len = 0; in file_lock()
96 (long long)flocks.l_start, (long long)flocks.l_len); in file_lock()
147 flocks.l_len = len; in record_lock()
168 (long long)flocks.l_start, (long long)flocks.l_len); in record_lock()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c118 flock.l_len = 5L; in dochild1()
255 flock.l_len = 5L; in dochild2()
268 flock.l_len = 5L; in dochild2()
319 flock.l_len = 5L; in dochild2()
332 flock.l_len = 5L; in dochild2()
419 flock.l_len = 5L; in run_test()
433 flock.l_len = 5L; in run_test()
Dfcntl14.c617 flock.l_len = thiscase->c_len; in dochild()
659 if (flock.l_len != thiscase->c_len) { in dochild()
663 test + 1, (int64_t) flock.l_len, in dochild()
703 flock.l_len = thiscase->c_len; in dochild()
795 flock.l_len = thiscase->a_len; in run_test()
809 flock.l_len = thiscase->b_len; in run_test()
870 flock.l_len = 0L; in run_test()
1027 flock.l_len = 0L; in main()
1065 flock.l_len = thiscase->a_len; in main()
1122 flock.l_len = 0L; in main()
Dfcntl17.c292 fl.l_len = lock->l_len; in do_test()
318 if (fl.l_len != lock->l_len) { in do_test()
321 PRId64, (int64_t) lock->l_len, (int64_t) fl.l_len); in do_test()
Dfcntl36.c94 .l_len = pa->length, in fn_ofd_w()
134 .l_len = pa->length, in fn_posix_w()
173 .l_len = pa->length, in fn_ofd_r()
234 .l_len = pa->length, in fn_posix_r()
Dfcntl19.c149 fl.l_len = len; in do_lock()
158 fl->l_len = len; in do_test()
187 if (fl->l_len != len) { in compare_lock()
190 len, (int64_t) fl->l_len); in compare_lock()
Dfcntl20.c148 fl.l_len = len; in do_lock()
157 fl->l_len = len; in do_test()
186 if (fl->l_len != len) { in compare_lock()
189 len, (int64_t) fl->l_len); in compare_lock()
Dfcntl11.c135 fl.l_len = len; in do_lock()
144 fl->l_len = len; in do_test()
167 if (fl->l_len != len) in compare_lock()
170 len, (int64_t) fl->l_len); in compare_lock()
Dfcntl21.c156 fl.l_len = len; in do_lock()
165 fl->l_len = len; in do_test()
194 if (fl->l_len != len) { in compare_lock()
197 len, (int64_t) fl->l_len); in compare_lock()
/external/ppp/pppd/plugins/radius/
Dlock.c25 fl.l_len = 0; /* 0 means "to end of file" */ in do_lock_exclusive()
43 fl.l_len = 0; /* 0 means "to end of file" */ in do_unlock()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_func.c13 lock.l_len = len; in lock_reg()
25 lock.l_len = len; in lock_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D11-1.c34 .l_len = 99 in child()
72 .l_len = 100, in main()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h200 __kernel_off_t l_len; member
215 __kernel_loff_t l_len; member
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.c165 request.l_len = 1; in validationResults()
268 request->l_len = 0; in lockWholeFile()
387 len = (int)request->l_len; in serializeFLock()
413 request->l_len = (off_t) len; in unSerializeFLock()
676 request.l_len = 1; in master()
837 request.l_len = 0; in slave()
863 request.l_len = 0; in slave()
/external/python/cpython3/Modules/
Dfcntlmodule.c318 l.l_whence = l.l_start = l.l_len = 0; in fcntl_flock_impl()
394 l.l_start = l.l_len = 0; in fcntl_lockf_impl()
408 l.l_len = PyLong_AsLong(lenobj); in fcntl_lockf_impl()
410 l.l_len = PyLong_Check(lenobj) ? in fcntl_lockf_impl()
/external/python/cpython2/Modules/
Dfcntlmodule.c286 l.l_whence = l.l_start = l.l_len = 0; in fcntl_flock()
344 l.l_start = l.l_len = 0; in fcntl_lockf()
358 l.l_len = PyInt_AsLong(lenobj); in fcntl_lockf()
360 l.l_len = PyLong_Check(lenobj) ? in fcntl_lockf()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h68 __kernel_off_t l_len; member

123