Lines Matching refs:token_lockres
83 struct dlm_lock_resource *token_lockres;
671 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
715 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX);
717 dlm_unlock_sync(cinfo->token_lockres);
901 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0);
902 if (!cinfo->token_lockres)
908 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
923 dlm_unlock_sync(cinfo->token_lockres);
954 lockres_free(cinfo->token_lockres);
1017 lockres_free(cinfo->token_lockres);
1064 if (cinfo->token_lockres->mode == DLM_LOCK_EX) {