Searched refs:ml (Results 1 – 9 of 9) sorted by relevance
| /fs/ocfs2/dlm/ |
| A D | dlmthread.c | 382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists() 398 if (lock->ml.highest_blocked < 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() 440 if (!dlm_lock_compatible(lock->ml.type, target->ml.type)) { in dlm_shuffle_lists() 446 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists() 447 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists() 460 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists() 461 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists() 476 target->ml.type, target->ml.node); in dlm_shuffle_lists() [all …]
|
| A D | dlmast.c | 61 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast() 64 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast() 112 lock->ml.highest_blocked = LKM_IVMODE; in __dlm_queue_ast() 348 if (lock->ml.cookie == cookie) in dlm_proxy_ast_handler() 360 if (lock->ml.cookie == cookie) { in dlm_proxy_ast_handler() 387 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler() 390 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler() 441 past.cookie = lock->ml.cookie; in dlm_send_proxy_ast_msg() 453 lock->ml.node, &status); in dlm_send_proxy_ast_msg() 457 lock->ml.node); in dlm_send_proxy_ast_msg() [all …]
|
| A D | dlmconvert.c | 114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master() 135 switch (lock->ml.type) { in __dlmconvert_master() 165 if (type <= lock->ml.type) in __dlmconvert_master() 194 lock->ml.type = type; in __dlmconvert_master() 212 lock->ml.type, type); in __dlmconvert_master() 219 lock->ml.convert_type = type; in __dlmconvert_master() 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() 297 lock->ml.convert_type = type; in dlmconvert_remote() [all …]
|
| A D | dlmrecovery.c | 1212 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array() 1213 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array() 1214 ml->type = lock->ml.type; in dlm_add_lock_to_array() 1222 ml->node = lock->ml.node; in dlm_add_lock_to_array() 1803 ml = &(mres->ml[i]); in dlm_process_recovery_data() 1837 if (lock->ml.cookie == ml->cookie) in dlm_process_recovery_data() 1855 ml->node, ml->list, ml->flags, ml->type, in dlm_process_recovery_data() 1861 if (lock->ml.node != ml->node) { in dlm_process_recovery_data() 1875 ml->node, ml->list, ml->flags, ml->type, in dlm_process_recovery_data() 1991 if (lock->ml.cookie == ml->cookie) { in dlm_process_recovery_data() [all …]
|
| A D | dlmlock.c | 79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 87 lock->ml.type)) in dlm_can_grant_new_lock() 144 lock->ml.node); in dlmlock_master() 155 lock->ml.node); in dlmlock_master() 294 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request() 383 newlock->ml.type = type; in dlm_init_lock() 386 newlock->ml.node = node; in dlm_init_lock() 387 newlock->ml.pad1 = 0; in dlm_init_lock() 388 newlock->ml.list = 0; in dlm_init_lock() [all …]
|
| A D | dlmunlock.c | 218 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() 250 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common() 251 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common() 277 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel() 336 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request() 464 if (iter->ml.cookie == unlock->cookie && in dlm_unlock_lock_handler() 465 iter->ml.node == unlock->node_idx) { in dlm_unlock_lock_handler() 485 lock->ml.type != LKM_EXMODE) in dlm_unlock_lock_handler() [all …]
|
| A D | dlmdebug.c | 65 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock() 66 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock() 67 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock() 419 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock() 420 lock->ml.node, in dump_lock() 421 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock() 422 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
|
| A D | dlmcommon.h | 228 struct dlm_mig_lockres_priv ml; member 337 struct dlm_migratable_lock ml; member 562 struct dlm_migratable_lock ml[]; // 16 bytes each, begins at byte 112 member
|
| A D | dlmmaster.c | 2508 if (lock->ml.node != dlm->node_num) { in dlm_is_lockres_migratable() 2512 cookie = be64_to_cpu(lock->ml.cookie); in dlm_is_lockres_migratable() 2935 if (lock->ml.node != dlm->node_num) { in dlm_remove_nonlocal_locks() 2937 lock->ml.node); in dlm_remove_nonlocal_locks() 2944 lock->ml.node); in dlm_remove_nonlocal_locks() 2992 if (lock->ml.node == dlm->node_num) in dlm_pick_migration_target() 2994 if (test_bit(lock->ml.node, dlm->exit_domain_map)) in dlm_pick_migration_target() 2996 nodenum = lock->ml.node; in dlm_pick_migration_target()
|
Completed in 32 milliseconds