Lines Matching refs:dlm_ctxt
62 struct dlm_ctxt *dlm;
127 struct dlm_ctxt struct
191 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() argument
196 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
245 struct dlm_ctxt *dlm;
255 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item()
268 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node()
325 struct dlm_ctxt *dlm;
855 int dlm_launch_thread(struct dlm_ctxt *dlm);
856 void dlm_complete_thread(struct dlm_ctxt *dlm);
857 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm);
858 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm);
859 void dlm_wait_for_recovery(struct dlm_ctxt *dlm);
860 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm);
861 int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node);
862 void dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout);
863 void dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout);
865 void dlm_put(struct dlm_ctxt *dlm);
866 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm);
867 int dlm_domain_fully_joined(struct dlm_ctxt *dlm);
869 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
871 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
880 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
881 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
882 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm,
886 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm,
890 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm,
896 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm,
900 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm,
904 void dlm_lockres_set_refmap_bit(struct dlm_ctxt *dlm,
906 void dlm_lockres_clear_refmap_bit(struct dlm_ctxt *dlm,
909 void dlm_lockres_drop_inflight_ref(struct dlm_ctxt *dlm,
911 void dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm,
914 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
915 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
916 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
917 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
918 void dlm_do_local_ast(struct dlm_ctxt *dlm,
921 int dlm_do_remote_ast(struct dlm_ctxt *dlm,
924 void dlm_do_local_bast(struct dlm_ctxt *dlm,
928 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm,
933 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast()
942 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
954 u8 dlm_nm_this_node(struct dlm_ctxt *dlm);
955 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
956 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
959 int dlm_nm_init(struct dlm_ctxt *dlm);
960 int dlm_heartbeat_init(struct dlm_ctxt *dlm);
964 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
965 int dlm_finish_migration(struct dlm_ctxt *dlm,
968 void dlm_lockres_release_ast(struct dlm_ctxt *dlm,
993 int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
997 int dlm_dispatch_assert_master(struct dlm_ctxt *dlm,
1004 int dlm_send_one_lockres(struct dlm_ctxt *dlm,
1009 void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm,
1024 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1025 void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1037 void dlm_hb_event_notify_attached(struct dlm_ctxt *dlm, int idx, int node_up);
1038 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm,
1040 void dlm_clean_master_list(struct dlm_ctxt *dlm,
1042 void dlm_force_free_mles(struct dlm_ctxt *dlm);
1043 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock);
1130 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner()
1139 static inline void dlm_change_lockres_owner(struct dlm_ctxt *dlm, in dlm_change_lockres_owner()