/linux-3.4.99/fs/ocfs2/dlm/ |
D | dlmcommon.h | 62 struct dlm_ctxt *dlm; 127 struct dlm_ctxt struct 191 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash() argument 196 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash() 245 struct dlm_ctxt *dlm; 255 static inline void dlm_init_work_item(struct dlm_ctxt *dlm, in dlm_init_work_item() 268 static inline void __dlm_set_joining_node(struct dlm_ctxt *dlm, in __dlm_set_joining_node() 325 struct dlm_ctxt *dlm; 855 int dlm_launch_thread(struct dlm_ctxt *dlm); 856 void dlm_complete_thread(struct dlm_ctxt *dlm); [all …]
|
D | dlmdebug.h | 43 struct dlm_ctxt *dl_ctxt; 47 int dlm_debug_init(struct dlm_ctxt *dlm); 48 void dlm_debug_shutdown(struct dlm_ctxt *dlm); 50 int dlm_create_debugfs_subroot(struct dlm_ctxt *dlm); 51 void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm); 58 static inline int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init() 62 static inline void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown() 65 static inline int dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot() 69 static inline void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_destroy_debugfs_subroot()
|
D | dlmdomain.c | 158 static void dlm_unregister_domain_handlers(struct dlm_ctxt *dlm); 160 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres() 171 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_insert_lockres() 190 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full() 225 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres() 250 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres() 263 static struct dlm_ctxt * __dlm_lookup_domain_full(const char *domain, int len) in __dlm_lookup_domain_full() 265 struct dlm_ctxt *tmp = NULL; in __dlm_lookup_domain_full() 273 tmp = list_entry (iter, struct dlm_ctxt, list); in __dlm_lookup_domain_full() 284 static struct dlm_ctxt * __dlm_lookup_domain(const char *domain) in __dlm_lookup_domain() [all …]
|
D | dlmrecovery.c | 55 static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node); 58 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm); 59 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm); 60 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm); 61 static int dlm_do_recovery(struct dlm_ctxt *dlm); 63 static int dlm_pick_recovery_master(struct dlm_ctxt *dlm); 64 static int dlm_remaster_locks(struct dlm_ctxt *dlm, u8 dead_node); 65 static int dlm_init_recovery_area(struct dlm_ctxt *dlm, u8 dead_node); 66 static int dlm_request_all_locks(struct dlm_ctxt *dlm, 68 static void dlm_destroy_recovery_area(struct dlm_ctxt *dlm, u8 dead_node); [all …]
|
D | dlmapi.h | 31 struct dlm_ctxt; 180 enum dlm_status dlmlock(struct dlm_ctxt *dlm, 190 enum dlm_status dlmunlock(struct dlm_ctxt *dlm, 200 struct dlm_ctxt * dlm_register_domain(const char *domain, u32 key, 203 void dlm_unregister_domain(struct dlm_ctxt *dlm); 216 void dlm_register_eviction_cb(struct dlm_ctxt *dlm,
|
D | dlmdomain.h | 31 int dlm_joined(struct dlm_ctxt *dlm); 32 int dlm_shutting_down(struct dlm_ctxt *dlm); 33 void dlm_fire_domain_eviction_callbacks(struct dlm_ctxt *dlm,
|
D | dlmmaster.c | 55 static void dlm_mle_node_down(struct dlm_ctxt *dlm, 59 static void dlm_mle_node_up(struct dlm_ctxt *dlm, 65 static int dlm_do_assert_master(struct dlm_ctxt *dlm, 70 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal() 92 struct dlm_ctxt *dlm, 98 static int dlm_find_mle(struct dlm_ctxt *dlm, 106 static int dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm, 110 static int dlm_restart_lock_mastery(struct dlm_ctxt *dlm, 114 static int dlm_add_migration_mle(struct dlm_ctxt *dlm, 121 static u8 dlm_pick_migration_target(struct dlm_ctxt *dlm, [all …]
|
D | dlmast.c | 51 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, 53 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock); 64 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast() 91 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast() 146 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast() 157 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast() 183 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast() 193 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb() 223 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast() 243 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast() [all …]
|
D | dlmunlock.c | 58 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm, 63 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm, 69 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, 98 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common() 280 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master() 290 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote() 306 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request() 388 struct dlm_ctxt *dlm = data; in dlm_unlock_lock_handler() 524 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm, in dlm_get_cancel_actions() 556 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm, in dlm_get_unlock_actions() [all …]
|
D | dlmthread.c | 55 static void dlm_flush_asts(struct dlm_ctxt *dlm); 124 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage() 150 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage() 162 static void dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres() 224 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list() 285 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists() 451 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread() 463 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres() 488 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread() 502 void dlm_complete_thread(struct dlm_ctxt *dlm) in dlm_complete_thread() [all …]
|
D | dlmconvert.h | 28 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, 31 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm,
|
D | dlmconvert.c | 58 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, 63 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, 76 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, in dlmconvert_master() 119 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, in __dlmconvert_master() 263 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote() 345 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()
|
D | dlmdebug.c | 389 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print() 420 struct dlm_ctxt *dlm = inode->i_private; in debug_purgelist_open() 445 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print() 480 struct dlm_ctxt *dlm = inode->i_private; in debug_mle_open() 586 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start() 656 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open() 715 static int debug_state_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_state_print() 882 struct dlm_ctxt *dlm = inode->i_private; in debug_state_open() 907 int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init() 961 void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown() [all …]
|
D | dlmlock.c | 60 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, 124 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master() 219 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote() 305 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() 562 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
|
/linux-3.4.99/fs/ocfs2/ |
D | stack_o2cb.c | 332 struct dlm_ctxt *dlm; in o2cb_cluster_connect() 388 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect()
|