Lines Matching refs:holders
204 for (lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock);
206 lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock)) {
210 SH_TAILQ_REMOVE(&sh_obj->holders, lp, links,
399 /* Remove this lock from its holders/waitlist. */
403 SH_TAILQ_REMOVE(&sh_obj->holders, lockp, links, __db_lock);
408 if (SH_TAILQ_FIRST(&sh_obj->holders, __db_lock) == NULL) {
489 * new lock if it does not conflict with anyone on the holders list
498 * any other holders, then we grant the lock. The most common place
508 for (lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock);
557 SH_TAILQ_INSERT_TAIL(&sh_obj->holders, newl, links);
639 * holders list. Since we're upgrading some other
642 SH_TAILQ_REMOVE(&sh_obj->holders,
688 for (lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock);
690 lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock)) {
855 SH_TAILQ_INIT(&sh_obj->holders);
963 * Look through the waiters and holders lists and decide which (if any)
992 for (lp_h = SH_TAILQ_FIRST(&obj->holders, __db_lock);
1009 SH_TAILQ_INSERT_TAIL(&obj->holders, lp_w, links);