Home
last modified time | relevance | path

Searched refs:fl_type (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/bsd/vfs/
H A Dvfs_subr.c12673 fl->fl_type = fl_type; in file_lease_alloc()
12701 if (fl_type == F_RDLCK) { in check_for_open_conflict()
12723 fl->fl_type = new_fl_type; in modify_file_lease()
12792 vp, fl, fl_type, fl->fl_type); in acquire_file_lease()
12799 vp, our_fl, our_fl->fl_type, fl_type); in acquire_file_lease()
12835 vp, fl, fl->fl_type); in release_file_lease()
12891 int fl_type = F_UNLCK; in vnode_getlease() local
12901 fl_type = fl->fl_type; in vnode_getlease()
12908 return fl_type; in vnode_getlease()
13101 int fl_type; in vnode_breaklease() local
[all …]
/xnu-11215/bsd/sys/
H A Dvnode_internal.h143 int fl_type; /* The file lease type: F_RDLCK, F_WRLCK */ member
695 int vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts,
/xnu-11215/bsd/kern/
H A Dkern_descrip.c5037 int fl_type; in sys_fcntl_nocancel() local
5063 fl_type = CAST_DOWN_EXPLICIT(int, uap->arg); in sys_fcntl_nocancel()
5064 expcounts = (unsigned int)fl_type >> 2; in sys_fcntl_nocancel()
5065 fl_type &= 3; in sys_fcntl_nocancel()
5067 if (fl_type == F_WRLCK && expcounts == 0) { in sys_fcntl_nocancel()
5071 AUDIT_ARG(value32, fl_type); in sys_fcntl_nocancel()
5088 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel()
5094 switch (fl_type) { in sys_fcntl_nocancel()
5098 error = vnode_setlease(vp, fg, fl_type, expcounts, in sys_fcntl_nocancel()