Searched refs:token_lockres (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
H A D | md-cluster.c | 83 struct dlm_lock_resource *token_lockres; member 671 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token() 715 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm() 717 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm() 901 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join() 902 if (!cinfo->token_lockres) in join() 908 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join() 923 dlm_unlock_sync(cinfo->token_lockres); in join() 954 lockres_free(cinfo->token_lockres); in join() 1017 lockres_free(cinfo->token_lockres); in leave() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-cluster.c | 83 struct dlm_lock_resource *token_lockres; member 674 error = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in lock_token() 718 WARN_ON(cinfo->token_lockres->mode != DLM_LOCK_EX); in unlock_comm() 720 dlm_unlock_sync(cinfo->token_lockres); in unlock_comm() 905 cinfo->token_lockres = lockres_init(mddev, "token", NULL, 0); in join() 906 if (!cinfo->token_lockres) in join() 912 ret = dlm_lock_sync(cinfo->token_lockres, DLM_LOCK_EX); in join() 927 dlm_unlock_sync(cinfo->token_lockres); in join() 958 lockres_free(cinfo->token_lockres); in join() 1021 lockres_free(cinfo->token_lockres); in leave() [all...] |
Completed in 4 milliseconds