Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ocfs2/dlm/
Ddlmcommon.h57 struct dlm_lock_resource *mleres;
188 struct dlm_lock_resource;
201 struct dlm_lock_resource *lockres;
208 struct dlm_lock_resource *lockres;
216 struct dlm_lock_resource *deref_res;
272 struct dlm_lock_resource struct
342 struct dlm_lock_resource *lockres;
388 dlm_list_idx_to_ptr(struct dlm_lock_resource *res, enum dlm_lockres_list idx) in dlm_list_idx_to_ptr()
778 __dlm_lockres_state_to_status(struct dlm_lock_resource *res) in __dlm_lockres_state_to_status()
816 struct dlm_lock_resource *res);
[all …]
Ddlmmaster.c49 struct dlm_lock_resource *res,
76 struct dlm_lock_resource *res,
85 static int dlm_do_master_request(struct dlm_lock_resource *res,
90 struct dlm_lock_resource *res,
94 struct dlm_lock_resource *res,
98 struct dlm_lock_resource *res,
105 struct dlm_lock_resource *res);
107 struct dlm_lock_resource *res);
109 struct dlm_lock_resource *res,
112 struct dlm_lock_resource *res);
[all …]
Ddlmunlock.c42 struct dlm_lock_resource *res,
47 struct dlm_lock_resource *res,
53 struct dlm_lock_resource *res,
82 struct dlm_lock_resource *res, in dlmunlock_common()
265 void dlm_commit_pending_unlock(struct dlm_lock_resource *res, in dlm_commit_pending_unlock()
273 void dlm_commit_pending_cancel(struct dlm_lock_resource *res, in dlm_commit_pending_cancel()
282 struct dlm_lock_resource *res, in dlmunlock_master()
292 struct dlm_lock_resource *res, in dlmunlock_remote()
308 struct dlm_lock_resource *res, in dlm_send_remote_unlock_request()
394 struct dlm_lock_resource *res = NULL; in dlm_unlock_lock_handler()
[all …]
Ddlmthread.c42 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags) in __dlm_wait_on_lockres_flags()
61 int __dlm_lockres_has_locks(struct dlm_lock_resource *res) in __dlm_lockres_has_locks()
74 int __dlm_lockres_unused(struct dlm_lock_resource *res) in __dlm_lockres_unused()
107 struct dlm_lock_resource *res) in __dlm_lockres_calc_usage()
133 struct dlm_lock_resource *res) in dlm_lockres_calc_usage()
151 struct dlm_lock_resource *res) in __dlm_do_purge_lockres()
191 struct dlm_lock_resource *res) in dlm_purge_lockres()
281 struct dlm_lock_resource *lockres; in dlm_run_purge_list()
290 struct dlm_lock_resource, purge); in dlm_run_purge_list()
341 struct dlm_lock_resource *res) in dlm_shuffle_lists()
[all …]
Ddlmast.c34 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
76 struct dlm_lock_resource *res; in __dlm_queue_ast()
142 struct dlm_lock_resource *res; in __dlm_queue_bast()
166 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb()
196 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast()
214 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast()
238 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast()
262 struct dlm_lock_resource *res = NULL; in dlm_proxy_ast_handler()
421 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_proxy_ast_msg()
Ddlmconvert.h12 struct dlm_lock_resource *res,
15 struct dlm_lock_resource *res,
Ddlmlock.c44 struct dlm_lock_resource *res,
73 static int dlm_can_grant_new_lock(struct dlm_lock_resource *res, in dlm_can_grant_new_lock()
102 struct dlm_lock_resource *res, in dlmlock_master()
181 void dlm_revert_pending_lock(struct dlm_lock_resource *res, in dlm_revert_pending_lock()
198 struct dlm_lock_resource *res, in dlmlock_remote()
284 struct dlm_lock_resource *res, in dlm_send_remote_lock_request()
357 struct dlm_lock_resource *res) in dlm_lock_attach_lockres()
366 struct dlm_lock_resource *res; in dlm_lock_detach_lockres()
445 struct dlm_lock_resource *res = NULL; in dlm_create_lock_handler()
546 struct dlm_lock_resource *res = NULL; in dlmlock()
Ddlmconvert.c42 struct dlm_lock_resource *res,
47 struct dlm_lock_resource *res,
60 struct dlm_lock_resource *res, in dlmconvert_master()
103 struct dlm_lock_resource *res, in __dlmconvert_master()
233 void dlm_revert_pending_convert(struct dlm_lock_resource *res, in dlm_revert_pending_convert()
250 struct dlm_lock_resource *res, in dlmconvert_remote()
354 struct dlm_lock_resource *res, in dlm_send_remote_convert_request()
434 struct dlm_lock_resource *res = NULL; in dlm_convert_lock_handler()
Ddlmrecovery.c50 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res);
58 struct dlm_lock_resource *res,
61 struct dlm_lock_resource *res,
78 struct dlm_lock_resource *res,
231 struct dlm_lock_resource *res; in dlm_print_reco_node_status()
866 struct dlm_lock_resource *res; in dlm_request_all_locks_worker()
1038 struct dlm_lock_resource *res, *next; in dlm_move_reco_locks_to_list()
1080 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res) in dlm_num_locks_in_lockres()
1098 struct dlm_lock_resource *res, in dlm_send_mig_lockres_msg()
1260 int dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_one_lockres()
[all …]
Ddlmdebug.c33 void dlm_print_one_lock_resource(struct dlm_lock_resource *res) in dlm_print_one_lock_resource()
40 static void dlm_print_lockres_refmap(struct dlm_lock_resource *res) in dlm_print_lockres_refmap()
80 void __dlm_print_one_lock_resource(struct dlm_lock_resource *res) in __dlm_print_one_lock_resource()
350 struct dlm_lock_resource *res; in debug_purgelist_print()
486 static int dump_lockres(struct dlm_lock_resource *res, char *buf, int len) in dump_lockres()
543 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
544 struct dlm_lock_resource *res = NULL, *iter; in lockres_seq_start()
Ddlmdebug.h19 struct dlm_lock_resource *dl_res;
Ddlmdomain.c145 void __dlm_unhash_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_unhash_lockres()
156 void __dlm_insert_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_insert_lockres()
173 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full()
179 struct dlm_lock_resource *res; in __dlm_lookup_lockres_full()
206 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
211 struct dlm_lock_resource *res = NULL; in __dlm_lookup_lockres()
231 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
235 struct dlm_lock_resource *res; in dlm_lookup_lockres()
406 struct dlm_lock_resource *res; in dlm_migrate_all_locks()
422 res = hlist_entry(iter, struct dlm_lock_resource, in dlm_migrate_all_locks()
[all …]
/linux-6.6.21/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 …]