Lines Matching refs:ml

54 	if (lock->ml.highest_blocked == LKM_IVMODE)  in dlm_should_cancel_bast()
56 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
63 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
66 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
69 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
91 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
92 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
93 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
99 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
100 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
110 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
111 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
114 lock->ml.highest_blocked = LKM_IVMODE; in __dlm_queue_ast()
157 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast()
158 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast()
190 lock->ml.node == dlm->node_num ? "master" : in dlm_update_lvb()
215 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast()
216 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast()
219 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_ast()
235 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_remote_ast()
236 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_remote_ast()
239 BUG_ON(lock->ml.node == dlm->node_num); in dlm_do_remote_ast()
255 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_bast()
259 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
260 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_bast()
360 if (lock->ml.cookie == cookie) in dlm_proxy_ast_handler()
372 if (lock->ml.cookie == cookie) { in dlm_proxy_ast_handler()
399 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
401 if (lock->ml.convert_type != LKM_IVMODE) { in dlm_proxy_ast_handler()
402 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
403 lock->ml.convert_type = LKM_IVMODE; in dlm_proxy_ast_handler()
444 res->lockname.len, res->lockname.name, lock->ml.node, msg_type, in dlm_send_proxy_ast_msg()
453 past.cookie = lock->ml.cookie; in dlm_send_proxy_ast_msg()
465 lock->ml.node, &status); in dlm_send_proxy_ast_msg()
469 lock->ml.node); in dlm_send_proxy_ast_msg()
473 "node is dead!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
477 "DLM_MIGRATING!\n", lock->ml.node); in dlm_send_proxy_ast_msg()
481 lock->ml.node, status); in dlm_send_proxy_ast_msg()