Lines Matching refs:token_lockres
85 struct dlm_lock_resource *token_lockres; member
701 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
745 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm()
747 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm()
928 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join()
929 if (!cinfo->token_lockres) in join()
935 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
950 dlm_unlock_sync(cinfo->token_lockres); in join()
981 lockres_free(cinfo->token_lockres); in join()
1044 lockres_free(cinfo->token_lockres); in leave()
1091 if (cinfo->token_lockres->mode == DLM_LOCK_EX) { in metadata_update_start()