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
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()
[all …]