Home
last modified time | relevance | path

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

/xnu-11215/bsd/sys/
H A Dvnode_internal.h695 int vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts,
/xnu-11215/bsd/kern/
H A Dkern_descrip.c5038 int expcounts; in sys_fcntl_nocancel() local
5064 expcounts = (unsigned int)fl_type >> 2; in sys_fcntl_nocancel()
5067 if (fl_type == F_WRLCK && expcounts == 0) { in sys_fcntl_nocancel()
5068 expcounts = 1; in sys_fcntl_nocancel()
5098 error = vnode_setlease(vp, fg, fl_type, expcounts, in sys_fcntl_nocancel()
/xnu-11215/bsd/vfs/
H A Dvfs_subr.c12697 int expcounts) in check_for_open_conflict() argument
12702 if (vp->v_writecount > expcounts && in check_for_open_conflict()
12708 } else if (fl_type == F_WRLCK && vp->v_usecount > expcounts) { in check_for_open_conflict()
12741 acquire_file_lease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts, in acquire_file_lease() argument
12748 if (expcounts < 0 || expcounts > OPEN_MAX) { in acquire_file_lease()
12756 error = check_for_open_conflict(vp, fg, fl_type, expcounts); in acquire_file_lease()
12761 expcounts); in acquire_file_lease()
12864 vnode_setlease(vnode_t vp, struct fileglob *fg, int fl_type, int expcounts, in vnode_setlease() argument
12874 acquire_file_lease(vp, fg, fl_type, expcounts, ctx); in vnode_setlease()