Lines Matching defs:unlock
189 LOCKF_DEBUG(0, "lf_advlock: '%s' unlock without lock\n", vfs_context_proc(context)->p_comm);
716 * Parameters: unlock The lock to clear
721 * Notes: A caller may unlock all the locks owned by the caller by
726 lf_clearlock(struct lockf *unlock)
728 struct lockf **head = unlock->lf_head;
736 if (unlock->lf_type != F_UNLCK)
739 lf_print("lf_clearlock", unlock);
742 while ((ovcase = lf_findoverlap(lf, unlock, SELF, &prev, &overlap)) != OVERLAP_NONE) {
758 if (overlap->lf_start == unlock->lf_start) {
759 overlap->lf_start = unlock->lf_end + 1;
766 if (lf_split(overlap, unlock))
768 overlap->lf_next = unlock->lf_next;
778 overlap->lf_end = unlock->lf_start - 1;
784 overlap->lf_start = unlock->lf_end + 1;
791 lf_printlist("lf_clearlock", unlock);
1009 * split (upgrade/downgrade/unlock)
1074 * Wakeup a blocklist in the case of a downgrade or unlock, since others
1155 lock->lf_type == F_UNLCK ? "unlock" : "unknown",
1161 lock->lf_type == F_UNLCK ? "unlock" : "unknown",
1202 lf->lf_type == F_UNLCK ? "unlock" :
1214 blk->lf_type == F_UNLCK ? "unlock" :