Lines Matching refs:ml
69 if (lock->ml.highest_blocked == LKM_IVMODE) in dlm_should_cancel_bast()
71 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
78 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
81 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
84 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
106 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
107 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
108 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
114 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
115 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
125 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
126 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
129 lock->ml.highest_blocked = LKM_IVMODE; in __dlm_queue_ast()
172 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast()
173 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast()
205 lock->ml.node == dlm->node_num ? "master" : in dlm_update_lvb()
231 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast()
232 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast()
236 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_ast()
252 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_remote_ast()
253 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_remote_ast()
256 BUG_ON(lock->ml.node == dlm->node_num); in dlm_do_remote_ast()
272 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_bast()
276 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
277 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
377 if (lock->ml.cookie == cookie) in dlm_proxy_ast_handler()
389 if (lock->ml.cookie == cookie) { in dlm_proxy_ast_handler()
416 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()
461 res->lockname.len, res->lockname.name, lock->ml.node, msg_type, in dlm_send_proxy_ast_msg()
470 past.cookie = lock->ml.cookie; in dlm_send_proxy_ast_msg()
482 lock->ml.node, &status); in dlm_send_proxy_ast_msg()
486 lock->ml.node); in dlm_send_proxy_ast_msg()
490 "node is dead!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
494 "DLM_MIGRATING!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
498 lock->ml.node, status); in dlm_send_proxy_ast_msg()