Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmconvert.c111 struct dlm_lock *tmplock=NULL; in __dlmconvert_master() local
172 list_for_each_entry(tmplock, &res->granted, list) { in __dlmconvert_master()
173 if (tmplock == lock) in __dlmconvert_master()
175 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
179 list_for_each_entry(tmplock, &res->converting, list) { in __dlmconvert_master()
180 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
183 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
Ddlmlock.c78 struct dlm_lock *tmplock; in dlm_can_grant_new_lock() local
80 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock()
81 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
85 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
88 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
Ddlmcommon.h1073 struct dlm_lock *tmplock; in dlm_lock_on_list() local
1075 list_for_each_entry(tmplock, head, list) { in dlm_lock_on_list()
1076 if (tmplock == lock) in dlm_lock_on_list()