Home
last modified time | relevance | path

Searched refs:l_type (Results 1 – 25 of 76) sorted by relevance

1234

/external/ltp/lib/
Dfile_lock.c78 flocks.l_type = F_UNLCK; in file_lock()
80 flocks.l_type = F_WRLCK; in file_lock()
82 flocks.l_type = F_RDLCK; in file_lock()
95 fd, cmd, flocks.l_type, flocks.l_whence, in file_lock()
150 flocks.l_type = F_UNLCK; in record_lock()
152 flocks.l_type = F_WRLCK; in record_lock()
154 flocks.l_type = F_RDLCK; in record_lock()
167 fd, cmd, flocks.l_type, flocks.l_whence, in record_lock()
/external/strace/
Dfetch_struct_flock.c48 && FLOCK_MEMBERS_EQ(type, l_type) \
66 pfl->l_type = mfl.l_type; in MPERS_PRINTER_DECL()
86 pfl->l_type = mfl.l_type; in MPERS_PRINTER_DECL()
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_func.c10 lock.l_type = type; in lock_reg()
22 lock.l_type = type; in lock_test()
32 if (lock.l_type == F_UNLCK) in lock_test()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c115 flock.l_type = F_WRLCK; in dochild1()
252 flock.l_type = F_WRLCK; in dochild2()
265 flock.l_type = F_WRLCK; in dochild2()
316 flock.l_type = F_WRLCK; in dochild2()
329 flock.l_type = F_WRLCK; in dochild2()
416 flock.l_type = F_WRLCK; in run_test()
430 flock.l_type = F_WRLCK; in run_test()
Dfcntl14.c613 flock.l_type = thiscase->c_type; in dochild()
633 if (flock.l_type != F_UNLCK) { in dochild()
637 flock.l_type, F_UNLCK); in dochild()
683 if (flock.l_type != thiscase->a_type) { in dochild()
687 test + 1, flock.l_type, in dochild()
699 flock.l_type = thiscase->c_type; in dochild()
796 flock.l_type = thiscase->a_type; in run_test()
810 flock.l_type = thiscase->b_type; in run_test()
871 flock.l_type = F_UNLCK; in run_test()
1029 flock.l_type = F_WRLCK; in main()
[all …]
Dfcntl19.c146 fl.l_type = type; in do_lock()
155 fl->l_type = type; in do_test()
169 if (fl->l_type != type) { in compare_lock()
171 str_type(type), str_type(fl->l_type)); in compare_lock()
259 } else if (l->l_type == (short)STOP) { in child_get()
269 fl.l_type = STOP; in stop_child()
Dfcntl20.c145 fl.l_type = type; in do_lock()
154 fl->l_type = type; in do_test()
168 if (fl->l_type != type) { in compare_lock()
170 str_type(type), str_type(fl->l_type)); in compare_lock()
258 } else if (l->l_type == (short)STOP) { in child_get()
268 fl.l_type = STOP; in stop_child()
Dfcntl11.c132 fl.l_type = type; in do_lock()
141 fl->l_type = type; in do_test()
155 if (fl->l_type != type) in compare_lock()
157 str_type(type), str_type(fl->l_type)); in compare_lock()
222 if (l->l_type == (short)STOP) in child_get()
231 fl.l_type = STOP; in stop_child()
Dfcntl21.c153 fl.l_type = type; in do_lock()
162 fl->l_type = type; in do_test()
176 if (fl->l_type != type) { in compare_lock()
178 str_type(type), str_type(fl->l_type)); in compare_lock()
266 } else if (l->l_type == (short)STOP) { in child_get()
276 fl.l_type = STOP; in stop_child()
Dfcntl17.c289 fl.l_type = /* lock->l_type */ F_RDLCK; in do_test()
299 if (fl.l_type != lock->l_type) { in do_test()
301 str_type(lock->l_type), str_type(fl.l_type)); in do_test()
Dfcntl10.c154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main()
174 flocks.l_type = F_UNLCK; in main()
Dfcntl09.c154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main()
176 flocks.l_type = F_UNLCK; in main()
Dfcntl34.c76 lck.l_type = F_WRLCK; in thread_fn_01()
83 lck.l_type = F_UNLCK; in thread_fn_01()
/external/ppp/pppd/plugins/radius/
Dlock.c23 fl.l_type = F_WRLCK; in do_lock_exclusive()
41 fl.l_type = F_UNLCK; in do_unlock()
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.c175 request.l_type = F_WRLCK; in validationResultats()
182 if (request.l_type != F_UNLCK) in validationResultats()
412 request->l_type, request->l_whence, start, len, pid); in serialiseFLock()
431 &(request->l_type), &(request->l_whence), &start, &len, &pid); in unSerialiseFLock()
666 request.l_type = F_RDLCK; in maitre()
672 request.l_type = F_WRLCK; in maitre()
693 request.l_type = F_RDLCK; in maitre()
699 request.l_type = F_WRLCK; in maitre()
905 request.l_type = F_RDLCK; in esclave()
933 request.l_type = F_WRLCK; in esclave()
/external/strace/tests/
Dfcntl64.c43 .l_type = F_RDLCK, in test_flock64_einval()
64 .l_type = F_RDLCK, in test_flock64()
Dstruct_flock.c57 .l_type = F_RDLCK, in test_flock_einval()
74 .l_type = F_RDLCK, in test_flock()
/external/strace/tests-mx32/
Dfcntl64.c43 .l_type = F_RDLCK, in test_flock64_einval()
64 .l_type = F_RDLCK, in test_flock64()
Dstruct_flock.c57 .l_type = F_RDLCK, in test_flock_einval()
74 .l_type = F_RDLCK, in test_flock()
/external/strace/tests-m32/
Dfcntl64.c43 .l_type = F_RDLCK, in test_flock64_einval()
64 .l_type = F_RDLCK, in test_flock64()
Dstruct_flock.c57 .l_type = F_RDLCK, in test_flock_einval()
74 .l_type = F_RDLCK, in test_flock()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h196 short l_type; member
211 short l_type; member
/external/toybox/toys/pending/
Duserdel.c41 lock.l_type = F_WRLCK; in update_groupfiles()
48 lock.l_type = F_UNLCK; //unlocking at a later stage in update_groupfiles()
/external/strace/mpers-m32/
Dstruct_flock64.h5 int16_t l_type; member
Dstruct_flock.h5 int16_t l_type; member

1234