/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 121 static inline void dlm_set_reco_dead_node(struct dlm_ctxt *dlm, in dlm_set_reco_dead_node() 131 static inline void dlm_set_reco_master(struct dlm_ctxt *dlm, in dlm_set_reco_master() 140 static inline void __dlm_reset_recovery(struct dlm_ctxt *dlm) in __dlm_reset_recovery() 148 static inline void dlm_reset_recovery(struct dlm_ctxt *dlm) in dlm_reset_recovery() 158 struct dlm_ctxt *dlm = in dlm_dispatch_work() local 195 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm) in dlm_kick_recovery_thread() 207 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm) in dlm_launch_recovery_thread() 222 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm) in dlm_complete_recovery_thread() 256 static void dlm_print_reco_node_status(struct dlm_ctxt *dlm) in dlm_print_reco_node_status() 308 struct dlm_ctxt *dlm = data; in dlm_recovery_thread() local [all …]
|
D | dlmdomain.c | 161 void __dlm_insert_lockres(struct dlm_ctxt *dlm, in __dlm_insert_lockres() 178 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full() 213 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres() 238 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres() 300 static void dlm_free_ctxt_mem(struct dlm_ctxt *dlm) in dlm_free_ctxt_mem() 318 struct dlm_ctxt *dlm; in dlm_ctxt_release() local 339 void dlm_put(struct dlm_ctxt *dlm) in dlm_put() 346 static void __dlm_get(struct dlm_ctxt *dlm) in __dlm_get() 354 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm) in dlm_grab() 377 int dlm_domain_fully_joined(struct dlm_ctxt *dlm) in dlm_domain_fully_joined() [all …]
|
D | dlmthread.c | 59 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument 116 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage() 144 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage() 157 static int dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres() 220 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list() 277 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists() 439 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread() 452 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres() 476 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread() 490 void dlm_complete_thread(struct dlm_ctxt *dlm) in dlm_complete_thread() [all …]
|
D | dlmmaster.c | 71 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal() 188 static inline void __dlm_mle_attach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_attach_hb_events() 197 static inline void __dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_detach_hb_events() 205 static inline void dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in dlm_mle_detach_hb_events() 215 struct dlm_ctxt *dlm; in dlm_get_mle_inuse() local 226 struct dlm_ctxt *dlm; in dlm_put_mle_inuse() local 241 struct dlm_ctxt *dlm; in __dlm_put_mle() local 260 struct dlm_ctxt *dlm; in dlm_put_mle() local 277 struct dlm_ctxt *dlm, in dlm_init_mle() 323 static int dlm_find_mle(struct dlm_ctxt *dlm, in dlm_find_mle() [all …]
|
D | dlmast.c | 66 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast() 93 static void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast() 138 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast() 151 static void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast() 171 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast() 183 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb() 214 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast() 231 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast() 252 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast() 270 struct dlm_ctxt *dlm = data; in dlm_proxy_ast_handler() local [all …]
|
D | dlmunlock.c | 100 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common() 282 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master() 292 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote() 308 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request() 389 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()
|
D | dlmdebug.c | 444 static int debug_purgelist_print(struct dlm_ctxt *dlm, struct debug_buffer *db) in debug_purgelist_print() 476 struct dlm_ctxt *dlm = inode->i_private; in debug_purgelist_open() local 501 static int debug_mle_print(struct dlm_ctxt *dlm, struct debug_buffer *db) in debug_mle_print() 526 struct dlm_ctxt *dlm = inode->i_private; in debug_mle_open() local 632 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start() local 695 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open() local 754 static int debug_state_print(struct dlm_ctxt *dlm, struct debug_buffer *db) in debug_state_print() 890 struct dlm_ctxt *dlm = inode->i_private; in debug_state_open() local 915 int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init() 969 void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown() [all …]
|
D | dlmdebug.h | 63 static inline int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init() 67 static inline void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown() 70 static inline int dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot() 74 static inline void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_destroy_debugfs_subroot()
|
D | dlmconvert.c | 78 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, in dlmconvert_master() 121 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, in __dlmconvert_master() 265 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote() 347 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, in dlm_send_remote_convert_request() 424 struct dlm_ctxt *dlm = data; in dlm_convert_lock_handler() local
|
D | userdlm.c | 286 struct dlm_ctxt *dlm = dlm_ctxt_from_user_lockres(lockres); in user_dlm_unblock_lock() local 413 struct dlm_ctxt *dlm = dlm_ctxt_from_user_lockres(lockres); in user_dlm_cluster_lock() local 595 struct dlm_ctxt *dlm = dlm_ctxt_from_user_lockres(lockres); in user_dlm_destroy_lock() local 651 struct dlm_ctxt *dlm; in user_dlm_register_context() local 673 void user_dlm_unregister_context(struct dlm_ctxt *dlm) in user_dlm_unregister_context()
|
D | dlmlock.c | 122 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master() 221 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote() 301 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, in dlm_send_remote_lock_request() 465 struct dlm_ctxt *dlm = data; in dlm_create_lock_handler() local 564 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
|
D | dlmcommon.h | 66 struct dlm_ctxt *dlm; member 193 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() 240 struct dlm_ctxt *dlm; member 250 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item() 263 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node() 320 struct dlm_ctxt *dlm; member 920 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast() 929 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
|
D | dlmfs.c | 427 struct dlm_ctxt *dlm; in dlmfs_mkdir() local
|
/fs/ocfs2/ |
D | stack_o2cb.c | 267 struct dlm_ctxt *dlm; in o2cb_cluster_connect() local 322 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect() local
|