Home
last modified time | relevance | path

Searched refs:sh_obj (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/lock/
H A Dlock.c95 DB_LOCKOBJ *sh_obj, *sh_locker, *sh_parent; local
183 list[i].obj, sh_obj, lt->region->table_size,
185 if (sh_obj == NULL) {
195 for (lp = SH_TAILQ_FIRST(&sh_obj->waiters, __db_lock);
197 lp = SH_TAILQ_FIRST(&sh_obj->waiters, __db_lock)) {
199 __lock_remove_waiter(lt, sh_obj, lp,
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,
218 __lock_freeobj(lt, sh_obj);
[all …]
H A Dlock_deadlock.c422 DB_LOCKOBJ *lockerp, *sh_obj; local
455 sh_obj = (DB_LOCKOBJ *)((u_int8_t *)lockp + lockp->obj);
456 SH_TAILQ_REMOVE(&sh_obj->waiters, lockp, links, __db_lock);