Home | History | Annotate | Download | only in kern

Lines Matching refs:unlock

125  * so that the unlock can succeed.  If the unlocking causes too many splits,
146 lock->lf_type == F_UNLCK ? "unlock" :
169 lf->lf_type == F_UNLCK ? "unlock" :
180 blk->lf_type == F_UNLCK ? "unlock" :
412 lf_clearlock(struct lockf *unlock, struct lockf **sparelock)
414 struct lockf **head = unlock->lf_head;
422 if (unlock->lf_type != F_UNLCK)
425 lf_print("lf_clearlock", unlock);
428 while ((ovcase = lf_findoverlap(lf, unlock, SELF,
443 if (overlap->lf_start == unlock->lf_start) {
444 overlap->lf_start = unlock->lf_end + 1;
447 lf_split(overlap, unlock, sparelock);
448 overlap->lf_next = unlock->lf_next;
458 overlap->lf_end = unlock->lf_start - 1;
464 overlap->lf_start = unlock->lf_end + 1;
471 lf_printlist("lf_clearlock", unlock);