Lines Matching refs:unlock
180 LOCKF_DEBUG(0, "lf_advlock: '%s' unlock without lock\n", vfs_context_proc(context)->p_comm);
768 * Parameters: unlock The lock to clear
773 * Notes: A caller may unlock all the locks owned by the caller by
778 lf_clearlock(struct lockf *unlock)
780 struct lockf **head = unlock->lf_head;
788 if (unlock->lf_type != F_UNLCK)
791 lf_print("lf_clearlock", unlock);
794 while ((ovcase = lf_findoverlap(lf, unlock, SELF, &prev, &overlap)) != OVERLAP_NONE) {
810 if (overlap->lf_start == unlock->lf_start) {
811 overlap->lf_start = unlock->lf_end + 1;
818 if (lf_split(overlap, unlock))
820 overlap->lf_next = unlock->lf_next;
830 overlap->lf_end = unlock->lf_start - 1;
836 overlap->lf_start = unlock->lf_end + 1;
843 lf_printlist("lf_clearlock", unlock);
1091 * split (upgrade/downgrade/unlock)
1156 * Wakeup a blocklist in the case of a downgrade or unlock, since others
1242 lock->lf_type == F_UNLCK ? "unlock" : "unknown",
1248 lock->lf_type == F_UNLCK ? "unlock" : "unknown",
1289 lf->lf_type == F_UNLCK ? "unlock" :
1301 blk->lf_type == F_UNLCK ? "unlock" :