/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 160 FAIL(fl1.l_start != fl2.l_start); in test1() 194 fl.l_start = 0; in test2() 265 fl.l_start = 0; in test3() 334 fl.l_start = 0; in test4() 372 FAIL(fl.l_start != 0); in test4() 420 fl.l_start = 0; in test5() 436 fl.l_start = 1; in test5() 439 fl.l_start = 0; in test5() 459 fl.l_start = 1; in test5() 467 fl.l_start = 0; in test5() [all …]
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | locks.cc | 227 fl.l_start = 10; in TEST_F() 277 fl.l_start = 10; in TEST_F() 292 ASSERT_EQ(fl.l_start, 10); in TEST_F() 340 fl.l_start = 10; in TEST_F() 347 EXPECT_EQ(100, fl.l_start); in TEST_F() 399 fl.l_start = 0; in TEST_F() 413 EXPECT_EQ(fl.l_start, 400); in TEST_F() 464 fl.l_start = -512; in TEST_F() 478 EXPECT_EQ(fl.l_start, 400); in TEST_F() 503 fl.l_start = 10; in TEST_F() [all …]
|
H A D | flush.cc | 229 fl.l_start = 0; in TEST_F()
|
H A D | release.cc | 226 fl.l_start = 0; in TEST_F()
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_file.c | 42 lock.l_start = 0; in zed_file_lock() 69 lock.l_start = 0; in zed_file_unlock() 95 lock.l_start = 0; in zed_file_is_locked()
|
/freebsd/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 760 l.l_start = l.l_len = 1024; in fcntl_lock() 797 int a = ((const struct flock *)p)->l_start; in flock_compare() 798 int b = ((const struct flock *)q)->l_start; in flock_compare() 831 if (l.l_start > start) { in fcntl_getlocks() 833 fcntl_getlocks(fildes, start, l.l_start - start, lock, end); in fcntl_getlocks() 844 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end); in fcntl_getlocks() 845 } else if (l.l_start + l.l_len < start + len) { in fcntl_getlocks() 846 len -= l.l_start + l.l_len - start; in fcntl_getlocks() 847 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end); in fcntl_getlocks() 936 ATF_CHECK_EQ(result[j].l_start, expect[j].l_start ); in fcntl_getlock_pids()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | kern.c | 278 arg4.alock.l_offset = msg->lm_fl.l_start; in test_request() 302 arg.alock.l_offset = msg->lm_fl.l_start; in test_request() 348 arg4.alock.l_offset = msg->lm_fl.l_start; in lock_request() 373 arg.alock.l_offset = msg->lm_fl.l_start; in lock_request() 418 arg4.alock.l_offset = msg->lm_fl.l_start; in unlock_request() 439 arg.alock.l_offset = msg->lm_fl.l_start; in unlock_request() 590 (unsigned long long)mp->lm_fl.l_start, in show()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 304 off_t l_start; /* starting offset */ member 318 off_t l_start; /* starting offset */ member
|
/freebsd/sys/nlm/ |
H A D | nlm_advlock.c | 270 KASSERT(fl->l_start == 0 && fl->l_len == 0, in nlm_advlock_internal() 710 newfl.l_start = fl->l_start; in nlm_record_lock() 1096 fl->l_start = h->l_offset; in nlm_getlock() 1229 || (fl->l_start > 0 && size > OFF_MAX - fl->l_start)) in nlm_init_lock() 1231 start = size + fl->l_start; in nlm_init_lock() 1233 start = fl->l_start; in nlm_init_lock()
|
H A D | nlm_prot_impl.c | 1896 fl.l_start = argp->alock.l_offset; in nlm_do_test() 1940 result->stat.nlm4_testrply_u.holder.l_offset = fl.l_start; in nlm_do_test() 2003 fl.l_start = argp->alock.l_offset; in nlm_do_lock() 2034 if (af->af_fl.l_start == fl.l_start in nlm_do_lock() 2182 fl.l_start = argp->alock.l_offset; in nlm_do_cancel() 2199 if (af->af_fl.l_start == fl.l_start in nlm_do_cancel() 2271 fl.l_start = argp->alock.l_offset; in nlm_do_unlock()
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 201 fl.l_start = 0; in TEST() 228 fl.l_start = 0; in TEST() 238 fl.l_start = 0; in TEST() 252 fl.l_start = 0; in TEST()
|
/freebsd/lib/libc/sys/ |
H A D | lockf.c | 46 fl.l_start = 0; in lockf()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1195 l_off_t l_start; member 1222 bsd_flock->l_start = (off_t)linux_flock->l_start; in linux_to_bsd_flock() 1243 linux_flock->l_start = (l_off_t)bsd_flock->l_start; in bsd_to_linux_flock() 1252 l_loff_t l_start; member 1279 bsd_flock->l_start = (off_t)linux_flock->l_start; in linux_to_bsd_flock64() 1300 linux_flock->l_start = (l_loff_t)bsd_flock->l_start; in bsd_to_linux_flock64()
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | randfree_file.c | 89 fl.l_start = start_off; in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingUtil.c | 141 s_flock.l_start = 0; in lprofLockFd() 166 s_flock.l_start = 0; in lprofUnlockFd()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | LockFilePosix.cpp | 25 fl.l_start = start; in fileLock()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | flock.c | 51 arg.l_start = 0; in rk_flock()
|
/freebsd/sys/kern/ |
H A D | kern_descrip.c | 434 fl.l_start = ofl.l_start; in kern_fcntl_freebsd() 471 ofl.l_start = fl.l_start; in kern_fcntl_freebsd() 647 (flp->l_start > 0 && in kern_fcntl() 648 foffset > OFF_MAX - flp->l_start)) { in kern_fcntl() 653 flp->l_start += foffset; in kern_fcntl() 729 flp->l_start = 0; in kern_fcntl() 757 if ((flp->l_start > 0 && in kern_fcntl() 758 foffset > OFF_MAX - flp->l_start) || in kern_fcntl() [all...] |
H A D | kern_lockf.c | 445 start = fl->l_start; in lf_advlockasync() 450 (fl->l_start > 0 && size > OFF_MAX - fl->l_start)) in lf_advlockasync() 452 start = size + fl->l_start; in lf_advlockasync() 1574 fl->l_start = block->lf_start; in lf_getlock() 1884 ldesc->fl.l_start = lf->lf_start; in lf_iteratelocks_sysid() 1951 ldesc->fl.l_start = lf->lf_start; in lf_iteratelocks_vnode()
|
/freebsd/tools/test/stress2/misc/ |
H A D | exlock2.sh | 127 fl.l_start = 0;
|
H A D | fcntl.sh | 90 fl.l_start = pos;
|
H A D | nullfs22.sh | 110 fl.l_start = pos;
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 87 fl.l_start = random_uint32() % filesize; in trylocks()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_vnops.c | 919 start = fl->l_start; in smbfs_advlock() 924 (fl->l_start > 0 && size > OFF_MAX - fl->l_start)) in smbfs_advlock() 926 start = size + fl->l_start; in smbfs_advlock()
|
/freebsd/usr.bin/at/ |
H A D | at.c | 248 lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0; in writefile() 307 lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0; in writefile()
|