Lines Matching refs:holders
284 * Go through both waiters and holders. Don't bother
301 for (lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock);
602 * anyone on the holders list OR anyone on the waiters list.
611 * not conflict with any other holders, then we grant the lock.
636 lp = SH_TAILQ_FIRST(&sh_obj->holders, __db_lock);
674 * If there are conflicting holders we will have to wait. If we
703 * If there are no conflicting holders or waiters,
717 * 2. Else, if the current holders are either
837 SH_TAILQ_INSERT_TAIL(&sh_obj->holders, newl, links);
980 * The lock just granted got put on the holders
985 &sh_obj->holders, newl, links, __db_lock);
1248 * Remove this lock from its holders/waitlist. Set its status
1259 SH_TAILQ_REMOVE(&sh_obj->holders, lockp, links, __db_lock);
1271 if (SH_TAILQ_FIRST(&sh_obj->holders, __db_lock) == NULL &&
1512 SH_TAILQ_INIT(&sh_obj->holders);
1648 SH_TAILQ_FOREACH(hlp, &obj->holders, links, __db_lock)
1658 SH_TAILQ_REMOVE(&obj->holders, lp, links, __db_lock);
1690 * Look through the waiters and holders lists and decide which (if any)
1737 SH_TAILQ_FOREACH(lp_h, &obj->holders, links, __db_lock) {
1751 SH_TAILQ_INSERT_TAIL(&obj->holders, lp_w, links);