Lines Matching defs:dlm
70 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
178 static inline void __dlm_mle_attach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_attach_hb_events()
187 static inline void __dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_detach_hb_events()
195 static inline void dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in dlm_mle_detach_hb_events()
205 struct dlm_ctxt *dlm; in dlm_get_mle_inuse() local
216 struct dlm_ctxt *dlm; in dlm_put_mle_inuse() local
231 struct dlm_ctxt *dlm; in __dlm_put_mle() local
250 struct dlm_ctxt *dlm; in dlm_put_mle() local
267 struct dlm_ctxt *dlm, in dlm_init_mle()
319 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle) in __dlm_unlink_mle()
328 void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle) in __dlm_insert_mle()
339 static int dlm_find_mle(struct dlm_ctxt *dlm, in dlm_find_mle()
361 void dlm_hb_event_notify_attached(struct dlm_ctxt *dlm, int idx, int node_up) in dlm_hb_event_notify_attached()
375 static void dlm_mle_node_down(struct dlm_ctxt *dlm, in dlm_mle_node_down()
389 static void dlm_mle_node_up(struct dlm_ctxt *dlm, in dlm_mle_node_up()
423 struct dlm_ctxt *dlm; in dlm_mle_release() local
484 struct dlm_ctxt *dlm; in dlm_lockres_release() local
540 static void dlm_init_lockres(struct dlm_ctxt *dlm, in dlm_init_lockres()
595 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm, in dlm_new_lockres()
618 void dlm_lockres_set_refmap_bit(struct dlm_ctxt *dlm, in dlm_lockres_set_refmap_bit()
629 void dlm_lockres_clear_refmap_bit(struct dlm_ctxt *dlm, in dlm_lockres_clear_refmap_bit()
640 static void __dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm, in __dlm_lockres_grab_inflight_ref()
650 void dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm, in dlm_lockres_grab_inflight_ref()
657 void dlm_lockres_drop_inflight_ref(struct dlm_ctxt *dlm, in dlm_lockres_drop_inflight_ref()
673 void __dlm_lockres_grab_inflight_worker(struct dlm_ctxt *dlm, in __dlm_lockres_grab_inflight_worker()
683 static void __dlm_lockres_drop_inflight_worker(struct dlm_ctxt *dlm, in __dlm_lockres_drop_inflight_worker()
694 static void dlm_lockres_drop_inflight_worker(struct dlm_ctxt *dlm, in dlm_lockres_drop_inflight_worker()
718 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm, in dlm_get_lock_resource()
1018 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm, in dlm_wait_for_lock_mastery()
1223 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm, in dlm_restart_lock_mastery()
1326 struct dlm_ctxt *dlm = mle->dlm; in dlm_do_master_request() local
1421 struct dlm_ctxt *dlm = data; in dlm_master_request_handler() local
1667 static int dlm_do_assert_master(struct dlm_ctxt *dlm, in dlm_do_assert_master()
1779 struct dlm_ctxt *dlm = data; in dlm_assert_master_handler() local
2066 int dlm_dispatch_assert_master(struct dlm_ctxt *dlm, in dlm_dispatch_assert_master()
2098 struct dlm_ctxt *dlm = data; in dlm_assert_master_worker() local
2182 static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm, in dlm_pre_master_reco_lockres()
2232 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_drop_lockres_ref()
2269 struct dlm_ctxt *dlm = data; in dlm_deref_lockres_handler() local
2363 struct dlm_ctxt *dlm = data; in dlm_deref_lockres_done_handler() local
2425 static void dlm_drop_lockres_ref_done(struct dlm_ctxt *dlm, in dlm_drop_lockres_ref_done()
2458 struct dlm_ctxt *dlm; in dlm_deref_lockres_worker() local
2499 static int dlm_is_lockres_migratable(struct dlm_ctxt *dlm, in dlm_is_lockres_migratable()
2557 static int dlm_migrate_lockres(struct dlm_ctxt *dlm, in dlm_migrate_lockres()
2781 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_empty_lockres()
2810 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2821 static int dlm_migration_can_proceed(struct dlm_ctxt *dlm, in dlm_migration_can_proceed()
2839 static int dlm_lockres_is_dirty(struct dlm_ctxt *dlm, in dlm_lockres_is_dirty()
2850 static int dlm_mark_lockres_migrating(struct dlm_ctxt *dlm, in dlm_mark_lockres_migrating()
2942 static void dlm_remove_nonlocal_locks(struct dlm_ctxt *dlm, in dlm_remove_nonlocal_locks()
2996 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm, in dlm_pick_migration_target()
3042 static int dlm_do_migrate_request(struct dlm_ctxt *dlm, in dlm_do_migrate_request()
3122 struct dlm_ctxt *dlm = data; in dlm_migrate_request_handler() local
3199 static int dlm_add_migration_mle(struct dlm_ctxt *dlm, in dlm_add_migration_mle()
3275 static struct dlm_lock_resource *dlm_reset_mleres_owner(struct dlm_ctxt *dlm, in dlm_reset_mleres_owner()
3305 static void dlm_clean_migration_mle(struct dlm_ctxt *dlm, in dlm_clean_migration_mle()
3318 static void dlm_clean_block_mle(struct dlm_ctxt *dlm, in dlm_clean_block_mle()
3347 void dlm_clean_master_list(struct dlm_ctxt *dlm, u8 dead_node) in dlm_clean_master_list()
3431 int dlm_finish_migration(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_finish_migration()
3529 void dlm_lockres_release_ast(struct dlm_ctxt *dlm, in dlm_lockres_release_ast()
3548 void dlm_force_free_mles(struct dlm_ctxt *dlm) in dlm_force_free_mles()