Lines Matching defs:token_lockres
83 struct dlm_lock_resource *token_lockres;
674 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
718 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX);
720 dlm_unlock_sync(cinfo->token_lockres);
905 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0);
906 if (!cinfo->token_lockres)
912 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX);
927 dlm_unlock_sync(cinfo->token_lockres);
958 lockres_free(cinfo->token_lockres);
1021 lockres_free(cinfo->token_lockres);
1068 if (cinfo->token_lockres->mode == DLM_LOCK_EX) {