Home
last modified time | relevance | path

Searched refs:dlm_ls (Results 1 – 25 of 25) sorted by relevance

/linux/fs/dlm/
A Dlock.h15 void dlm_dump_rsb_name(struct dlm_ls *ls, char *name, int len);
24 void dlm_scan_rsbs(struct dlm_ls *ls);
25 int dlm_lock_recovery_try(struct dlm_ls *ls);
26 void dlm_unlock_recovery(struct dlm_ls *ls);
27 void dlm_scan_waiters(struct dlm_ls *ls);
28 void dlm_scan_timeout(struct dlm_ls *ls);
29 void dlm_adjust_timeouts(struct dlm_ls *ls);
36 void dlm_recover_purge(struct dlm_ls *ls);
38 void dlm_recover_grant(struct dlm_ls *ls);
39 int dlm_recover_waiters_post(struct dlm_ls *ls);
[all …]
A Drecover.h15 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls));
16 uint32_t dlm_recover_status(struct dlm_ls *ls);
18 int dlm_recover_members_wait(struct dlm_ls *ls);
20 int dlm_recover_locks_wait(struct dlm_ls *ls);
21 int dlm_recover_done_wait(struct dlm_ls *ls);
22 int dlm_recover_masters(struct dlm_ls *ls);
24 int dlm_recover_locks(struct dlm_ls *ls);
26 int dlm_create_root_list(struct dlm_ls *ls);
27 void dlm_release_root_list(struct dlm_ls *ls);
28 void dlm_clear_toss(struct dlm_ls *ls);
[all …]
A Dmember.h14 int dlm_ls_stop(struct dlm_ls *ls);
15 int dlm_ls_start(struct dlm_ls *ls);
16 void dlm_clear_members(struct dlm_ls *ls);
17 void dlm_clear_members_gone(struct dlm_ls *ls);
19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
22 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc,
24 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc);
25 int dlm_slots_copy_in(struct dlm_ls *ls);
26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
[all …]
A Dlockspace.c167 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show()
175 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store()
182 struct dlm_ls *ls = container_of(k, struct dlm_ls, ls_kobj); in lockspace_kobj_release()
222 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_uevent()
254 struct dlm_ls *ls; in find_ls_to_scan()
270 struct dlm_ls *ls; in dlm_scand()
311 struct dlm_ls *ls; in dlm_find_lockspace_global()
329 struct dlm_ls *ls; in dlm_find_lockspace_local()
346 struct dlm_ls *ls; in dlm_find_lockspace_device()
413 struct dlm_ls *ls; in new_lockspace()
[all …]
A Drecover.c42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function()
252 struct dlm_ls *ls = r->res_ls; in recover_list_add()
265 struct dlm_ls *ls = r->res_ls; in recover_list_del()
309 struct dlm_ls *ls = r->res_ls; in recover_idr_add()
334 struct dlm_ls *ls = r->res_ls; in recover_idr_del()
446 struct dlm_ls *ls = r->res_ls; in recover_master()
523 int dlm_recover_masters(struct dlm_ls *ls) in dlm_recover_masters()
659 int dlm_recover_locks(struct dlm_ls *ls) in dlm_recover_locks()
821 struct dlm_ls *ls = r->res_ls; in recover_conversion()
858 void dlm_recover_rsbs(struct dlm_ls *ls) in dlm_recover_rsbs()
[all …]
A Drcom.c25 static int rcom_response(struct dlm_ls *ls) in rcom_response()
30 static void _create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in _create_rcom()
52 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom()
71 static int create_rcom_stateless(struct dlm_ls *ls, int to_nodeid, int type, in create_rcom_stateless()
105 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status()
115 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config()
148 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) in allow_sync_reply()
156 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply()
175 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status()
359 struct dlm_ls *ls = r->res_ls; in dlm_send_rcom_lookup()
[all …]
A Dast.h17 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb,
23 int dlm_callback_start(struct dlm_ls *ls);
24 void dlm_callback_stop(struct dlm_ls *ls);
25 void dlm_callback_suspend(struct dlm_ls *ls);
26 void dlm_callback_resume(struct dlm_ls *ls);
A Dmember.c28 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save()
97 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in()
350 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member()
357 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed()
383 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members()
389 void dlm_clear_members_gone(struct dlm_ls *ls) in dlm_clear_members_gone()
394 static void make_member_array(struct dlm_ls *ls) in make_member_array()
439 static int ping_members(struct dlm_ls *ls) in ping_members()
493 void dlm_lsop_recover_done(struct dlm_ls *ls) in dlm_lsop_recover_done()
612 int dlm_ls_stop(struct dlm_ls *ls) in dlm_ls_stop()
[all …]
A Drecoverd.h15 void dlm_recoverd_stop(struct dlm_ls *ls);
16 int dlm_recoverd_start(struct dlm_ls *ls);
17 void dlm_recoverd_suspend(struct dlm_ls *ls);
18 void dlm_recoverd_resume(struct dlm_ls *ls);
A Drequestqueue.h14 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms);
15 int dlm_process_requestqueue(struct dlm_ls *ls);
16 void dlm_wait_requestqueue(struct dlm_ls *ls);
17 void dlm_purge_requestqueue(struct dlm_ls *ls);
A Dlockspace.h17 struct dlm_ls *dlm_find_lockspace_global(uint32_t id);
18 struct dlm_ls *dlm_find_lockspace_local(void *id);
19 struct dlm_ls *dlm_find_lockspace_device(int minor);
20 void dlm_put_lockspace(struct dlm_ls *ls);
A Ddir.h16 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash);
17 void dlm_recover_dir_nodeid(struct dlm_ls *ls);
18 int dlm_recover_directory(struct dlm_ls *ls);
19 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen,
A Drecoverd.c31 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking()
51 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) in ls_recover()
258 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery()
278 struct dlm_ls *ls; in dlm_recoverd()
326 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start()
339 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop()
344 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend()
350 void dlm_recoverd_resume(struct dlm_ls *ls) in dlm_recoverd_resume()
A Drequestqueue.c32 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue()
63 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue()
116 void dlm_wait_requestqueue(struct dlm_ls *ls) in dlm_wait_requestqueue()
128 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request()
153 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
A Ddlm_internal.h50 struct dlm_ls;
295 struct dlm_ls *res_ls; /* the lockspace */
550 struct dlm_ls { struct
731 static inline int dlm_locking_stopped(struct dlm_ls *ls) in dlm_locking_stopped()
736 static inline int dlm_recovery_stopped(struct dlm_ls *ls) in dlm_recovery_stopped()
741 static inline int dlm_no_directory(struct dlm_ls *ls) in dlm_no_directory()
755 void dlm_create_debug_file(struct dlm_ls *ls);
756 void dlm_delete_debug_file(struct dlm_ls *ls);
762 static inline void dlm_create_debug_file(struct dlm_ls *ls) { } in dlm_create_debug_file()
763 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } in dlm_delete_debug_file()
A Dlock.c208 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery()
349 struct dlm_ls *ls = r->res_ls; in put_rsb()
1126 struct dlm_ls *ls = r->res_ls; in toss_rsb()
1269 struct dlm_ls *ls; in dlm_put_lkb()
1393 void dlm_scan_waiters(struct dlm_ls *ls) in dlm_scan_waiters()
1627 struct dlm_ls *ls = r->res_ls; in wait_pending_remove()
1800 void dlm_scan_rsbs(struct dlm_ls *ls) in dlm_scan_rsbs()
3421 struct dlm_ls *ls; in dlm_lock()
3469 struct dlm_ls *ls; in dlm_unlock()
5022 struct dlm_ls *ls; in dlm_receive_buffer()
[all …]
A Dast.c54 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_lkb_callback()
112 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, in dlm_rem_lkb_callback()
176 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_cb()
216 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work()
268 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start()
279 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop()
285 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend()
295 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
A Dmemory.h17 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls);
19 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
21 char *dlm_allocate_lvb(struct dlm_ls *ls);
A Drcom.h15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags);
16 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len);
19 void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid);
A Dmemory.c43 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb()
56 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb()
71 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
A Ddir.c33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid()
50 void dlm_recover_dir_nodeid(struct dlm_ls *ls) in dlm_recover_dir_nodeid()
61 int dlm_recover_directory(struct dlm_ls *ls) in dlm_recover_directory()
200 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, char *name, int len) in find_rsb_root()
236 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, in dlm_copy_master_names()
A Duser.c178 struct dlm_ls *ls; in dlm_user_add_ast()
239 struct dlm_ls *ls; in device_user_lock()
293 struct dlm_ls *ls; in device_user_unlock()
322 struct dlm_ls *ls; in device_user_deadlock()
335 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register()
367 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister()
383 struct dlm_ls *ls; in device_user_purge()
399 struct dlm_ls *ls; in device_create_lockspace()
429 struct dlm_ls *ls; in device_remove_lockspace()
633 struct dlm_ls *ls; in device_open()
[all …]
A Dplock.c77 static void do_unlock_close(struct dlm_ls *ls, u64 number, in do_unlock_close()
104 struct dlm_ls *ls; in dlm_posix_lock()
244 struct dlm_ls *ls; in dlm_posix_unlock()
318 struct dlm_ls *ls; in dlm_posix_get()
A Duser.h13 int dlm_device_deregister(struct dlm_ls *ls);
A Ddebug_fs.c425 struct dlm_ls *ls = seq->private; in table_seq_start()
503 struct dlm_ls *ls = seq->private; in table_seq_next()
704 struct dlm_ls *ls = file->private_data; in waiters_read()
734 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file()
794 void dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()

Completed in 54 milliseconds