/linux-master/include/trace/events/ |
H A D | dlm.h | 95 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, const void *name, 137 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, const void *name, 257 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags), 292 TP_PROTO(struct dlm_ls *ls, struct dlm_lkb *lkb, __u32 flags,
|
/linux-master/fs/dlm/ |
H A D | user.c | 181 struct dlm_ls *ls; 257 struct dlm_ls *ls; 308 struct dlm_ls *ls; 337 struct dlm_ls *ls; 350 static int dlm_device_register(struct dlm_ls *ls, char *name) 382 int dlm_device_deregister(struct dlm_ls *ls) 398 struct dlm_ls *ls; 414 struct dlm_ls *ls; 444 struct dlm_ls *ls; 648 struct dlm_ls *l [all...] |
H A D | recoverd.c | 23 static int dlm_create_masters_list(struct dlm_ls *ls) 49 static void dlm_release_masters_list(struct dlm_ls *ls) 61 static void dlm_create_root_list(struct dlm_ls *ls, struct list_head *root_list) 92 static int enable_locking(struct dlm_ls *ls, uint64_t seq) 122 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) 347 static void do_ls_recovery(struct dlm_ls *ls) 392 struct dlm_ls *ls; 440 int dlm_recoverd_start(struct dlm_ls *ls) 453 void dlm_recoverd_stop(struct dlm_ls *ls) 458 void dlm_recoverd_suspend(struct dlm_ls *l [all...] |
H A D | requestqueue.c | 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, 65 int dlm_process_requestqueue(struct dlm_ls *ls) 108 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) 133 void dlm_purge_requestqueue(struct dlm_ls *ls)
|
H A D | recover.h | 15 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, 24 int dlm_recover_master_reply(struct dlm_ls *l [all...] |
H A D | rcom.c | 25 static int rcom_response(struct dlm_ls *ls) 30 static void _create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, 50 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, 70 static int create_rcom_stateless(struct dlm_ls *ls, int to_nodeid, int type, 101 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, 111 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, 122 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) 144 static void allow_sync_reply(struct dlm_ls *ls, __le64 *new_seq) 152 static void disallow_sync_reply(struct dlm_ls *ls) 171 int dlm_rcom_status(struct dlm_ls *l [all...] |
H A D | recover.c | 42 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) 74 uint32_t dlm_recover_status(struct dlm_ls *ls) 83 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) 88 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) 95 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, 128 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, 154 static int wait_status(struct dlm_ls *ls, uint32_t status, uint64_t seq) 169 int dlm_recover_members_wait(struct dlm_ls *ls, uint64_t seq) 213 int dlm_recover_directory_wait(struct dlm_ls *l [all...] |
H A D | memory.c | 83 char *dlm_allocate_lvb(struct dlm_ls *ls) 96 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) 111 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls)
|
H A D | memory.h | 17 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);
|
H A D | member.c | 28 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, 40 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) 62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, 97 int dlm_slots_copy_in(struct dlm_ls *ls) 160 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, 286 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) 325 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) 360 int dlm_is_member(struct dlm_ls *ls, int nodeid) 367 int dlm_is_removed(struct dlm_ls *ls, int nodeid) 396 void dlm_clear_members(struct dlm_ls *l [all...] |
H A D | lockspace.c | 33 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) 59 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) 70 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) 75 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) 84 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) 89 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) 101 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) 107 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) 114 ssize_t (*show)(struct dlm_ls *, char *); 115 ssize_t (*store)(struct dlm_ls *, cons [all...] |
H A D | lock.c | 91 static void do_purge(struct dlm_ls *ls, int nodeid, int pid); 204 void dlm_lock_recovery(struct dlm_ls *ls) 209 void dlm_unlock_recovery(struct dlm_ls *ls) 214 int dlm_lock_recovery_try(struct dlm_ls *ls) 378 struct dlm_ls *ls = r->res_ls; 392 static int pre_rsb_struct(struct dlm_ls *ls) 428 static void __rsb_mod_timer(struct dlm_ls *ls, unsigned long jiffies) 440 void dlm_timer_resume(struct dlm_ls *ls) 453 static void rsb_delete_toss_timer(struct dlm_ls *ls, struct dlm_rsb *r) 493 static void rsb_mod_timer(struct dlm_ls *l [all...] |
H A D | lock.h | 16 void dlm_dump_rsb_name(struct dlm_ls *ls, const char *name, int len); 18 void dlm_receive_message_saved(struct dlm_ls *ls, const struct dlm_message *ms, 26 void dlm_scan_rsbs(struct dlm_ls *ls); 27 int dlm_lock_recovery_try(struct dlm_ls *ls); 28 void dlm_lock_recovery(struct dlm_ls *ls); 29 void dlm_unlock_recovery(struct dlm_ls *ls); 30 void dlm_timer_resume(struct dlm_ls *ls); 32 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, 38 void dlm_recover_purge(struct dlm_ls *ls, const struct list_head *root_list); 40 void dlm_recover_grant(struct dlm_ls *l [all...] |
H A D | dlm_internal.h | 46 struct dlm_ls; 311 struct dlm_ls *res_ls; /* the lockspace */ 569 struct dlm_ls { struct 737 static inline int dlm_locking_stopped(struct dlm_ls *ls) 742 static inline int dlm_recovery_stopped(struct dlm_ls *ls) 747 static inline int dlm_no_directory(struct dlm_ls *ls) 828 void dlm_create_debug_file(struct dlm_ls *ls); 829 void dlm_delete_debug_file(struct dlm_ls *ls); 835 static inline void dlm_create_debug_file(struct dlm_ls *ls) { } 836 static inline void dlm_delete_debug_file(struct dlm_ls *l [all...] |
H A D | debug_fs.c | 399 struct dlm_ls *ls = seq->private; 422 struct dlm_ls *ls = seq->private; 435 struct dlm_ls *ls = seq->private; 483 seq->private = inode->i_private; /* the dlm_ls */ 497 seq->private = inode->i_private; /* the dlm_ls */ 507 struct dlm_ls *ls = seq->private; 540 seq->private = inode->i_private; /* the dlm_ls */ 554 seq->private = inode->i_private; /* the dlm_ls */ 597 struct dlm_ls *ls = file->private_data; 631 struct dlm_ls *l [all...] |
H A D | dir.c | 33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) 50 void dlm_recover_dir_nodeid(struct dlm_ls *ls, const struct list_head *root_list) 59 int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq) 197 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, const char *name, 236 static void drop_dir_ctx(struct dlm_ls *ls, int nodeid) 252 static struct dlm_dir_dump *lookup_dir_dump(struct dlm_ls *ls, int nodeid) 268 static struct dlm_dir_dump *init_dir_dump(struct dlm_ls *ls, int nodeid) 297 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen,
|
H A D | dir.h | 16 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash); 17 void dlm_recover_dir_nodeid(struct dlm_ls *ls, 19 int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq); 20 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen,
|
H A D | ast.c | 46 struct dlm_ls *ls = rsb->res_ls; 127 struct dlm_ls *ls = lkb->lkb_resource->res_ls; 162 int dlm_callback_start(struct dlm_ls *ls) 173 void dlm_callback_stop(struct dlm_ls *ls) 179 void dlm_callback_suspend(struct dlm_ls *ls) 192 void dlm_callback_resume(struct dlm_ls *ls)
|
H A D | ast.h | 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 D | plock.c | 126 struct dlm_ls *ls; 291 struct dlm_ls *ls; 364 struct dlm_ls *ls; 425 struct dlm_ls *ls;
|
H A D | requestqueue.h | 14 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 D | rcom.h | 15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, 17 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, 21 void dlm_receive_rcom(struct dlm_ls *ls, const struct dlm_rcom *rc,
|
H A D | member.h | 14 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 D | user.h | 14 int dlm_device_deregister(struct dlm_ls *ls);
|
H A D | lockspace.h | 25 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);
|