Searched refs:l_start (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_fcntl.h108 svr4_off_t l_start; member in struct:svr4_flock_svr3
118 svr4_off_t l_start; member in struct:svr4_flock
128 svr4_off64_t l_start; member in struct:svr4_flock64
H A Dsvr4_fcntl.c164 oflp->l_start = (svr4_off_t) iflp->l_start;
192 oflp->l_start = (off_t) iflp->l_start;
219 oflp->l_start = (svr4_off64_t) iflp->l_start;
247 oflp->l_start = (off_t) iflp->l_start;
350 start = fp->f_offset + flp->l_start;
354 start = flp->l_start
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_fcntl.h64 ibcs2_off_t l_start; member in struct:ibcs2_flock
H A Dibcs2_fcntl.c95 iflp->l_start = (ibcs2_off_t)flp->l_start;
106 (int)flp->l_start, (int)flp->l_len, (int)flp->l_pid,
116 flp->l_start = (off_t)iflp->l_start;
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c162 FAIL(fl1.l_start != fl2.l_start);
196 fl.l_start = 0;
267 fl.l_start = 0;
336 fl.l_start = 0;
374 FAIL(fl.l_start != 0);
422 fl.l_start = 0;
438 fl.l_start = 1;
441 fl.l_start = 0;
461 fl.l_start
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dlockf.c47 fl.l_start = 0;
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dflock.c35 l.l_whence = SEEK_SET; /* count l_start from start of file */
36 l.l_start = 0; /* lock from start of file */
93 l.l_whence = SEEK_SET; /* count l_start from start of file */
94 l.l_start = 0; /* lock from start of file */
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DLockFilePosix.cpp27 fl.l_start = start;
/freebsd-11-stable/sys/sys/
H A Dfcntl.h274 off_t l_start; /* starting offset */ member in struct:flock
278 short l_whence; /* type of l_start */
288 off_t l_start; /* starting offset */ member in struct:__oflock
292 short l_whence; /* type of l_start */
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dflock.c51 arg.l_start = 0;
/freebsd-11-stable/sys/nfs/
H A Dnfs_lock.c265 fl->l_start < 0 ||
267 (fl->l_start == 0 || fl->l_start + fl->l_len < 0)))
270 (fl->l_len - 1 > OFF_MAX - fl->l_start))
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c760 l.l_start = l.l_len = 1024;
797 int a = ((const struct flock *)p)->l_start;
798 int b = ((const struct flock *)q)->l_start;
831 if (l.l_start > start) {
833 fcntl_getlocks(fildes, start, l.l_start - start, lock, end);
844 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end);
845 } else if (l.l_start + l.l_len < start + len) {
846 len -= l.l_start + l.l_len - start;
847 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end);
936 ATF_CHECK_EQ(result[j].l_start, expec
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dkern.c281 arg4.alock.l_offset = msg->lm_fl.l_start;
305 arg.alock.l_offset = msg->lm_fl.l_start;
351 arg4.alock.l_offset = msg->lm_fl.l_start;
376 arg.alock.l_offset = msg->lm_fl.l_start;
421 arg4.alock.l_offset = msg->lm_fl.l_start;
442 arg.alock.l_offset = msg->lm_fl.l_start;
598 (unsigned long long)mp->lm_fl.l_start,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c130 s_flock.l_start = 0;
155 s_flock.l_start = 0;
/freebsd-11-stable/sys/nlm/
H A Dnlm_advlock.c270 KASSERT(fl->l_start == 0 && fl->l_len == 0,
710 newfl.l_start = fl->l_start;
1097 fl->l_start = h->l_offset;
1230 || (fl->l_start > 0 && size > OFF_MAX - fl->l_start))
1232 start = size + fl->l_start;
1234 start = fl->l_start;
H A Dnlm_prot_impl.c1896 fl.l_start = argp->alock.l_offset;
1940 result->stat.nlm4_testrply_u.holder.l_offset = fl.l_start;
2003 fl.l_start = argp->alock.l_offset;
2034 if (af->af_fl.l_start == fl.l_start
2182 fl.l_start = argp->alock.l_offset;
2199 if (af->af_fl.l_start == fl.l_start
2271 fl.l_start = argp->alock.l_offset;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.c1198 l_off_t l_start; member in struct:l_flock
1225 bsd_flock->l_start = (off_t)linux_flock->l_start;
1246 linux_flock->l_start = (l_off_t)bsd_flock->l_start;
1255 l_loff_t l_start; member in struct:l_flock64
1282 bsd_flock->l_start = (off_t)linux_flock->l_start;
1303 linux_flock->l_start = (l_loff_t)bsd_flock->l_start;
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_descrip.c429 fl.l_start = ofl.l_start;
466 ofl.l_start = fl.l_start;
627 (flp->l_start > 0 &&
628 foffset > OFF_MAX - flp->l_start)) {
633 flp->l_start += foffset;
709 flp->l_start = 0;
738 if ((flp->l_start > 0 &&
739 foffset > OFF_MAX - flp->l_start) ||
[all...]
H A Dkern_lockf.c444 start = fl->l_start;
449 (fl->l_start > 0 && size > OFF_MAX - fl->l_start))
451 start = size + fl->l_start;
1590 fl->l_start = block->lf_start;
1902 ldesc->fl.l_start = lf->lf_start;
1968 ldesc->fl.l_start = lf->lf_start;
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_lockf.c87 fl.l_start = random_uint32() % filesize;
/freebsd-11-stable/bin/cat/
H A Dcat.c138 stdout_lock.l_start = 0;
/freebsd-11-stable/usr.bin/at/
H A Dat.c250 lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
309 lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_vnops.c1042 start = fl->l_start;
1047 (fl->l_start > 0 && size > OFF_MAX - fl->l_start))
1049 start = size + fl->l_start;
/freebsd-11-stable/contrib/gcc/
H A Dgcov-io.c72 s_flock.l_start = 0;
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dfcache.c79 l.l_start = 0;
121 l.l_start = 0;

Completed in 149 milliseconds

12