Home
last modified time | relevance | path

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

/fs/ocfs2/dlm/
Ddlmcommon.h77 struct dlm_lock_resource *mleres;
209 struct dlm_lock_resource;
222 struct dlm_lock_resource *lockres;
229 struct dlm_lock_resource *lockres;
237 struct dlm_lock_resource *deref_res;
292 struct dlm_lock_resource struct
361 struct dlm_lock_resource *lockres;
418 dlm_list_idx_to_ptr(struct dlm_lock_resource *res, enum dlm_lockres_list idx) in dlm_list_idx_to_ptr()
797 __dlm_lockres_state_to_status(struct dlm_lock_resource *res) in __dlm_lockres_state_to_status()
834 struct dlm_lock_resource *res);
[all …]
Ddlmunlock.c59 struct dlm_lock_resource *res,
64 struct dlm_lock_resource *res,
70 struct dlm_lock_resource *res,
99 struct dlm_lock_resource *res, in dlmunlock_common()
264 void dlm_commit_pending_unlock(struct dlm_lock_resource *res, in dlm_commit_pending_unlock()
272 void dlm_commit_pending_cancel(struct dlm_lock_resource *res, in dlm_commit_pending_cancel()
281 struct dlm_lock_resource *res, in dlmunlock_master()
291 struct dlm_lock_resource *res, in dlmunlock_remote()
307 struct dlm_lock_resource *res, in dlm_send_remote_unlock_request()
390 struct dlm_lock_resource *res = NULL; in dlm_unlock_lock_handler()
[all …]
Ddlmmaster.c66 struct dlm_lock_resource *res,
93 struct dlm_lock_resource *res,
102 static int dlm_do_master_request(struct dlm_lock_resource *res,
107 struct dlm_lock_resource *res,
111 struct dlm_lock_resource *res,
115 struct dlm_lock_resource *res,
122 struct dlm_lock_resource *res);
124 struct dlm_lock_resource *res);
126 struct dlm_lock_resource *res,
129 struct dlm_lock_resource *res);
[all …]
Ddlmthread.c61 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags) in __dlm_wait_on_lockres_flags()
80 int __dlm_lockres_has_locks(struct dlm_lock_resource *res) in __dlm_lockres_has_locks()
93 int __dlm_lockres_unused(struct dlm_lock_resource *res) in __dlm_lockres_unused()
125 struct dlm_lock_resource *res) in __dlm_lockres_calc_usage()
151 struct dlm_lock_resource *res) in dlm_lockres_calc_usage()
163 struct dlm_lock_resource *res) in dlm_purge_lockres()
229 struct dlm_lock_resource *lockres; in dlm_run_purge_list()
238 struct dlm_lock_resource, purge); in dlm_run_purge_list()
286 struct dlm_lock_resource *res) in dlm_shuffle_lists()
451 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread()
[all …]
Ddlmast.c51 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
93 struct dlm_lock_resource *res; in __dlm_queue_ast()
159 struct dlm_lock_resource *res; 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()
267 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast()
291 struct dlm_lock_resource *res = NULL; in dlm_proxy_ast_handler()
448 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_proxy_ast_msg()
Ddlmlock.c61 struct dlm_lock_resource *res,
91 static int dlm_can_grant_new_lock(struct dlm_lock_resource *res, in dlm_can_grant_new_lock()
125 struct dlm_lock_resource *res, in dlmlock_master()
203 void dlm_revert_pending_lock(struct dlm_lock_resource *res, in dlm_revert_pending_lock()
220 struct dlm_lock_resource *res, in dlmlock_remote()
306 struct dlm_lock_resource *res, in dlm_send_remote_lock_request()
379 struct dlm_lock_resource *res) in dlm_lock_attach_lockres()
388 struct dlm_lock_resource *res; in dlm_lock_detach_lockres()
467 struct dlm_lock_resource *res = NULL; in dlm_create_lock_handler()
568 struct dlm_lock_resource *res = NULL; in dlmlock()
Ddlmconvert.c59 struct dlm_lock_resource *res,
64 struct dlm_lock_resource *res,
77 struct dlm_lock_resource *res, in dlmconvert_master()
120 struct dlm_lock_resource *res, in __dlmconvert_master()
247 void dlm_revert_pending_convert(struct dlm_lock_resource *res, in dlm_revert_pending_convert()
264 struct dlm_lock_resource *res, in dlmconvert_remote()
346 struct dlm_lock_resource *res, in dlm_send_remote_convert_request()
426 struct dlm_lock_resource *res = NULL; in dlm_convert_lock_handler()
Ddlmconvert.h29 struct dlm_lock_resource *res,
32 struct dlm_lock_resource *res,
Ddlmrecovery.c70 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res);
78 struct dlm_lock_resource *res,
81 struct dlm_lock_resource *res,
98 struct dlm_lock_resource *res,
258 struct dlm_lock_resource *res; in dlm_print_reco_node_status()
873 struct dlm_lock_resource *res; in dlm_request_all_locks_worker()
1045 struct dlm_lock_resource *res, *next; in dlm_move_reco_locks_to_list()
1084 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res) in dlm_num_locks_in_lockres()
1102 struct dlm_lock_resource *res, in dlm_send_mig_lockres_msg()
1266 int dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_one_lockres()
[all …]
Ddlmdebug.c50 void dlm_print_one_lock_resource(struct dlm_lock_resource *res) in dlm_print_one_lock_resource()
57 static void dlm_print_lockres_refmap(struct dlm_lock_resource *res) in dlm_print_lockres_refmap()
97 void __dlm_print_one_lock_resource(struct dlm_lock_resource *res) in __dlm_print_one_lock_resource()
391 struct dlm_lock_resource *res; in debug_purgelist_print()
530 static int dump_lockres(struct dlm_lock_resource *res, char *buf, int len) in dump_lockres()
587 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
588 struct dlm_lock_resource *res = NULL; in lockres_seq_start()
Ddlmdomain.c160 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()
205 struct dlm_lock_resource *res = hlist_entry(list, in __dlm_lookup_lockres_full()
206 struct dlm_lock_resource, hash_node); in __dlm_lookup_lockres_full()
225 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
230 struct dlm_lock_resource *res = NULL; in __dlm_lookup_lockres()
250 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
254 struct dlm_lock_resource *res; in dlm_lookup_lockres()
433 struct dlm_lock_resource *res; in dlm_migrate_all_locks()
[all …]
Ddlmdebug.h44 struct dlm_lock_resource *dl_res;