/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl_common.h | 20 short l_whence; member 45 .l_whence = lck->l_whence, in fcntl_compat() 54 lck->l_whence = l64.l_whence; in fcntl_compat() 66 l64.l_type, l64.l_whence, l64.l_start, l64.l_len, l64.l_pid); in fcntl_compat()
|
H A D | fcntl05.c | 44 TST_EXP_EQ_LI(flocks.l_whence, SEEK_CUR); in verify_fcntl() 55 flocks.l_whence = SEEK_CUR; in setup()
|
H A D | fcntl14.c | 615 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 in main() [all...] |
H A D | fcntl17.c | 290 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()
|
H A D | fcntl36.c | 76 .l_whence = SEEK_SET, in fn_ofd_w() 116 .l_whence = SEEK_SET, in fn_posix_w() 155 .l_whence = SEEK_SET, in fn_ofd_r() 216 .l_whence = SEEK_SET, in fn_posix_r()
|
H A D | fcntl15.c | 48 .l_whence = 0, 55 .l_whence = 0,
|
H A D | fcntl21.c | 154 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()
|
H A D | fcntl20.c | 146 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()
|
H A D | fcntl19.c | 147 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()
|
H A D | fcntl11.c | 133 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()
|
H A D | fcntl13.c | 15 * - EINVAL when cmd argument is F_SETLK and flock.l_whence is not equal to 53 flock.l_whence = -1; in setup()
|
H A D | fcntl22.c | 114 fl.l_whence = 0; in setup()
|
H A D | fcntl10.c | 227 flocks.l_whence = 1; in setup()
|
H A D | fcntl09.c | 226 flocks.l_whence = 1; in setup()
|
H A D | fcntl06.c | 143 fl.l_whence = whence; in do_lock()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | file_lock.c | 73 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()
|
/third_party/ltp/testcases/network/nfs/nfslock01/ |
H A D | nfs_flock_func.c | 18 lock.l_whence = whence; in lock_reg() 30 lock.l_whence = whence; in lock_test()
|
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/ |
H A D | fcntl_fcntl_test.cpp | 62 fileLock.l_whence = SEEK_SET; in HWTEST_F() 83 fileLock.l_whence = SEEK_SET; in HWTEST_F() 188 fileLock.l_whence = SEEK_SET; in HWTEST_F() 210 fileLock.l_whence = SEEK_SET; in HWTEST_F()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.c | 163 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 11-1.c | 32 .l_whence = SEEK_SET, in child() 70 .l_whence = SEEK_SET, in main()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_fcntl.cpp | 80 fdLock.l_whence = SEEK_SET; in Bm_function_Fcntl_setlkw() 128 fdLock.l_whence = SEEK_SET; in Bm_function_Fcntl_setlk() 156 fdLock.l_whence = SEEK_SET; in Bm_function_Fcntl_getlk()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | lockf.c | 10 .l_whence = SEEK_CUR, in lockf()
|
/third_party/musl/src/misc/ |
H A D | lockf.c | 10 .l_whence = SEEK_CUR, in lockf()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 175 flk.l_whence = SEEK_SET; in ntfs_device_unix_io_open() 220 flk.l_whence = SEEK_SET; in ntfs_device_unix_io_close()
|
/third_party/musl/libc-test/src/functional/ |
H A D | fcntl.c | 24 fl.l_whence = SEEK_SET; in main()
|