Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/dlm/
Ddlmthread.c57 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument
125 void __dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in __dlm_lockres_calc_usage()
151 void dlm_lockres_calc_usage(struct dlm_ctxt *dlm, in dlm_lockres_calc_usage()
169 void __dlm_do_purge_lockres(struct dlm_ctxt *dlm, in __dlm_do_purge_lockres()
209 static void dlm_purge_lockres(struct dlm_ctxt *dlm, in dlm_purge_lockres()
295 static void dlm_run_purge_list(struct dlm_ctxt *dlm, in dlm_run_purge_list()
359 static void dlm_shuffle_lists(struct dlm_ctxt *dlm, in dlm_shuffle_lists()
516 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread()
528 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres()
553 int dlm_launch_thread(struct dlm_ctxt *dlm) in dlm_launch_thread()
[all …]
Ddlmrecovery.c117 static inline void dlm_set_reco_dead_node(struct dlm_ctxt *dlm, in dlm_set_reco_dead_node()
127 static inline void dlm_set_reco_master(struct dlm_ctxt *dlm, in dlm_set_reco_master()
136 static inline void __dlm_reset_recovery(struct dlm_ctxt *dlm) in __dlm_reset_recovery()
144 static inline void dlm_reset_recovery(struct dlm_ctxt *dlm) in dlm_reset_recovery()
154 struct dlm_ctxt *dlm = in dlm_dispatch_work() local
191 void dlm_kick_recovery_thread(struct dlm_ctxt *dlm) in dlm_kick_recovery_thread()
203 int dlm_launch_recovery_thread(struct dlm_ctxt *dlm) in dlm_launch_recovery_thread()
218 void dlm_complete_recovery_thread(struct dlm_ctxt *dlm) in dlm_complete_recovery_thread()
252 static void dlm_print_reco_node_status(struct dlm_ctxt *dlm) in dlm_print_reco_node_status()
304 struct dlm_ctxt *dlm = data; in dlm_recovery_thread() local
[all …]
Ddlmdomain.c162 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres()
173 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()
223 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
248 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
307 static void dlm_free_ctxt_mem(struct dlm_ctxt *dlm) in dlm_free_ctxt_mem()
326 struct dlm_ctxt *dlm; in dlm_ctxt_release() local
347 void dlm_put(struct dlm_ctxt *dlm) in dlm_put()
354 static void __dlm_get(struct dlm_ctxt *dlm) in __dlm_get()
362 struct dlm_ctxt *dlm_grab(struct dlm_ctxt *dlm) in dlm_grab()
[all …]
Ddlmmaster.c70 static inline int dlm_mle_equal(struct dlm_ctxt *dlm, in dlm_mle_equal()
178 static inline void __dlm_mle_attach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_attach_hb_events()
187 static inline void __dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in __dlm_mle_detach_hb_events()
195 static inline void dlm_mle_detach_hb_events(struct dlm_ctxt *dlm, in dlm_mle_detach_hb_events()
205 struct dlm_ctxt *dlm; in dlm_get_mle_inuse() local
216 struct dlm_ctxt *dlm; in dlm_put_mle_inuse() local
231 struct dlm_ctxt *dlm; in __dlm_put_mle() local
250 struct dlm_ctxt *dlm; in dlm_put_mle() local
267 struct dlm_ctxt *dlm, in dlm_init_mle()
319 void __dlm_unlink_mle(struct dlm_ctxt *dlm, struct dlm_master_list_entry *mle) in __dlm_unlink_mle()
[all …]
Ddlmast.c64 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()
241 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast()
265 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast()
288 struct dlm_ctxt *dlm = data; in dlm_proxy_ast_handler() local
[all …]
Ddlmunlock.c98 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common()
298 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master()
308 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote()
324 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request()
409 struct dlm_ctxt *dlm = data; in dlm_unlock_lock_handler() local
543 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm, in dlm_get_cancel_actions()
575 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm, in dlm_get_unlock_actions()
602 enum dlm_status dlmunlock(struct dlm_ctxt *dlm, struct dlm_lockstatus *lksb, in dlmunlock()
Ddlmdebug.c365 static int debug_purgelist_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_purgelist_print()
396 struct dlm_ctxt *dlm = inode->i_private; in debug_purgelist_open() local
421 static int debug_mle_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_mle_print()
453 struct dlm_ctxt *dlm = inode->i_private; in debug_mle_open() local
559 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start() local
629 struct dlm_ctxt *dlm = inode->i_private; in debug_lockres_open() local
677 static int debug_state_print(struct dlm_ctxt *dlm, char *buf, int len) in debug_state_print()
844 struct dlm_ctxt *dlm = inode->i_private; in debug_state_open() local
869 int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
921 void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown()
[all …]
Ddlmdebug.h57 static inline int dlm_debug_init(struct dlm_ctxt *dlm) in dlm_debug_init()
61 static inline void dlm_debug_shutdown(struct dlm_ctxt *dlm) in dlm_debug_shutdown()
64 static inline int dlm_create_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_create_debugfs_subroot()
68 static inline void dlm_destroy_debugfs_subroot(struct dlm_ctxt *dlm) in dlm_destroy_debugfs_subroot()
Ddlmconvert.c76 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()
266 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote()
370 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, in dlm_send_remote_convert_request()
449 struct dlm_ctxt *dlm = data; in dlm_convert_lock_handler() local
Ddlmdomain.h31 static inline int dlm_joined(struct dlm_ctxt *dlm) in dlm_joined()
43 static inline int dlm_shutting_down(struct dlm_ctxt *dlm) in dlm_shutting_down()
Ddlmlock.c118 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master()
214 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote()
300 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, in dlm_send_remote_lock_request()
460 struct dlm_ctxt *dlm = data; in dlm_create_lock_handler() local
557 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
Ddlmcommon.h62 struct dlm_ctxt *dlm; member
191 static inline struct hlist_head *dlm_lockres_hash(struct dlm_ctxt *dlm, unsigned i) in dlm_lockres_hash()
196 static inline struct hlist_head *dlm_master_hash(struct dlm_ctxt *dlm, in dlm_master_hash()
245 struct dlm_ctxt *dlm; member
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()
326 struct dlm_ctxt *dlm; member
939 static inline int dlm_send_proxy_bast(struct dlm_ctxt *dlm, in dlm_send_proxy_bast()
948 static inline int dlm_send_proxy_ast(struct dlm_ctxt *dlm, in dlm_send_proxy_ast()
1135 static inline void dlm_set_lockres_owner(struct dlm_ctxt *dlm, in dlm_set_lockres_owner()
[all …]
/linux-4.19.296/fs/ocfs2/
Dstack_o2cb.c332 struct dlm_ctxt *dlm; in o2cb_cluster_connect() local
388 struct dlm_ctxt *dlm = conn->cc_lockspace; in o2cb_cluster_disconnect() local