Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Dmd-cluster.c83 struct dlm_lock_resource *token_lockres; member
670 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
714 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm()
716 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm()
900 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join()
901 if (!cinfo->token_lockres) in join()
907 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
922 dlm_unlock_sync(cinfo->token_lockres); in join()
953 lockres_free(cinfo->token_lockres); in join()
1016 lockres_free(cinfo->token_lockres); in leave()
[all …]