Home
last modified time | relevance | path

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

/linux-4.1.27/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()
268 lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); in dlmconvert_remote()
281 if (lock->ml.convert_type != LKM_IVMODE) { in dlmconvert_remote()
287 lock->ml.convert_type); in dlmconvert_remote()
292 if (lock->ml.type == type && lock->ml.convert_type == LKM_IVMODE) { in dlmconvert_remote()
299 lock->ml.type, lock->ml.convert_type); in dlmconvert_remote()
[all …]
Ddlmthread.c313 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
322 target->ml.convert_type)) { in dlm_shuffle_lists()
330 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
332 target->ml.convert_type; in dlm_shuffle_lists()
340 target->ml.convert_type)) { in dlm_shuffle_lists()
346 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
348 target->ml.convert_type; in dlm_shuffle_lists()
363 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
365 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
366 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.c231 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
240 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
242 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
279 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()
1850 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1870 ml->convert_type, ml->highest_blocked); in dlm_process_recovery_data()
1911 if (ml->convert_type != LKM_IVMODE) { in dlm_process_recovery_data()
1913 newlock->ml.convert_type = ml->convert_type; in dlm_process_recovery_data()
1996 ml->type, ml->convert_type, ml->node, in dlm_process_recovery_data()
2011 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