Lines Matching refs:dlm_ctxt

47 	struct dlm_ctxt *dlm;
111 struct dlm_ctxt struct
175 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() argument
180 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
229 struct dlm_ctxt *dlm;
239 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item()
252 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node()
310 struct dlm_ctxt *dlm;
842 int dlm_launch_thread(struct dlm_ctxt *dlm);
843 void dlm_complete_thread(struct dlm_ctxt *dlm);
844 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm);
845 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm);
846 void dlm_wait_for_recovery(struct dlm_ctxt *dlm);
847 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm);
848 int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node);
849 void dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout);
850 void dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout);
852 void dlm_put(struct dlm_ctxt *dlm);
853 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm);
854 int dlm_domain_fully_joined(struct dlm_ctxt *dlm);
856 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
858 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
867 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
868 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
869 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm,
873 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm,
877 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm,
883 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm,
887 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm,
891 void dlm_lockres_set_refmap_bit(struct dlm_ctxt *dlm,
893 void dlm_lockres_clear_refmap_bit(struct dlm_ctxt *dlm,
896 void dlm_lockres_drop_inflight_ref(struct dlm_ctxt *dlm,
898 void dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm,
901 void __dlm_lockres_grab_inflight_worker(struct dlm_ctxt *dlm,
904 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
905 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
906 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
907 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
908 void dlm_do_local_ast(struct dlm_ctxt *dlm,
911 int dlm_do_remote_ast(struct dlm_ctxt *dlm,
914 void dlm_do_local_bast(struct dlm_ctxt *dlm,
918 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm,
923 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast()
932 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
944 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
945 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
951 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
952 int dlm_finish_migration(struct dlm_ctxt *dlm,
955 void dlm_lockres_release_ast(struct dlm_ctxt *dlm,
982 int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
985 void __dlm_do_purge_lockres(struct dlm_ctxt *dlm,
988 int dlm_dispatch_assert_master(struct dlm_ctxt *dlm,
995 int dlm_send_one_lockres(struct dlm_ctxt *dlm,
1000 void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm,
1015 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1016 void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1028 void dlm_hb_event_notify_attached(struct dlm_ctxt *dlm, int idx, int node_up);
1029 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm,
1031 void dlm_clean_master_list(struct dlm_ctxt *dlm,
1033 void dlm_force_free_mles(struct dlm_ctxt *dlm);
1034 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock);
1119 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner()
1128 static inline void dlm_change_lockres_owner(struct dlm_ctxt *dlm, in dlm_change_lockres_owner()