Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ocfs2/dlm/
Ddlmcommon.h47 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);
[all …]
Ddlmdebug.h20 struct dlm_ctxt *dl_ctxt;
24 void dlm_debug_init(struct dlm_ctxt *dlm);
26 void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm);
27 void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm);
34 static inline void dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
37 static inline void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot()
40 static inline void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_destroy_debugfs_subroot()
Ddlmdomain.c145 static void dlm_unregister_domain_handlers(struct dlm_ctxt *dlm);
147 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres()
158 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_insert_lockres()
175 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full()
208 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
233 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
246 static struct dlm_ctxt * __dlm_lookup_domain_full(const char *domain, int len) in __dlm_lookup_domain_full()
248 struct dlm_ctxt *tmp; in __dlm_lookup_domain_full()
264 static struct dlm_ctxt * __dlm_lookup_domain(const char *domain) in __dlm_lookup_domain()
278 struct dlm_ctxt *tmp = NULL; in dlm_wait_on_domain_helper()
[all …]
Ddlmapi.h16 struct dlm_ctxt;
165 enum dlm_status dlmlock(struct dlm_ctxt *dlm,
175 enum dlm_status dlmunlock(struct dlm_ctxt *dlm,
185 struct dlm_ctxt * dlm_register_domain(const char *domain, u32 key,
188 void dlm_unregister_domain(struct dlm_ctxt *dlm);
201 void dlm_register_eviction_cb(struct dlm_ctxt *dlm,
Ddlmrecovery.c40 static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node);
43 static int dlm_do_recovery(struct dlm_ctxt *dlm);
45 static int dlm_pick_recovery_master(struct dlm_ctxt *dlm);
46 static int dlm_remaster_locks(struct dlm_ctxt *dlm, u8 dead_node);
47 static int dlm_init_recovery_area(struct dlm_ctxt *dlm, u8 dead_node);
48 static int dlm_request_all_locks(struct dlm_ctxt *dlm,
50 static void dlm_destroy_recovery_area(struct dlm_ctxt *dlm);
57 static int dlm_send_mig_lockres_msg(struct dlm_ctxt *dlm,
62 static int dlm_process_recovery_data(struct dlm_ctxt *dlm,
65 static int dlm_send_finalize_reco_message(struct dlm_ctxt *dlm);
[all …]
Ddlmmaster.c40 static void dlm_mle_node_down(struct dlm_ctxt *dlm,
44 static void dlm_mle_node_up(struct dlm_ctxt *dlm,
50 static int dlm_do_assert_master(struct dlm_ctxt *dlm,
55 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
77 struct dlm_ctxt *dlm,
83 static int dlm_find_mle(struct dlm_ctxt *dlm,
91 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm,
95 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm,
99 static int dlm_add_migration_mle(struct dlm_ctxt *dlm,
106 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm,
[all …]
Ddlmast.c36 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
38 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
49 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
76 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
131 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
142 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
168 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
178 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb()
208 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast()
226 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast()
[all …]
Ddlmdomain.h16 static inline int dlm_joined(struct dlm_ctxt *dlm) in dlm_joined()
28 static inline int dlm_shutting_down(struct dlm_ctxt *dlm) in dlm_shutting_down()
40 void dlm_fire_domain_eviction_callbacks(struct dlm_ctxt *dlm,
Ddlmunlock.c43 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm,
48 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm,
54 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm,
83 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common()
283 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master()
293 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote()
309 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request()
394 struct dlm_ctxt *dlm = data; in dlm_unlock_lock_handler()
528 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm, in dlm_get_cancel_actions()
560 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm, in dlm_get_unlock_actions()
[all …]
Ddlmthread.c40 static void dlm_flush_asts(struct dlm_ctxt *dlm);
108 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage()
134 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage()
152 void __dlm_do_purge_lockres(struct dlm_ctxt *dlm, in __dlm_do_purge_lockres()
192 static void dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres()
278 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list()
342 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists()
499 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread()
511 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres()
536 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread()
[all …]
Ddlmconvert.h13 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
16 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm,
Ddlmconvert.c43 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm,
48 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm,
61 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, in dlmconvert_master()
104 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, in __dlmconvert_master()
251 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote()
355 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, in dlm_send_remote_convert_request()
434 struct dlm_ctxt *dlm = data; in dlm_convert_lock_handler()
Ddlmdebug.c350 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
381 struct dlm_ctxt *dlm = inode->i_private; in debug_purgelist_open()
406 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
438 struct dlm_ctxt *dlm = inode->i_private; in debug_mle_open()
544 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start()
614 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open()
662 static int debug_state_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_state_print()
829 struct dlm_ctxt *dlm = inode->i_private; in debug_state_open()
854 void dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
875 void dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot()
[all …]
Ddlmlock.c45 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm,
103 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master()
199 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote()
285 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, in dlm_send_remote_lock_request()
445 struct dlm_ctxt *dlm = data; in dlm_create_lock_handler()
542 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
/Linux-v5.10/fs/ocfs2/
Dstack_o2cb.c324 struct dlm_ctxt *dlm; in o2cb_cluster_connect()
380 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect()