FreeBSD/sys/kern/kern_lockf.c
/*
 * Set the end of an existing active lock, updating dependencies and
 * adding any newly woken locks to 'granted'.
 */
Set the end of an existing active lock, updating dependencies and
adding any newly woken locks to 'granted'.
Set the end of an existing active lock updating dependencies and adding any newly woken locks to ' granted ' .
static void
lf_set_end(struct lockf *state, struct lockf_entry *lock, off_t new_end,
	struct lockf_entry_list *granted)
{
	KASSERT(new_end <= lock->lf_end, ("can't increase lock"));
	lock->lf_end = new_end;
	lf_update_dependancies(state, lock, FALSE, granted);
}
static void lf_set_end ( struct lockf * state , struct lockf_entry * lock , off_t new_end , struct lockf_entry_list * granted ) { KASSERT ( new_end <= lock -> lf_end , ( " " ) ) ; lock -> lf_end = new_end ; lf_update_dependancies ( state , lock , FALSE , granted ) ; }
Set the end of an existing active lock, updating dependencies and
 adding any newly woken locks to 'granted'.
Set the end of an existing active lock updating dependencies and adding any newly woken locks to ' granted ' .