/external/ltp/lib/ |
D | file_lock.c | 78 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/ |
D | fetch_struct_flock.c | 48 && 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/ |
D | nfs_flock_func.c | 10 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/ |
D | fcntl15.c | 115 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()
|
D | fcntl14.c | 613 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 …]
|
D | fcntl19.c | 146 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()
|
D | fcntl20.c | 145 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()
|
D | fcntl11.c | 132 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()
|
D | fcntl21.c | 153 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()
|
D | fcntl17.c | 289 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()
|
D | fcntl10.c | 154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main() 174 flocks.l_type = F_UNLCK; in main()
|
D | fcntl09.c | 154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main() 176 flocks.l_type = F_UNLCK; in main()
|
D | fcntl34.c | 76 lck.l_type = F_WRLCK; in thread_fn_01() 83 lck.l_type = F_UNLCK; in thread_fn_01()
|
/external/ppp/pppd/plugins/radius/ |
D | lock.c | 23 fl.l_type = F_WRLCK; in do_lock_exclusive() 41 fl.l_type = F_UNLCK; in do_unlock()
|
/external/ltp/testcases/network/nfsv4/locks/ |
D | locktests.c | 175 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/ |
D | fcntl64.c | 43 .l_type = F_RDLCK, in test_flock64_einval() 64 .l_type = F_RDLCK, in test_flock64()
|
D | struct_flock.c | 57 .l_type = F_RDLCK, in test_flock_einval() 74 .l_type = F_RDLCK, in test_flock()
|
/external/strace/tests-mx32/ |
D | fcntl64.c | 43 .l_type = F_RDLCK, in test_flock64_einval() 64 .l_type = F_RDLCK, in test_flock64()
|
D | struct_flock.c | 57 .l_type = F_RDLCK, in test_flock_einval() 74 .l_type = F_RDLCK, in test_flock()
|
/external/strace/tests-m32/ |
D | fcntl64.c | 43 .l_type = F_RDLCK, in test_flock64_einval() 64 .l_type = F_RDLCK, in test_flock64()
|
D | struct_flock.c | 57 .l_type = F_RDLCK, in test_flock_einval() 74 .l_type = F_RDLCK, in test_flock()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 196 short l_type; member 211 short l_type; member
|
/external/toybox/toys/pending/ |
D | userdel.c | 41 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/ |
D | struct_flock64.h | 5 int16_t l_type; member
|
D | struct_flock.h | 5 int16_t l_type; member
|