Lines Matching refs:ml
52 if (lock->ml.highest_blocked == LKM_IVMODE) in dlm_should_cancel_bast()
54 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
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()
67 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
89 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
90 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
91 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
97 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
98 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
108 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
109 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
112 lock->ml.highest_blocked = LKM_IVMODE; in __dlm_queue_ast()
155 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast()
156 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast()
178 lock->ml.node == dlm->node_num ? "master" : in dlm_update_lvb()
203 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast()
204 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast()
207 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_ast()
223 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_remote_ast()
224 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_remote_ast()
227 BUG_ON(lock->ml.node == dlm->node_num); in dlm_do_remote_ast()
243 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_bast()
247 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
248 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
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()
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()
432 res->lockname.len, res->lockname.name, lock->ml.node, msg_type, in dlm_send_proxy_ast_msg()
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()
461 "node is dead!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
465 "DLM_MIGRATING!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
469 lock->ml.node, status); in dlm_send_proxy_ast_msg()