• Home
  • Raw
  • Download

Lines Matching refs:status

108 	enum dlm_status status = DLM_NORMAL;  in dlmlock_master()  local
115 status = __dlm_lockres_state_to_status(res); in dlmlock_master()
116 if (status != DLM_NORMAL && in dlmlock_master()
120 dlm_error(status); in dlmlock_master()
121 return status; in dlmlock_master()
129 lock->lksb->status = DLM_NORMAL; in dlmlock_master()
130 status = DLM_NORMAL; in dlmlock_master()
152 status = DLM_NOTQUEUED; in dlmlock_master()
160 status = DLM_NORMAL; in dlmlock_master()
180 return status; in dlmlock_master()
203 enum dlm_status status = DLM_DENIED; in dlmlock_remote() local
230 status = dlm_send_remote_lock_request(dlm, res, lock, flags); in dlmlock_remote()
235 if (status != DLM_NORMAL) { in dlmlock_remote()
236 if (status == DLM_RECOVERING && in dlmlock_remote()
245 } else if (status != DLM_NOTQUEUED) { in dlmlock_remote()
253 dlm_error(status); in dlmlock_remote()
274 return status; in dlmlock_remote()
290 int tmpret, status = 0; in dlm_send_remote_lock_request() local
302 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request()
304 ret = status; in dlm_send_remote_lock_request()
450 enum dlm_status status = DLM_NORMAL; in dlm_create_lock_handler() local
461 status = DLM_REJECTED; in dlm_create_lock_handler()
466 dlm_error(status); in dlm_create_lock_handler()
470 status = DLM_IVBUFLEN; in dlm_create_lock_handler()
472 dlm_error(status); in dlm_create_lock_handler()
476 status = DLM_SYSERR; in dlm_create_lock_handler()
481 dlm_error(status); in dlm_create_lock_handler()
492 status = DLM_IVLOCKID; in dlm_create_lock_handler()
495 dlm_error(status); in dlm_create_lock_handler()
500 status = __dlm_lockres_state_to_status(res); in dlm_create_lock_handler()
503 if (status != DLM_NORMAL) { in dlm_create_lock_handler()
510 status = dlmlock_master(dlm, res, newlock, be32_to_cpu(create->flags)); in dlm_create_lock_handler()
512 if (status != DLM_NORMAL) in dlm_create_lock_handler()
521 return status; in dlm_create_lock_handler()
547 enum dlm_status status; in dlmlock() local
560 status = DLM_BADPARAM; in dlmlock()
562 dlm_error(status); in dlmlock()
567 dlm_error(status); in dlmlock()
576 dlm_error(status); in dlmlock()
610 status = DLM_BADARGS; in dlmlock()
622 status = dlmconvert_master(dlm, res, lock, flags, mode); in dlmlock()
624 status = dlmconvert_remote(dlm, res, lock, flags, mode); in dlmlock()
625 if (status == DLM_RECOVERING || status == DLM_MIGRATING || in dlmlock()
626 status == DLM_FORWARD) { in dlmlock()
640 status = DLM_BADARGS; in dlmlock()
642 dlm_error(status); in dlmlock()
646 status = DLM_IVBUFLEN; in dlmlock()
648 dlm_error(status); in dlmlock()
655 dlm_error(status); in dlmlock()
665 status = DLM_IVLOCKID; in dlmlock()
666 dlm_error(status); in dlmlock()
693 status = dlmlock_master(dlm, res, lock, flags); in dlmlock()
695 status = dlmlock_remote(dlm, res, lock, flags); in dlmlock()
697 if (status == DLM_RECOVERING || status == DLM_MIGRATING || in dlmlock()
698 status == DLM_FORWARD) { in dlmlock()
701 if (status != DLM_RECOVERING) in dlmlock()
722 if (status != DLM_NORMAL) { in dlmlock()
724 if (status != DLM_NOTQUEUED) in dlmlock()
725 dlm_error(status); in dlmlock()
731 if (status != DLM_NORMAL) { in dlmlock()
735 lksb->status = status; in dlmlock()
743 return status; in dlmlock()