Home
last modified time | relevance | path

Searched defs:dlm (Results 1 – 13 of 13) sorted by relevance

/fs/ocfs2/dlm/
Ddlmrecovery.c100 static inline void dlm_set_reco_dead_node(struct dlm_ctxt *dlm, in dlm_set_reco_dead_node()
110 static inline void dlm_set_reco_master(struct dlm_ctxt *dlm, in dlm_set_reco_master()
119 static inline void __dlm_reset_recovery(struct dlm_ctxt *dlm) in __dlm_reset_recovery()
130 struct dlm_ctxt *dlm = in dlm_dispatch_work() local
167 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm) in dlm_kick_recovery_thread()
179 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm) in dlm_launch_recovery_thread()
194 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm) in dlm_complete_recovery_thread()
228 static void dlm_print_reco_node_status(struct dlm_ctxt *dlm) in dlm_print_reco_node_status()
280 struct dlm_ctxt *dlm = data; in dlm_recovery_thread() local
306 static int dlm_reco_master_ready(struct dlm_ctxt *dlm) in dlm_reco_master_ready()
[all …]
Ddlmdomain.c145 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()
290 static void dlm_free_ctxt_mem(struct dlm_ctxt *dlm) in dlm_free_ctxt_mem()
309 struct dlm_ctxt *dlm; in dlm_ctxt_release() local
330 void dlm_put(struct dlm_ctxt *dlm) in dlm_put()
337 static void __dlm_get(struct dlm_ctxt *dlm) in __dlm_get()
345 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm) in dlm_grab()
[all …]
Ddlmmaster.c53 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
161 static inline void __dlm_mle_attach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_attach_hb_events()
170 static inline void __dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_detach_hb_events()
178 static inline void dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in dlm_mle_detach_hb_events()
188 struct dlm_ctxt *dlm; in dlm_get_mle_inuse() local
199 struct dlm_ctxt *dlm; in dlm_put_mle_inuse() local
214 struct dlm_ctxt *dlm; in __dlm_put_mle() local
233 struct dlm_ctxt *dlm; in dlm_put_mle() local
250 struct dlm_ctxt *dlm, in dlm_init_mle()
302 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle) in __dlm_unlink_mle()
[all …]
Ddlmthread.c106 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()
549 void dlm_complete_thread(struct dlm_ctxt *dlm) in dlm_complete_thread()
[all …]
Ddlmast.c47 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()
261 struct dlm_ctxt *dlm = data; in dlm_proxy_ast_handler() local
421 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_proxy_ast_msg()
Ddlmunlock.c81 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() local
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()
584 enum dlm_status dlmunlock(struct dlm_ctxt *dlm, struct dlm_lockstatus *lksb, in dlmunlock()
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() local
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() local
542 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start() local
612 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open() local
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() local
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 …]
Ddlmconvert.c59 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() local
Ddlmdebug.h32 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.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()
Ddlmlock.c101 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() local
540 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
Ddlmcommon.h42 struct dlm_ctxt *dlm; member
170 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash()
175 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
224 struct dlm_ctxt *dlm; member
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; member
917 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast()
926 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
1113 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner()
[all …]
/fs/ocfs2/
Dstack_o2cb.c322 struct dlm_ctxt *dlm; in o2cb_cluster_connect() local
378 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect() local