Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Dmd-cluster.c85 struct dlm_lock_resource *token_lockres; member
696 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token()
740 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm()
742 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm()
923 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join()
924 if (!cinfo->token_lockres) in join()
930 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join()
945 dlm_unlock_sync(cinfo->token_lockres); in join()
976 lockres_free(cinfo->token_lockres); in join()
1039 lockres_free(cinfo->token_lockres); in leave()
[all …]