Home
last modified time | relevance | path

Searched refs:dlm_ctxt (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/fs/ocfs2/dlm/
Ddlmcommon.h42 struct dlm_ctxt *dlm;
106 struct dlm_ctxt struct
170 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() argument
175 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
224 struct dlm_ctxt *dlm;
234 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item()
247 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node()
305 struct dlm_ctxt *dlm;
837 int dlm_launch_thread(struct dlm_ctxt *dlm);
838 void dlm_complete_thread(struct dlm_ctxt *dlm);
[all …]
Ddlmdebug.h18 struct dlm_ctxt *dl_ctxt;
22 void dlm_debug_init(struct dlm_ctxt *dlm);
24 void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm);
25 void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm);
32 static inline void dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
35 static inline void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot()
38 static inline void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_destroy_debugfs_subroot()
Ddlmdomain.c143 static void dlm_unregister_domain_handlers(struct dlm_ctxt *dlm);
145 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres()
156 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_insert_lockres()
173 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full()
206 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
231 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
244 static struct dlm_ctxt * __dlm_lookup_domain_full(const char *domain, int len) in __dlm_lookup_domain_full()
246 struct dlm_ctxt *tmp; in __dlm_lookup_domain_full()
262 static struct dlm_ctxt * __dlm_lookup_domain(const char *domain) in __dlm_lookup_domain()
276 struct dlm_ctxt *tmp = NULL; in dlm_wait_on_domain_helper()
[all …]
Ddlmapi.h14 struct dlm_ctxt;
163 enum dlm_status dlmlock(struct dlm_ctxt *dlm,
173 enum dlm_status dlmunlock(struct dlm_ctxt *dlm,
183 struct dlm_ctxt * dlm_register_domain(const char *domain, u32 key,
186 void dlm_unregister_domain(struct dlm_ctxt *dlm);
199 void dlm_register_eviction_cb(struct dlm_ctxt *dlm,
Ddlmrecovery.c38 static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node);
41 static int dlm_do_recovery(struct dlm_ctxt *dlm);
43 static int dlm_pick_recovery_master(struct dlm_ctxt *dlm);
44 static int dlm_remaster_locks(struct dlm_ctxt *dlm, u8 dead_node);
45 static int dlm_init_recovery_area(struct dlm_ctxt *dlm, u8 dead_node);
46 static int dlm_request_all_locks(struct dlm_ctxt *dlm,
48 static void dlm_destroy_recovery_area(struct dlm_ctxt *dlm);
55 static int dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm,
60 static int dlm_process_recovery_data(struct dlm_ctxt *dlm,
63 static int dlm_send_finalize_reco_message(struct dlm_ctxt *dlm);
[all …]
Ddlmmaster.c38 static void dlm_mle_node_down(struct dlm_ctxt *dlm,
42 static void dlm_mle_node_up(struct dlm_ctxt *dlm,
48 static int dlm_do_assert_master(struct dlm_ctxt *dlm,
53 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
75 struct dlm_ctxt *dlm,
81 static int dlm_find_mle(struct dlm_ctxt *dlm,
89 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm,
93 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm,
97 static int dlm_add_migration_mle(struct dlm_ctxt *dlm,
104 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm,
[all …]
Ddlmdomain.h14 static inline int dlm_joined(struct dlm_ctxt *dlm) in dlm_joined()
26 static inline int dlm_shutting_down(struct dlm_ctxt *dlm) in dlm_shutting_down()
38 void dlm_fire_domain_eviction_callbacks(struct dlm_ctxt *dlm,
Ddlmast.c34 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
36 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
47 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
74 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
129 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
140 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
166 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb()
196 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast()
214 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast()
238 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast()
[all …]
Ddlmunlock.c41 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm,
46 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm,
52 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm,
81 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common()
281 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master()
291 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote()
307 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request()
392 struct dlm_ctxt *dlm = data; in dlm_unlock_lock_handler()
525 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm, in dlm_get_cancel_actions()
557 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm, in dlm_get_unlock_actions()
[all …]
Ddlmthread.c38 static void dlm_flush_asts(struct dlm_ctxt *dlm);
106 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage()
132 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage()
150 void __dlm_do_purge_lockres(struct dlm_ctxt *dlm, in __dlm_do_purge_lockres()
190 static void dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres()
276 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list()
340 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists()
497 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread()
509 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres()
534 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread()
[all …]
Ddlmconvert.h11 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
14 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm,
Ddlmconvert.c41 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm,
46 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm,
59 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, in dlmconvert_master()
102 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, in __dlmconvert_master()
249 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote()
353 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, in dlm_send_remote_convert_request()
432 struct dlm_ctxt *dlm = data; in dlm_convert_lock_handler()
Ddlmdebug.c348 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
379 struct dlm_ctxt *dlm = inode->i_private; in debug_purgelist_open()
404 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
436 struct dlm_ctxt *dlm = inode->i_private; in debug_mle_open()
542 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start()
612 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open()
660 static int debug_state_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_state_print()
827 struct dlm_ctxt *dlm = inode->i_private; in debug_state_open()
852 void dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
873 void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot()
[all …]
Ddlmlock.c43 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm,
101 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master()
197 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote()
283 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, in dlm_send_remote_lock_request()
443 struct dlm_ctxt *dlm = data; in dlm_create_lock_handler()
540 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
/linux-6.1.9/fs/ocfs2/
Dstack_o2cb.c322 struct dlm_ctxt *dlm; in o2cb_cluster_connect()
378 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect()