Lines Matching defs:deadlock
69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers;
101 /* Find a deadlock. */
102 deadlock = __dd_find(bitmap, idmap, nlockers);
105 if (deadlock != NULL) {
115 if (ISSET_MAP(deadlock, i))
129 if (ISSET_MAP(deadlock, i) &&
137 * locker whose entry is indicated by deadlock.
139 killid = (deadlock - bitmap) / nentries;
148 if (ISSET_MAP(deadlock, i))
161 if (ISSET_MAP(deadlock, i) &&
263 * First we go through and assign each locker a deadlock detector id.
265 * only place where we conveniently have both the deadlock id and the
341 * it and we have an automatic deadlock.
372 /* Pass complete, reset the deadlock detector bit. */