Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/dlm/
H 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);
17 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status);
18 int dlm_recover_members_wait(struct dlm_ls *ls);
19 int dlm_recover_directory_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);
23 int dlm_recover_master_reply(struct dlm_ls *l
[all...]
H A Dlock.h15 void dlm_dump_rsb_name(struct dlm_ls *ls, char *name, int len);
17 void dlm_receive_message_saved(struct dlm_ls *ls, struct dlm_message *ms,
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);
30 int dlm_master_lookup(struct dlm_ls *ls, int nodeid, char *name, int len,
36 void dlm_recover_purge(struct dlm_ls *l
[all...]
H 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);
18 int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out);
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 *l
[all...]
H A Drecover.c42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function()
74 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status()
83 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status()
88 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status()
95 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all()
128 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low()
154 static int wait_status(struct dlm_ls *ls, uint32_t status) in wait_status()
169 int dlm_recover_members_wait(struct dlm_ls *ls) in dlm_recover_members_wait()
212 int dlm_recover_directory_wait(struct dlm_ls *l
[all...]
H A Dlockspace.c35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
61 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
72 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
77 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
86 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
91 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
103 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
109 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
116 ssize_t (*show)(struct dlm_ls *, char *);
117 ssize_t (*store)(struct dlm_ls *, cons
[all...]
H 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);
H 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);
H 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);
H 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);
H 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,
H A Dmember.c27 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save()
39 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_slots_copy_out()
61 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots()
96 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in()
164 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign()
290 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member()
314 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member()
348 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member()
355 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed()
373 void dlm_clear_members(struct dlm_ls *l
[all...]
H A Drcom.c25 static int rcom_response(struct dlm_ls *ls) in rcom_response()
30 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom()
65 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom()
72 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status()
82 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config()
93 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config()
115 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) in allow_sync_reply()
123 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply()
142 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status()
192 static void receive_rcom_status(struct dlm_ls *l
[all...]
H 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()
256 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery()
276 struct dlm_ls *ls; in dlm_recoverd()
324 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start()
337 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop()
342 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend()
348 void dlm_recoverd_resume(struct dlm_ls *ls) in dlm_recoverd_resume()
/kernel/linux/linux-6.6/fs/dlm/
H 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);
17 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status);
18 int dlm_recover_members_wait(struct dlm_ls *ls, uint64_t seq);
19 int dlm_recover_directory_wait(struct dlm_ls *ls, uint64_t seq);
20 int dlm_recover_locks_wait(struct dlm_ls *ls, uint64_t seq);
21 int dlm_recover_done_wait(struct dlm_ls *ls, uint64_t seq);
22 int dlm_recover_masters(struct dlm_ls *ls, uint64_t seq);
23 int dlm_recover_master_reply(struct dlm_ls *l
[all...]
H A Dlock.h15 void dlm_dump_rsb_name(struct dlm_ls *ls, const char *name, int len);
17 void dlm_receive_message_saved(struct dlm_ls *ls, const struct dlm_message *ms,
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);
28 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name,
34 void dlm_recover_purge(struct dlm_ls *ls);
36 void dlm_recover_grant(struct dlm_ls *ls);
37 int dlm_recover_waiters_post(struct dlm_ls *ls);
38 void dlm_recover_waiters_pre(struct dlm_ls *l
[all...]
H 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);
18 int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out);
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 *l
[all...]
H A Drecover.c42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function()
74 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status()
83 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status()
88 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status()
95 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all()
128 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low()
154 static int wait_status(struct dlm_ls *ls, uint32_t status, uint64_t seq) in wait_status()
169 int dlm_recover_members_wait(struct dlm_ls *ls, uint64_t seq) in dlm_recover_members_wait()
213 int dlm_recover_directory_wait(struct dlm_ls *l
[all...]
H A Dlockspace.c35 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store()
61 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store()
72 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show()
77 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store()
86 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show()
91 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store()
103 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show()
109 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show()
116 ssize_t (*show)(struct dlm_ls *, char *);
117 ssize_t (*store)(struct dlm_ls *, cons
[all...]
H 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);
H A Drequestqueue.h14 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid,
16 int dlm_process_requestqueue(struct dlm_ls *ls);
17 void dlm_wait_requestqueue(struct dlm_ls *ls);
18 void dlm_purge_requestqueue(struct dlm_ls *ls);
H 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, uint64_t seq);
19 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen,
H A Dlockspace.h25 struct dlm_ls *dlm_find_lockspace_global(uint32_t id);
26 struct dlm_ls *dlm_find_lockspace_local(void *id);
27 struct dlm_ls *dlm_find_lockspace_device(int minor);
28 void dlm_put_lockspace(struct dlm_ls *ls);
H 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()
50 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom()
70 static int create_rcom_stateless(struct dlm_ls *ls, int to_nodeid, int type, in create_rcom_stateless()
102 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status()
112 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config()
123 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config()
145 static void allow_sync_reply(struct dlm_ls *ls, __le64 *new_seq) in allow_sync_reply()
153 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply()
172 int dlm_rcom_status(struct dlm_ls *l
[all...]
H A Dast.h30 int dlm_callback_start(struct dlm_ls *ls);
31 void dlm_callback_stop(struct dlm_ls *ls);
32 void dlm_callback_suspend(struct dlm_ls *ls);
33 void dlm_callback_resume(struct dlm_ls *ls);
H A Dmember.c28 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save()
40 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_slots_copy_out()
62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots()
97 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in()
160 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign()
286 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member()
325 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member()
360 int dlm_is_member(struct dlm_ls *ls, int nodeid) in dlm_is_member()
367 int dlm_is_removed(struct dlm_ls *ls, int nodeid) in dlm_is_removed()
396 void dlm_clear_members(struct dlm_ls *l
[all...]

Completed in 8 milliseconds

123