Lines Matching refs:lockres
91 /* "unused": the lockres has no locks, is not on the dirty list,
114 * the lockres queue's. This will figure out whether it belongs on the
126 mlog(0, "putting lockres %.*s:%p onto purge list\n",
135 mlog(0, "removing lockres %.*s:%p from purge list, owner=%u\n",
175 mlog(0, "purging lockres %.*s, master = %d\n", res->lockname.len,
198 mlog(0, "removing lockres %.*s:%p from purgelist, "
207 /* lockres is not in the hash now. drop the flag and wake up
223 struct dlm_lock_resource *lockres;
231 lockres = list_entry(dlm->purge_list.next,
234 /* Status of the lockres *might* change so double
235 * check. If the lockres is unused, holding the dlm
237 * refs on it -- there's no need to keep the lockres
239 spin_lock(&lockres->spinlock);
240 unused = __dlm_lockres_unused(lockres);
241 spin_unlock(&lockres->spinlock);
246 purge_jiffies = lockres->last_used +
259 dlm_lockres_get(lockres);
263 if (dlm_purge_lockres(dlm, lockres))
266 dlm_lockres_put(lockres);
288 /* because this function is called with the lockres
521 res = lock->lockres;
522 mlog(0, "delivering an ast for this lockres\n");
560 res = lock->lockres;
576 mlog(0, "delivering a bast for this lockres "
629 * calling dlm_shuffle_lists on each lockres that
641 /* peel a lockres off, remove it from the list,
654 /* lockres can be re-dirtied/re-added to the
678 "progress lockres %.*s, state=%d\n",
685 /* at this point the lockres is not migrating/
686 * recovering/in-progress. we have the lockres
694 /* called while holding lockres lock */