Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmconvert.c114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
119 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
181 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
219 lock->ml.convert_type = type; in __dlmconvert_master()
238 lock->ml.convert_type = LKM_IVMODE; in dlm_revert_pending_convert()
256 lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); in dlmconvert_remote()
269 if (lock->ml.convert_type != LKM_IVMODE) { in dlmconvert_remote()
275 lock->ml.convert_type); in dlmconvert_remote()
280 if (lock->ml.type == type && lock->ml.convert_type == LKM_IVMODE) { in dlmconvert_remote()
287 lock->ml.type, lock->ml.convert_type); in dlmconvert_remote()
[all …]
Ddlmthread.c365 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
374 target->ml.convert_type)) { in dlm_shuffle_lists()
382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
384 target->ml.convert_type; in dlm_shuffle_lists()
392 target->ml.convert_type)) { in dlm_shuffle_lists()
398 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
400 target->ml.convert_type; in dlm_shuffle_lists()
415 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
417 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
418 target->ml.convert_type = LKM_IVMODE; in dlm_shuffle_lists()
Ddlmast.c387 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
389 if (lock->ml.convert_type != LKM_IVMODE) { in dlm_proxy_ast_handler()
390 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
391 lock->ml.convert_type = LKM_IVMODE; in dlm_proxy_ast_handler()
Ddlmunlock.c218 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
227 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
229 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
277 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
Ddlmrecovery.c1216 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
1238 dummy.ml.convert_type = LKM_IVMODE; in dlm_add_dummy_lock()
1251 ml->convert_type == LKM_IVMODE && in dlm_is_dummy_lock()
1857 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1877 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1917 if (ml->convert_type != LKM_IVMODE) { in dlm_process_recovery_data()
1919 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
2002 ml->type, ml->convert_type, ml->node, in dlm_process_recovery_data()
2017 newlock->ml.convert_type) { in dlm_process_recovery_data()
Ddlmlock.c86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
384 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
Ddlmdebug.c64 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
471 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
Ddlmcommon.h330 s8 convert_type; member