/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 102 static inline void dlm_set_reco_dead_node(struct dlm_ctxt *dlm, in dlm_set_reco_dead_node() 112 static inline void dlm_set_reco_master(struct dlm_ctxt *dlm, in dlm_set_reco_master() 121 static inline void __dlm_reset_recovery(struct dlm_ctxt *dlm) in __dlm_reset_recovery() 129 static inline void dlm_reset_recovery(struct dlm_ctxt *dlm) in dlm_reset_recovery() 139 struct dlm_ctxt *dlm = in dlm_dispatch_work() local 176 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm) in dlm_kick_recovery_thread() 188 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm) in dlm_launch_recovery_thread() 203 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm) in dlm_complete_recovery_thread() 237 static void dlm_print_reco_node_status(struct dlm_ctxt *dlm) in dlm_print_reco_node_status() 289 struct dlm_ctxt *dlm = data; in dlm_recovery_thread() local [all …]
|
D | dlmdomain.c | 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() 292 static void dlm_free_ctxt_mem(struct dlm_ctxt *dlm) in dlm_free_ctxt_mem() 311 struct dlm_ctxt *dlm; in dlm_ctxt_release() local 332 void dlm_put(struct dlm_ctxt *dlm) in dlm_put() 339 static void __dlm_get(struct dlm_ctxt *dlm) in __dlm_get() 347 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm) in dlm_grab() [all …]
|
D | dlmthread.c | 42 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument 110 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage() 136 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage() 154 void __dlm_do_purge_lockres(struct dlm_ctxt *dlm, in __dlm_do_purge_lockres() 194 static void dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres() 280 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list() 344 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists() 501 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread() 513 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres() 538 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread() [all …]
|
D | dlmmaster.c | 55 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal() 163 static inline void __dlm_mle_attach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_attach_hb_events() 172 static inline void __dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_detach_hb_events() 180 static inline void dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in dlm_mle_detach_hb_events() 190 struct dlm_ctxt *dlm; in dlm_get_mle_inuse() local 201 struct dlm_ctxt *dlm; in dlm_put_mle_inuse() local 216 struct dlm_ctxt *dlm; in __dlm_put_mle() local 235 struct dlm_ctxt *dlm; in dlm_put_mle() local 252 struct dlm_ctxt *dlm, in dlm_init_mle() 304 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle) in __dlm_unlink_mle() [all …]
|
D | dlmast.c | 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() 250 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast() 273 struct dlm_ctxt *dlm = data; in dlm_proxy_ast_handler() local [all …]
|
D | dlmunlock.c | 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() local 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() 587 enum dlm_status dlmunlock(struct dlm_ctxt *dlm, struct dlm_lockstatus *lksb, in dlmunlock()
|
D | dlmdebug.c | 350 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() local 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() local 544 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start() local 614 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open() local 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() local 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 …]
|
D | dlmconvert.c | 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() local
|
D | dlmdebug.h | 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()
|
D | dlmdomain.h | 16 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()
|
D | dlmlock.c | 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() local 542 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
|
D | dlmcommon.h | 47 struct dlm_ctxt *dlm; member 175 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() 180 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash() 229 struct dlm_ctxt *dlm; member 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; member 927 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast() 936 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast() 1123 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner() [all …]
|
/fs/ocfs2/ |
D | stack_o2cb.c | 324 struct dlm_ctxt *dlm; in o2cb_cluster_connect() local 380 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect() local
|