Lines Matching refs:dlm_ctxt
62 struct dlm_ctxt *dlm;
127 struct dlm_ctxt struct
190 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() argument
195 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
244 struct dlm_ctxt *dlm;
254 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item()
267 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node()
324 struct dlm_ctxt *dlm;
841 int dlm_launch_thread(struct dlm_ctxt *dlm);
842 void dlm_complete_thread(struct dlm_ctxt *dlm);
843 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm);
844 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm);
845 void dlm_wait_for_recovery(struct dlm_ctxt *dlm);
846 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm);
847 int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node);
848 int dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout);
849 int dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout);
851 void dlm_put(struct dlm_ctxt *dlm);
852 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm);
853 int dlm_domain_fully_joined(struct dlm_ctxt *dlm);
855 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
857 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm,
867 void __dlm_insert_lockres(struct dlm_ctxt *dlm,
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,
916 void __dlm_lockres_drop_inflight_ref(struct dlm_ctxt *dlm,
920 void __dlm_lockres_grab_inflight_ref(struct dlm_ctxt *dlm,
932 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
933 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
934 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
935 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
936 void dlm_do_local_ast(struct dlm_ctxt *dlm,
939 int dlm_do_remote_ast(struct dlm_ctxt *dlm,
942 void dlm_do_local_bast(struct dlm_ctxt *dlm,
946 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm,
951 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast()
960 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
972 u8 dlm_nm_this_node(struct dlm_ctxt *dlm);
973 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
974 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
977 int dlm_nm_init(struct dlm_ctxt *dlm);
978 int dlm_heartbeat_init(struct dlm_ctxt *dlm);
982 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res);
983 int dlm_finish_migration(struct dlm_ctxt *dlm,
986 void dlm_lockres_release_ast(struct dlm_ctxt *dlm,
1011 int dlm_do_master_requery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
1015 int dlm_dispatch_assert_master(struct dlm_ctxt *dlm,
1022 int dlm_send_one_lockres(struct dlm_ctxt *dlm,
1027 void dlm_move_lockres_to_recovery_list(struct dlm_ctxt *dlm,
1042 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1043 void __dlm_insert_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle);
1055 void dlm_hb_event_notify_attached(struct dlm_ctxt *dlm, int idx, int node_up);
1056 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm,
1058 void dlm_clean_master_list(struct dlm_ctxt *dlm,
1060 void dlm_force_free_mles(struct dlm_ctxt *dlm);
1061 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock);
1148 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner()
1157 static inline void dlm_change_lockres_owner(struct dlm_ctxt *dlm, in dlm_change_lockres_owner()