• 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:status

95  * returns: DLM_NORMAL, DLM_NOLOCKMGR, status from network
105 enum dlm_status status;
144 status = DLM_RECOVERING;
149 status = DLM_MIGRATING;
156 status = dlm_get_cancel_actions(dlm, res, lock, lksb, &actions);
158 status = dlm_get_unlock_actions(dlm, res, lock, lksb, &actions);
160 if (status != DLM_NORMAL && (status != DLM_CANCELGRANT || !master_node))
182 status = dlm_send_remote_unlock_request(dlm, res, lock, lksb,
188 if (status == DLM_CANCELGRANT) {
192 } else if (status == DLM_RECOVERING ||
193 status == DLM_MIGRATING ||
194 status == DLM_FORWARD) {
201 status==DLM_RECOVERING?"recovering":
202 (status==DLM_MIGRATING?"migrating":
258 if (status == DLM_NORMAL)
261 return status;
304 * returns: DLM_NORMAL, DLM_NOLOCKMGR, status from network
316 int status = 0;
350 vec, veclen, owner, &status);
353 if (status == DLM_FORWARD)
355 ret = status;
393 enum dlm_status status = DLM_NORMAL;
432 status = DLM_FORWARD;
442 status = DLM_RECOVERING;
449 status = DLM_MIGRATING;
456 status = DLM_FORWARD;
477 status = DLM_IVLOCKID;
495 status = dlmunlock_master(dlm, res, lock, lksb, flags, &ignore);
496 if (status == DLM_FORWARD)
520 return status;
530 enum dlm_status status;
534 status = DLM_NORMAL;
539 status = DLM_NORMAL;
546 status = DLM_CANCELGRANT;
550 status = DLM_IVLOCKID;
553 return status;
562 enum dlm_status status;
566 status = DLM_DENIED;
567 dlm_error(status);
571 status = DLM_NORMAL;
576 return status;
586 enum dlm_status status;
632 status = dlmunlock_master(dlm, res, lock, lksb, flags,
635 "call_ast is %d\n", status, call_ast);
637 status = dlmunlock_remote(dlm, res, lock, lksb, flags,
640 "call_ast is %d\n", status, call_ast);
643 if (status == DLM_RECOVERING ||
644 status == DLM_MIGRATING ||
645 status == DLM_FORWARD) {
662 mlog(0, "calling unlockast(%p, %d)\n", data, status);
674 (*unlockast)(data, status);
677 if (status == DLM_CANCELGRANT)
678 status = DLM_NORMAL;
680 if (status == DLM_NORMAL) {
684 dlm_error(status);
690 mlog(0, "returning status=%d!\n", status);
691 return status;