Home
last modified time | relevance | path

Searched refs:dlm_lock_resource (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/fs/ocfs2/dlm/
Ddlmcommon.h62 struct dlm_lock_resource *mleres;
193 struct dlm_lock_resource;
206 struct dlm_lock_resource *lockres;
213 struct dlm_lock_resource *lockres;
221 struct dlm_lock_resource *deref_res;
277 struct dlm_lock_resource struct
347 struct dlm_lock_resource *lockres;
393 dlm_list_idx_to_ptr(struct dlm_lock_resource *res, enum dlm_lockres_list idx) in dlm_list_idx_to_ptr()
783 __dlm_lockres_state_to_status(struct dlm_lock_resource *res) in __dlm_lockres_state_to_status()
821 struct dlm_lock_resource *res);
[all …]
Ddlmunlock.c44 struct dlm_lock_resource *res,
49 struct dlm_lock_resource *res,
55 struct dlm_lock_resource *res,
84 struct dlm_lock_resource *res, in dlmunlock_common()
267 void dlm_commit_pending_unlock(struct dlm_lock_resource *res, in dlm_commit_pending_unlock()
275 void dlm_commit_pending_cancel(struct dlm_lock_resource *res, in dlm_commit_pending_cancel()
284 struct dlm_lock_resource *res, in dlmunlock_master()
294 struct dlm_lock_resource *res, in dlmunlock_remote()
310 struct dlm_lock_resource *res, in dlm_send_remote_unlock_request()
396 struct dlm_lock_resource *res = NULL; in dlm_unlock_lock_handler()
[all …]
Ddlmmaster.c51 struct dlm_lock_resource *res,
78 struct dlm_lock_resource *res,
87 static int dlm_do_master_request(struct dlm_lock_resource *res,
92 struct dlm_lock_resource *res,
96 struct dlm_lock_resource *res,
100 struct dlm_lock_resource *res,
107 struct dlm_lock_resource *res);
109 struct dlm_lock_resource *res);
111 struct dlm_lock_resource *res,
114 struct dlm_lock_resource *res);
[all …]
Ddlmthread.c44 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags) in __dlm_wait_on_lockres_flags()
63 int __dlm_lockres_has_locks(struct dlm_lock_resource *res) in __dlm_lockres_has_locks()
76 int __dlm_lockres_unused(struct dlm_lock_resource *res) in __dlm_lockres_unused()
109 struct dlm_lock_resource *res) in __dlm_lockres_calc_usage()
135 struct dlm_lock_resource *res) in dlm_lockres_calc_usage()
153 struct dlm_lock_resource *res) in __dlm_do_purge_lockres()
193 struct dlm_lock_resource *res) in dlm_purge_lockres()
283 struct dlm_lock_resource *lockres; in dlm_run_purge_list()
292 struct dlm_lock_resource, purge); in dlm_run_purge_list()
343 struct dlm_lock_resource *res) in dlm_shuffle_lists()
[all …]
Ddlmconvert.h14 struct dlm_lock_resource *res,
17 struct dlm_lock_resource *res,
Ddlmast.c36 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
78 struct dlm_lock_resource *res; in __dlm_queue_ast()
144 struct dlm_lock_resource *res; 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()
274 struct dlm_lock_resource *res = NULL; in dlm_proxy_ast_handler()
433 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_proxy_ast_msg()
Ddlmlock.c46 struct dlm_lock_resource *res,
75 static int dlm_can_grant_new_lock(struct dlm_lock_resource *res, in dlm_can_grant_new_lock()
104 struct dlm_lock_resource *res, in dlmlock_master()
183 void dlm_revert_pending_lock(struct dlm_lock_resource *res, in dlm_revert_pending_lock()
200 struct dlm_lock_resource *res, in dlmlock_remote()
286 struct dlm_lock_resource *res, in dlm_send_remote_lock_request()
359 struct dlm_lock_resource *res) in dlm_lock_attach_lockres()
368 struct dlm_lock_resource *res; in dlm_lock_detach_lockres()
447 struct dlm_lock_resource *res = NULL; in dlm_create_lock_handler()
548 struct dlm_lock_resource *res = NULL; in dlmlock()
Ddlmconvert.c44 struct dlm_lock_resource *res,
49 struct dlm_lock_resource *res,
62 struct dlm_lock_resource *res, in dlmconvert_master()
105 struct dlm_lock_resource *res, in __dlmconvert_master()
235 void dlm_revert_pending_convert(struct dlm_lock_resource *res, in dlm_revert_pending_convert()
252 struct dlm_lock_resource *res, in dlmconvert_remote()
356 struct dlm_lock_resource *res, in dlm_send_remote_convert_request()
436 struct dlm_lock_resource *res = NULL; in dlm_convert_lock_handler()
Ddlmrecovery.c52 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res);
60 struct dlm_lock_resource *res,
63 struct dlm_lock_resource *res,
80 struct dlm_lock_resource *res,
240 struct dlm_lock_resource *res; in dlm_print_reco_node_status()
875 struct dlm_lock_resource *res; in dlm_request_all_locks_worker()
1047 struct dlm_lock_resource *res, *next; in dlm_move_reco_locks_to_list()
1089 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res) in dlm_num_locks_in_lockres()
1107 struct dlm_lock_resource *res, in dlm_send_mig_lockres_msg()
1269 int dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_one_lockres()
[all …]
Ddlmdebug.h21 struct dlm_lock_resource *dl_res;
Ddlmdebug.c35 void dlm_print_one_lock_resource(struct dlm_lock_resource *res) in dlm_print_one_lock_resource()
42 static void dlm_print_lockres_refmap(struct dlm_lock_resource *res) in dlm_print_lockres_refmap()
82 void __dlm_print_one_lock_resource(struct dlm_lock_resource *res) in __dlm_print_one_lock_resource()
352 struct dlm_lock_resource *res; in debug_purgelist_print()
488 static int dump_lockres(struct dlm_lock_resource *res, char *buf, int len) in dump_lockres()
545 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
546 struct dlm_lock_resource *res = NULL; in lockres_seq_start()
Ddlmdomain.c147 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()
181 struct dlm_lock_resource *res; in __dlm_lookup_lockres_full()
208 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
213 struct dlm_lock_resource *res = NULL; in __dlm_lookup_lockres()
233 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
237 struct dlm_lock_resource *res; in dlm_lookup_lockres()
408 struct dlm_lock_resource *res; in dlm_migrate_all_locks()
424 res = hlist_entry(iter, struct dlm_lock_resource, in dlm_migrate_all_locks()
[all …]
/Linux-v5.10/drivers/md/
Dmd-cluster.c19 struct dlm_lock_resource { struct
67 struct dlm_lock_resource *bitmap_lockres;
68 struct dlm_lock_resource **other_bitmap_lockres;
69 struct dlm_lock_resource *resync_lockres;
81 struct dlm_lock_resource *ack_lockres;
82 struct dlm_lock_resource *message_lockres;
83 struct dlm_lock_resource *token_lockres;
84 struct dlm_lock_resource *no_new_dev_lockres;
117 struct dlm_lock_resource *res; in sync_ast()
124 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) in dlm_lock_sync()
[all …]