Searched refs:l_whence (Results 1 - 8 of 8) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_lock.c515 msg->lm_fl.l_whence,
603 if (fl->l_whence != SEEK_END) {
604 if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
633 switch (fl->l_whence) {
946 fl->l_whence = SEEK_SET;
H A Dnfs_syscalls.c581 lf.l_whence = SEEK_SET;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h265 * [XSI] The values used for l_whence shall be defined as described
344 short l_whence; /* type of l_start */ member in struct:flock
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_descrip.c741 if ((fl.l_whence == SEEK_CUR) && (fl.l_start + offset < fl.l_start)) {
749 if (fl.l_whence == SEEK_CUR)
815 if (((fl.l_whence == SEEK_CUR) &&
818 ((fl.l_whence == SEEK_SET) && (fl.l_len > 0) && (fl.l_start + fl.l_len - 1 < fl.l_start)))
825 if ((fl.l_whence == SEEK_SET) && (fl.l_start < 0)) {
840 switch (fl.l_whence) {
851 if (fl.l_whence == SEEK_CUR)
3944 lf.l_whence = SEEK_SET;
4088 * the entire file (l_whence = SEEK_SET, l_start = 0, l_len = 0).
4110 lf.l_whence
[all...]
H A Dkern_lockf.c197 switch (fl->l_whence) {
229 LOCKF_DEBUG(0, "lf_advlock: unknown whence %d\n", fl->l_whence);
830 fl->l_whence = SEEK_SET;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_vnops.c1211 lf.l_whence = SEEK_SET;
H A Dvfs_xattr.c3069 lf.l_whence = SEEK_SET;
3084 lf.l_whence = SEEK_SET;
H A Dvfs_syscalls.c2175 lf.l_whence = SEEK_SET;

Completed in 322 milliseconds