Lines Matching defs:ilk

189 lockmgr_exit(u_int flags, struct lock_object *ilk)
194 class = LOCK_CLASS(ilk);
195 class->lc_unlock(ilk);
265 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk,
272 class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL;
281 class->lc_unlock(ilk);
577 lockmgr_slock_hard(struct lock *lk, u_int flags, struct lock_object *ilk,
601 file, line, flags & LK_INTERLOCK ? ilk : NULL);
693 error = sleeplk(lk, flags, ilk, iwmesg, ipri, itimo,
726 lockmgr_exit(flags, ilk);
762 lockmgr_xlock_hard(struct lock *lk, u_int flags, struct lock_object *ilk,
788 ilk : NULL);
809 class = LOCK_CLASS(ilk);
810 class->lc_unlock(ilk);
931 error = sleeplk(lk, flags, ilk, iwmesg, ipri, itimo,
964 lockmgr_exit(flags, ilk);
969 lockmgr_upgrade(struct lock *lk, u_int flags, struct lock_object *ilk,
1021 error = lockmgr_xlock_hard(lk, flags, ilk, file, line, lwa);
1024 lockmgr_exit(flags, ilk);
1029 lockmgr_lock_flags(struct lock *lk, u_int flags, struct lock_object *ilk,
1046 file, line, flags & LK_INTERLOCK ? ilk : NULL);
1055 return (lockmgr_slock_hard(lk, flags, ilk, file, line,
1063 ilk : NULL);
1071 return (lockmgr_xlock_hard(lk, flags, ilk, file, line,
1077 return (lockmgr_upgrade(lk, flags, ilk, file, line, NULL));
1083 class = LOCK_CLASS(ilk);
1084 class->lc_unlock(ilk);
1088 return (__lockmgr_args(lk, flags, ilk, LK_WMESG_DEFAULT,
1094 lockmgr_sunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk,
1099 lockmgr_exit(flags, ilk);
1104 lockmgr_xunlock_hard(struct lock *lk, uintptr_t x, u_int flags, struct lock_object *ilk,
1199 lockmgr_exit(flags, ilk);
1288 __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk,
1324 KASSERT((flags & LK_INTERLOCK) == 0 || ilk != NULL,
1331 class = (flags & LK_INTERLOCK) ? LOCK_CLASS(ilk) : NULL;
1344 class->lc_unlock(ilk);
1351 return (lockmgr_slock_hard(lk, flags, ilk, file, line, &lwa));
1355 return (lockmgr_upgrade(lk, flags, ilk, file, line, &lwa));
1358 return (lockmgr_xlock_hard(lk, flags, ilk, file, line, &lwa));
1369 class->lc_unlock(ilk);
1396 return (lockmgr_sunlock_hard(lk, x, flags, ilk, file, line));
1399 return (lockmgr_xunlock_hard(lk, x, flags, ilk, file, line));
1406 ilk : NULL);
1414 class->lc_unlock(ilk);
1559 class->lc_unlock(ilk);
1584 class->lc_unlock(ilk);
1589 class->lc_unlock(ilk);