Lines Matching refs:dlm_ctxt

143 static void dlm_unregister_domain_handlers(struct dlm_ctxt *dlm);
145 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres()
156 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_insert_lockres()
173 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full()
206 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
231 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
244 static struct dlm_ctxt * __dlm_lookup_domain_full(const char *domain, int len) in __dlm_lookup_domain_full()
246 struct dlm_ctxt *tmp; in __dlm_lookup_domain_full()
262 static struct dlm_ctxt * __dlm_lookup_domain(const char *domain) in __dlm_lookup_domain()
276 struct dlm_ctxt *tmp = NULL; in dlm_wait_on_domain_helper()
290 static void dlm_free_ctxt_mem(struct dlm_ctxt *dlm) in dlm_free_ctxt_mem()
309 struct dlm_ctxt *dlm; in dlm_ctxt_release()
311 dlm = container_of(kref, struct dlm_ctxt, dlm_refs); in dlm_ctxt_release()
330 void dlm_put(struct dlm_ctxt *dlm) in dlm_put()
337 static void __dlm_get(struct dlm_ctxt *dlm) in __dlm_get()
345 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm) in dlm_grab()
347 struct dlm_ctxt *target; in dlm_grab()
348 struct dlm_ctxt *ret = NULL; in dlm_grab()
365 int dlm_domain_fully_joined(struct dlm_ctxt *dlm) in dlm_domain_fully_joined()
377 static void dlm_destroy_dlm_worker(struct dlm_ctxt *dlm) in dlm_destroy_dlm_worker()
385 static void dlm_complete_dlm_shutdown(struct dlm_ctxt *dlm) in dlm_complete_dlm_shutdown()
403 static int dlm_migrate_all_locks(struct dlm_ctxt *dlm) in dlm_migrate_all_locks()
473 static int dlm_no_joining_node(struct dlm_ctxt *dlm) in dlm_no_joining_node()
487 struct dlm_ctxt *dlm = data; in dlm_begin_exit_domain_handler()
506 static void dlm_mark_domain_leaving(struct dlm_ctxt *dlm) in dlm_mark_domain_leaving()
529 static void __dlm_print_nodes(struct dlm_ctxt *dlm) in __dlm_print_nodes()
547 struct dlm_ctxt *dlm = data; in dlm_exit_domain_handler()
574 static int dlm_send_one_domain_exit(struct dlm_ctxt *dlm, u32 msg_type, in dlm_send_one_domain_exit()
596 static void dlm_begin_exit_domain(struct dlm_ctxt *dlm) in dlm_begin_exit_domain()
625 static void dlm_leave_domain(struct dlm_ctxt *dlm) in dlm_leave_domain()
673 void dlm_unregister_domain(struct dlm_ctxt *dlm) in dlm_unregister_domain()
796 struct dlm_ctxt *dlm = NULL; in dlm_query_join_handler()
913 struct dlm_ctxt *dlm = NULL; in dlm_assert_joined_handler()
956 static int dlm_match_regions(struct dlm_ctxt *dlm, in dlm_match_regions()
1042 static int dlm_send_regions(struct dlm_ctxt *dlm, unsigned long *node_map) in dlm_send_regions()
1099 struct dlm_ctxt *dlm = NULL; in dlm_query_region_handler()
1154 static int dlm_match_nodes(struct dlm_ctxt *dlm, struct dlm_query_nodeinfo *qn) in dlm_match_nodes()
1214 static int dlm_send_nodeinfo(struct dlm_ctxt *dlm, unsigned long *node_map) in dlm_send_nodeinfo()
1276 struct dlm_ctxt *dlm = NULL; in dlm_query_nodeinfo_handler()
1325 struct dlm_ctxt *dlm = NULL; in dlm_cancel_join_handler()
1350 static int dlm_send_one_join_cancel(struct dlm_ctxt *dlm, in dlm_send_one_join_cancel()
1376 static int dlm_send_join_cancels(struct dlm_ctxt *dlm, in dlm_send_join_cancels()
1412 static int dlm_request_join(struct dlm_ctxt *dlm, in dlm_request_join()
1499 static int dlm_send_one_join_assert(struct dlm_ctxt *dlm, in dlm_send_one_join_assert()
1526 static void dlm_send_join_asserts(struct dlm_ctxt *dlm, in dlm_send_join_asserts()
1565 static int dlm_should_restart_join(struct dlm_ctxt *dlm, in dlm_should_restart_join()
1589 static int dlm_try_to_join_domain(struct dlm_ctxt *dlm) in dlm_try_to_join_domain()
1699 static void dlm_unregister_domain_handlers(struct dlm_ctxt *dlm) in dlm_unregister_domain_handlers()
1706 static int dlm_register_domain_handlers(struct dlm_ctxt *dlm) in dlm_register_domain_handlers()
1849 static int dlm_join_domain(struct dlm_ctxt *dlm) in dlm_join_domain()
1943 static struct dlm_ctxt *dlm_alloc_ctxt(const char *domain, in dlm_alloc_ctxt()
1948 struct dlm_ctxt *dlm = NULL; in dlm_alloc_ctxt()
2098 struct dlm_ctxt * dlm_register_domain(const char *domain, in dlm_register_domain()
2103 struct dlm_ctxt *dlm = NULL; in dlm_register_domain()
2104 struct dlm_ctxt *new_ctxt = NULL; in dlm_register_domain()
2269 void dlm_fire_domain_eviction_callbacks(struct dlm_ctxt *dlm, in dlm_fire_domain_eviction_callbacks()
2291 void dlm_register_eviction_cb(struct dlm_ctxt *dlm, in dlm_register_eviction_cb()