Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ocfs2/dlm/
Ddlmcommon.h77 struct dlm_lock_resource *mleres;
208 struct dlm_lock_resource;
221 struct dlm_lock_resource *lockres;
228 struct dlm_lock_resource *lockres;
236 struct dlm_lock_resource *deref_res;
291 struct dlm_lock_resource struct
360 struct dlm_lock_resource *lockres;
405 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()
820 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 …]
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()
123 struct dlm_lock_resource *res) in __dlm_lockres_calc_usage()
149 struct dlm_lock_resource *res) in dlm_lockres_calc_usage()
161 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 …]
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 …]
Ddlmconvert.h29 struct dlm_lock_resource *res,
32 struct dlm_lock_resource *res,
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()
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()
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()
207 void dlm_revert_pending_lock(struct dlm_lock_resource *res, in dlm_revert_pending_lock()
224 struct dlm_lock_resource *res, in dlmlock_remote()
304 struct dlm_lock_resource *res, in dlm_send_remote_lock_request()
381 struct dlm_lock_resource *res) in dlm_lock_attach_lockres()
390 struct dlm_lock_resource *res; in dlm_lock_detach_lockres()
469 struct dlm_lock_resource *res = NULL; in dlm_create_lock_handler()
570 struct dlm_lock_resource *res = NULL; in dlmlock()
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()
868 struct dlm_lock_resource *res; in dlm_request_all_locks_worker()
1040 struct dlm_lock_resource *res, *next; in dlm_move_reco_locks_to_list()
1079 static inline int dlm_num_locks_in_lockres(struct dlm_lock_resource *res) in dlm_num_locks_in_lockres()
1097 struct dlm_lock_resource *res, in dlm_send_mig_lockres_msg()
1259 int dlm_send_one_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_one_lockres()
[all …]
Ddlmdebug.h44 struct dlm_lock_resource *dl_res;
Ddlmdebug.c49 void dlm_print_one_lock_resource(struct dlm_lock_resource *res) in dlm_print_one_lock_resource()
56 static void dlm_print_lockres_refmap(struct dlm_lock_resource *res) in dlm_print_lockres_refmap()
96 void __dlm_print_one_lock_resource(struct dlm_lock_resource *res) in __dlm_print_one_lock_resource()
390 struct dlm_lock_resource *res; in debug_purgelist_print()
529 static int dump_lockres(struct dlm_lock_resource *res, char *buf, int len) in dump_lockres()
586 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
587 struct dlm_lock_resource *res = NULL; in lockres_seq_start()
Ddlmdomain.c158 void __dlm_unhash_lockres(struct dlm_lock_resource *lockres) in __dlm_unhash_lockres()
167 struct dlm_lock_resource *res) in __dlm_insert_lockres()
183 struct dlm_lock_resource * __dlm_lookup_lockres_full(struct dlm_ctxt *dlm, in __dlm_lookup_lockres_full()
198 struct dlm_lock_resource *res = hlist_entry(list, in __dlm_lookup_lockres_full()
199 struct dlm_lock_resource, hash_node); in __dlm_lookup_lockres_full()
218 struct dlm_lock_resource * __dlm_lookup_lockres(struct dlm_ctxt *dlm, in __dlm_lookup_lockres()
223 struct dlm_lock_resource *res = NULL; in __dlm_lookup_lockres()
243 struct dlm_lock_resource * dlm_lookup_lockres(struct dlm_ctxt *dlm, in dlm_lookup_lockres()
247 struct dlm_lock_resource *res; in dlm_lookup_lockres()
428 struct dlm_lock_resource *res; in dlm_migrate_all_locks()
[all …]