• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/dlm/

Lines Matching refs:lockres

89 /* "unused": the lockres has no locks, is not on the dirty list,
120 * the lockres queue's. This will figure out whether it belongs on the
132 mlog(0, "putting lockres %.*s:%p onto purge list\n",
141 mlog(0, "removing lockres %.*s:%p from purge list, owner=%u\n",
175 mlog(0, "purging lockres %.*s, master = %d\n", res->lockname.len,
203 mlog(0, "removing lockres %.*s:%p from purgelist, "
212 mlog(ML_ERROR, "found lockres %s:%.*s: in use after deref\n",
220 /* lockres is not in the hash now. drop the flag and wake up
235 struct dlm_lock_resource *lockres;
243 lockres = list_entry(dlm->purge_list.next,
246 spin_lock(&lockres->spinlock);
248 purge_jiffies = lockres->last_used +
258 spin_unlock(&lockres->spinlock);
262 /* Status of the lockres *might* change so double
263 * check. If the lockres is unused, holding the dlm
266 unused = __dlm_lockres_unused(lockres);
268 (lockres->state & DLM_LOCK_RES_MIGRATING)) {
269 mlog(0, "lockres %s:%.*s: is in use or "
271 dlm->name, lockres->lockname.len,
272 lockres->lockname.name, !unused, lockres->state);
273 list_move_tail(&dlm->purge_list, &lockres->purge);
274 spin_unlock(&lockres->spinlock);
278 dlm_lockres_get(lockres);
280 dlm_purge_lockres(dlm, lockres);
282 dlm_lockres_put(lockres);
304 /* because this function is called with the lockres
538 res = lock->lockres;
539 mlog(0, "delivering an ast for this lockres\n");
577 res = lock->lockres;
593 mlog(0, "delivering a bast for this lockres "
646 * calling dlm_shuffle_lists on each lockres that
658 /* peel a lockres off, remove it from the list,
671 /* lockres can be re-dirtied/re-added to the
697 "progress lockres %.*s, state=%d\n",
704 /* at this point the lockres is not migrating/
705 * recovering/in-progress. we have the lockres
713 /* called while holding lockres lock */