Lines Matching refs:dlm_ctxt

55 static void dlm_mle_node_down(struct dlm_ctxt *dlm,
59 static void dlm_mle_node_up(struct dlm_ctxt *dlm,
65 static int dlm_do_assert_master(struct dlm_ctxt *dlm,
70 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
92 struct dlm_ctxt *dlm,
98 static int dlm_find_mle(struct dlm_ctxt *dlm,
106 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm,
110 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm,
114 static int dlm_add_migration_mle(struct dlm_ctxt *dlm,
121 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm,
123 static void dlm_remove_nonlocal_locks(struct dlm_ctxt *dlm,
125 static int dlm_mark_lockres_migrating(struct dlm_ctxt *dlm,
128 static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm,
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()
216 struct dlm_ctxt *dlm; in dlm_put_mle_inuse()
231 struct dlm_ctxt *dlm; in __dlm_put_mle()
250 struct dlm_ctxt *dlm; in dlm_put_mle()
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()
364 void dlm_hb_event_notify_attached(struct dlm_ctxt *dlm, int idx, int node_up) in dlm_hb_event_notify_attached()
378 static void dlm_mle_node_down(struct dlm_ctxt *dlm, in dlm_mle_node_down()
392 static void dlm_mle_node_up(struct dlm_ctxt *dlm, in dlm_mle_node_up()
427 struct dlm_ctxt *dlm; in dlm_mle_release()
488 struct dlm_ctxt *dlm; in dlm_lockres_release()
554 static void dlm_init_lockres(struct dlm_ctxt *dlm, in dlm_init_lockres()
608 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm, in dlm_new_lockres()
634 void __dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm, in __dlm_lockres_grab_inflight_ref()
653 void __dlm_lockres_drop_inflight_ref(struct dlm_ctxt *dlm, in __dlm_lockres_drop_inflight_ref()
686 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm, in dlm_get_lock_resource()
972 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm, in dlm_wait_for_lock_mastery()
1184 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm, in dlm_restart_lock_mastery()
1287 struct dlm_ctxt *dlm = mle->dlm; in dlm_do_master_request()
1382 struct dlm_ctxt *dlm = data; in dlm_master_request_handler()
1621 static int dlm_do_assert_master(struct dlm_ctxt *dlm, in dlm_do_assert_master()
1733 struct dlm_ctxt *dlm = data; in dlm_assert_master_handler()
2014 int dlm_dispatch_assert_master(struct dlm_ctxt *dlm, in dlm_dispatch_assert_master()
2047 struct dlm_ctxt *dlm = data; in dlm_assert_master_worker()
2129 static int dlm_pre_master_reco_lockres(struct dlm_ctxt *dlm, in dlm_pre_master_reco_lockres()
2179 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_drop_lockres_ref()
2217 struct dlm_ctxt *dlm = data; in dlm_deref_lockres_handler()
2310 struct dlm_ctxt *dlm; in dlm_deref_lockres_worker()
2345 static int dlm_is_lockres_migrateable(struct dlm_ctxt *dlm, in dlm_is_lockres_migrateable()
2408 static int dlm_migrate_lockres(struct dlm_ctxt *dlm, in dlm_migrate_lockres()
2675 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_empty_lockres()
2723 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2734 static int dlm_migration_can_proceed(struct dlm_ctxt *dlm, in dlm_migration_can_proceed()
2752 static int dlm_lockres_is_dirty(struct dlm_ctxt *dlm, in dlm_lockres_is_dirty()
2763 static int dlm_mark_lockres_migrating(struct dlm_ctxt *dlm, in dlm_mark_lockres_migrating()
2853 static void dlm_remove_nonlocal_locks(struct dlm_ctxt *dlm, in dlm_remove_nonlocal_locks()
2905 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm, in dlm_pick_migration_target()
2958 static int dlm_do_migrate_request(struct dlm_ctxt *dlm, in dlm_do_migrate_request()
3038 struct dlm_ctxt *dlm = data; in dlm_migrate_request_handler()
3112 static int dlm_add_migration_mle(struct dlm_ctxt *dlm, in dlm_add_migration_mle()
3183 static struct dlm_lock_resource *dlm_reset_mleres_owner(struct dlm_ctxt *dlm, in dlm_reset_mleres_owner()
3213 static void dlm_clean_migration_mle(struct dlm_ctxt *dlm, in dlm_clean_migration_mle()
3226 static void dlm_clean_block_mle(struct dlm_ctxt *dlm, in dlm_clean_block_mle()
3255 void dlm_clean_master_list(struct dlm_ctxt *dlm, u8 dead_node) in dlm_clean_master_list()
3333 int dlm_finish_migration(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_finish_migration()
3431 void dlm_lockres_release_ast(struct dlm_ctxt *dlm, in dlm_lockres_release_ast()
3450 void dlm_force_free_mles(struct dlm_ctxt *dlm) in dlm_force_free_mles()