| /freebsd-14.2/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() 420 fl.l_start = 0; in test5() 459 fl.l_start = 1; in test5() 467 fl.l_start = 0; in test5() 506 fl.l_start = 0; in test6() 562 fl.l_start = 1; in test6() 570 fl.l_start = 0; in test6() [all …]
|
| /freebsd-14.2/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() 340 fl.l_start = 10; in TEST_F() 399 fl.l_start = 0; in TEST_F() 503 fl.l_start = 10; in TEST_F() 529 fl.l_start = 10; in TEST_F() 555 fl.l_start = 10; in TEST_F() 581 fl.l_start = 10; in TEST_F() 609 fl.l_start = 0; in TEST_F() 664 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-14.2/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-14.2/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-14.2/usr.sbin/rpc.lockd/ |
| H A D | kern.c | 279 arg4.alock.l_offset = msg->lm_fl.l_start; in test_request() 303 arg.alock.l_offset = msg->lm_fl.l_start; in test_request() 349 arg4.alock.l_offset = msg->lm_fl.l_start; in lock_request() 374 arg.alock.l_offset = msg->lm_fl.l_start; in lock_request() 419 arg4.alock.l_offset = msg->lm_fl.l_start; in unlock_request() 440 arg.alock.l_offset = msg->lm_fl.l_start; in unlock_request() 591 (unsigned long long)mp->lm_fl.l_start, in show()
|
| /freebsd-14.2/sys/sys/ |
| H A D | fcntl.h | 306 off_t l_start; /* starting offset */ member 320 off_t l_start; /* starting offset */ member
|
| /freebsd-14.2/sys/nlm/ |
| H A D | nlm_advlock.c | 271 KASSERT(fl->l_start == 0 && fl->l_len == 0, in nlm_advlock_internal() 711 newfl.l_start = fl->l_start; in nlm_record_lock() 1097 fl->l_start = h->l_offset; in nlm_getlock() 1230 || (fl->l_start > 0 && size > OFF_MAX - fl->l_start)) in nlm_init_lock() 1232 start = size + fl->l_start; in nlm_init_lock() 1234 start = fl->l_start; in nlm_init_lock()
|
| H A D | nlm_prot_impl.c | 1868 fl.l_start = argp->alock.l_offset; in nlm_do_test() 1912 result->stat.nlm4_testrply_u.holder.l_offset = fl.l_start; in nlm_do_test() 1975 fl.l_start = argp->alock.l_offset; in nlm_do_lock() 2006 if (af->af_fl.l_start == fl.l_start in nlm_do_lock() 2154 fl.l_start = argp->alock.l_offset; in nlm_do_cancel() 2171 if (af->af_fl.l_start == fl.l_start in nlm_do_cancel() 2243 fl.l_start = argp->alock.l_offset; in nlm_do_unlock()
|
| /freebsd-14.2/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-14.2/lib/libc/gen/ |
| H A D | lockf.c | 46 fl.l_start = 0; in lockf()
|
| /freebsd-14.2/tests/sys/cddl/zfs/bin/ |
| H A D | randfree_file.c | 90 fl.l_start = start_off; in main()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | LockFilePosix.cpp | 25 fl.l_start = start; in fileLock()
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | flock.c | 51 arg.l_start = 0; in rk_flock()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_descrip.c | 436 fl.l_start = ofl.l_start; in kern_fcntl_freebsd() 473 ofl.l_start = fl.l_start; in kern_fcntl_freebsd() 649 (flp->l_start > 0 && in kern_fcntl() 655 flp->l_start += foffset; in kern_fcntl() 731 flp->l_start = 0; in kern_fcntl() 759 if ((flp->l_start > 0 && in kern_fcntl() 761 (flp->l_start < 0 && in kern_fcntl() 2492 lf.l_start = 0; in fdclearlocks() 2802 lf.l_start = 0; in closef() 2825 lf.l_start = 0; in closef() [all …]
|
| H A D | kern_lockf.c | 447 start = fl->l_start; in lf_advlockasync() 452 (fl->l_start > 0 && size > OFF_MAX - fl->l_start)) in lf_advlockasync() 454 start = size + fl->l_start; in lf_advlockasync() 1576 fl->l_start = block->lf_start; in lf_getlock() 1886 ldesc->fl.l_start = lf->lf_start; in lf_iteratelocks_sysid() 1953 ldesc->fl.l_start = lf->lf_start; in lf_iteratelocks_vnode()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | exlock2.sh | 129 fl.l_start = 0;
|
| H A D | fcntl.sh | 88 fl.l_start = pos;
|
| H A D | nullfs22.sh | 110 fl.l_start = pos;
|
| /freebsd-14.2/contrib/netbsd-tests/kernel/ |
| H A D | t_lockf.c | 87 fl.l_start = random_uint32() % filesize; in trylocks()
|
| /freebsd-14.2/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-14.2/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()
|