Home
last modified time | relevance | path

Searched refs:token_lockres (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/md/
Dmd-cluster.c83 struct dlm_lock_resource *token_lockres; member
686 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
712 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm()
714 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm()
896 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join()
897 if (!cinfo->token_lockres) in join()
903 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
918 dlm_unlock_sync(cinfo->token_lockres); in join()
949 lockres_free(cinfo->token_lockres); in join()
1012 lockres_free(cinfo->token_lockres); in leave()
[all …]