Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmconvert.c131 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
136 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
198 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
230 lock->ml.convert_type = type; in __dlmconvert_master()
249 lock->ml.convert_type = LKM_IVMODE; in dlm_revert_pending_convert()
267 lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); in dlmconvert_remote()
280 if (lock->ml.convert_type != LKM_IVMODE) { in dlmconvert_remote()
286 lock->ml.convert_type); in dlmconvert_remote()
291 if (lock->ml.type == type && lock->ml.convert_type == LKM_IVMODE) { in dlmconvert_remote()
298 lock->ml.type, lock->ml.convert_type); in dlmconvert_remote()
[all …]
Ddlmthread.c323 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
332 target->ml.convert_type)) { in dlm_shuffle_lists()
340 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
342 target->ml.convert_type; in dlm_shuffle_lists()
350 target->ml.convert_type)) { in dlm_shuffle_lists()
356 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
358 target->ml.convert_type; in dlm_shuffle_lists()
373 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
375 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
376 target->ml.convert_type = LKM_IVMODE; in dlm_shuffle_lists()
Ddlmast.c416 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
418 if (lock->ml.convert_type != LKM_IVMODE) { in dlm_proxy_ast_handler()
419 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
420 lock->ml.convert_type = LKM_IVMODE; in dlm_proxy_ast_handler()
Ddlmunlock.c235 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
244 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
246 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
294 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
Ddlmrecovery.c1235 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
1257 dummy.ml.convert_type = LKM_IVMODE; in dlm_add_dummy_lock()
1270 ml->convert_type == LKM_IVMODE && in dlm_is_dummy_lock()
1859 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1879 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1920 if (ml->convert_type != LKM_IVMODE) { in dlm_process_recovery_data()
1922 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
2005 ml->type, ml->convert_type, ml->node, in dlm_process_recovery_data()
2020 newlock->ml.convert_type) { in dlm_process_recovery_data()
Ddlmlock.c104 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
402 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
Ddlmdebug.c81 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
508 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
Ddlmcommon.h349 s8 convert_type; member