Home
last modified time | relevance | path

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

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmconvert.c109 struct dlm_lock *tmplock=NULL; in __dlmconvert_master() local
170 list_for_each_entry(tmplock, &res->granted, list) { in __dlmconvert_master()
171 if (tmplock == lock) in __dlmconvert_master()
173 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
177 list_for_each_entry(tmplock, &res->converting, list) { in __dlmconvert_master()
178 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
181 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
H A Ddlmlock.c76 struct dlm_lock *tmplock; in dlm_can_grant_new_lock() local
78 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock()
79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
83 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock()
84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
H A Ddlmcommon.h1067 struct dlm_lock *tmplock; in dlm_lock_on_list() local
1069 list_for_each_entry(tmplock, head, list) { in dlm_lock_on_list()
1070 if (tmplock == lock) in dlm_lock_on_list()