Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmconvert.c116 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
121 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
183 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
221 lock->ml.convert_type = type; in __dlmconvert_master()
240 lock->ml.convert_type = LKM_IVMODE; in dlm_revert_pending_convert()
258 lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); in dlmconvert_remote()
271 if (lock->ml.convert_type != LKM_IVMODE) { in dlmconvert_remote()
277 lock->ml.convert_type); in dlmconvert_remote()
282 if (lock->ml.type == type && lock->ml.convert_type == LKM_IVMODE) { in dlmconvert_remote()
289 lock->ml.type, lock->ml.convert_type); in dlmconvert_remote()
[all …]
Ddlmthread.c369 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
378 target->ml.convert_type)) { in dlm_shuffle_lists()
386 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
388 target->ml.convert_type; in dlm_shuffle_lists()
396 target->ml.convert_type)) { in dlm_shuffle_lists()
402 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
404 target->ml.convert_type; in dlm_shuffle_lists()
419 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
421 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
422 target->ml.convert_type = LKM_IVMODE; in dlm_shuffle_lists()
Ddlmast.c399 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
401 if (lock->ml.convert_type != LKM_IVMODE) { in dlm_proxy_ast_handler()
402 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
403 lock->ml.convert_type = LKM_IVMODE; in dlm_proxy_ast_handler()
Ddlmunlock.c220 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
229 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
231 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
279 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
Ddlmrecovery.c1225 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
1247 dummy.ml.convert_type = LKM_IVMODE; in dlm_add_dummy_lock()
1260 ml->convert_type == LKM_IVMODE && in dlm_is_dummy_lock()
1866 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1886 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1926 if (ml->convert_type != LKM_IVMODE) { in dlm_process_recovery_data()
1928 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
2011 ml->type, ml->convert_type, ml->node, in dlm_process_recovery_data()
2026 newlock->ml.convert_type) { in dlm_process_recovery_data()
Ddlmlock.c88 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
386 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
Ddlmdebug.c66 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
473 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
Ddlmcommon.h335 s8 convert_type; member