/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/dlm/ |
H A D | recover.h | 17 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)); 18 uint32_t dlm_recover_status(struct dlm_ls *ls); 19 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status); 20 int dlm_recover_members_wait(struct dlm_ls *ls); 21 int dlm_recover_directory_wait(struct dlm_ls *ls); 22 int dlm_recover_locks_wait(struct dlm_ls *ls); 23 int dlm_recover_done_wait(struct dlm_ls *ls); 24 int dlm_recover_masters(struct dlm_ls *ls); 25 int dlm_recover_master_reply(struct dlm_ls *l [all...] |
H A D | recoverd.h | 17 void dlm_recoverd_kick(struct dlm_ls *ls); 18 void dlm_recoverd_stop(struct dlm_ls *ls); 19 int dlm_recoverd_start(struct dlm_ls *ls); 20 void dlm_recoverd_suspend(struct dlm_ls *ls); 21 void dlm_recoverd_resume(struct dlm_ls *ls);
|
H A D | lockspace.h | 19 struct dlm_ls *dlm_find_lockspace_global(uint32_t id); 20 struct dlm_ls *dlm_find_lockspace_local(void *id); 21 struct dlm_ls *dlm_find_lockspace_device(int minor); 22 void dlm_put_lockspace(struct dlm_ls *ls);
|
H A D | requestqueue.h | 16 int dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd); 17 int dlm_process_requestqueue(struct dlm_ls *ls); 18 void dlm_wait_requestqueue(struct dlm_ls *ls); 19 void dlm_purge_requestqueue(struct dlm_ls *ls);
|
H A D | member.h | 16 int dlm_ls_stop(struct dlm_ls *ls); 17 int dlm_ls_start(struct dlm_ls *ls); 18 void dlm_clear_members(struct dlm_ls *ls); 19 void dlm_clear_members_gone(struct dlm_ls *ls); 20 int dlm_recover_members(struct dlm_ls *ls, struct dlm_recover *rv,int *neg_out); 21 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
|
H A D | dir.h | 19 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash); 20 void dlm_dir_remove_entry(struct dlm_ls *ls, int nodeid, char *name, int len); 21 void dlm_dir_clear(struct dlm_ls *ls); 22 void dlm_clear_free_entries(struct dlm_ls *ls); 23 int dlm_recover_directory(struct dlm_ls *ls); 24 int dlm_dir_lookup(struct dlm_ls *ls, int nodeid, char *name, int namelen, 26 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen,
|
H A D | memory.h | 19 struct dlm_rsb *allocate_rsb(struct dlm_ls *ls, int namelen); 21 struct dlm_lkb *allocate_lkb(struct dlm_ls *ls); 23 struct dlm_direntry *allocate_direntry(struct dlm_ls *ls, int namelen); 25 char *allocate_lvb(struct dlm_ls *ls);
|
H A D | lock.h | 21 int dlm_find_rsb(struct dlm_ls *ls, char *name, int namelen, 26 void dlm_scan_rsbs(struct dlm_ls *ls); 28 int dlm_purge_locks(struct dlm_ls *ls); 30 void dlm_grant_after_purge(struct dlm_ls *ls); 31 int dlm_recover_waiters_post(struct dlm_ls *ls); 32 void dlm_recover_waiters_pre(struct dlm_ls *ls); 33 int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc); 34 int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc); 36 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode, 38 int dlm_user_convert(struct dlm_ls *l [all...] |
H A D | rcom.h | 17 int dlm_rcom_status(struct dlm_ls *ls, int nodeid); 18 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len);
|
H A D | lockspace.c | 28 int dlm_create_debug_file(struct dlm_ls *ls); 29 void dlm_delete_debug_file(struct dlm_ls *ls); 31 static inline int dlm_create_debug_file(struct dlm_ls *ls) { return 0; } 32 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } 42 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) 65 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) 73 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) 78 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) 84 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) 90 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *l [all...] |
H A D | recoverd.c | 29 static int enable_locking(struct dlm_ls *ls, uint64_t seq) 43 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) 234 static void do_ls_recovery(struct dlm_ls *ls) 254 struct dlm_ls *ls; 276 void dlm_recoverd_kick(struct dlm_ls *ls) 282 int dlm_recoverd_start(struct dlm_ls *ls) 295 void dlm_recoverd_stop(struct dlm_ls *ls) 300 void dlm_recoverd_suspend(struct dlm_ls *ls) 306 void dlm_recoverd_resume(struct dlm_ls *ls)
|
H A D | memory.c | 38 char *allocate_lvb(struct dlm_ls *ls) 54 struct dlm_rsb *allocate_rsb(struct dlm_ls *ls, int namelen) 73 struct dlm_lkb *allocate_lkb(struct dlm_ls *ls) 95 struct dlm_direntry *allocate_direntry(struct dlm_ls *ls, int namelen)
|
H A D | member.c | 25 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) 48 static int dlm_add_member(struct dlm_ls *ls, int nodeid) 68 static void dlm_remove_member(struct dlm_ls *ls, struct dlm_member *memb) 74 static int dlm_is_member(struct dlm_ls *ls, int nodeid) 85 int dlm_is_removed(struct dlm_ls *ls, int nodeid) 107 void dlm_clear_members(struct dlm_ls *ls) 113 void dlm_clear_members_gone(struct dlm_ls *ls) 118 static void make_member_array(struct dlm_ls *ls) 164 static int ping_members(struct dlm_ls *ls) 183 int dlm_recover_members(struct dlm_ls *l [all...] |
H A D | requestqueue.c | 33 int dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd) 65 int dlm_process_requestqueue(struct dlm_ls *ls) 115 void dlm_wait_requestqueue(struct dlm_ls *ls) 129 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) 182 void dlm_purge_requestqueue(struct dlm_ls *ls)
|
H A D | recover.c | 46 struct dlm_ls *ls = (struct dlm_ls *) data; 51 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) 79 uint32_t dlm_recover_status(struct dlm_ls *ls) 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) 124 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status) 149 static int wait_status(struct dlm_ls *ls, uint32_t status) 164 int dlm_recover_members_wait(struct dlm_ls *l [all...] |
H A D | dir.c | 27 static void put_free_de(struct dlm_ls *ls, struct dlm_direntry *de) 34 static struct dlm_direntry *get_free_de(struct dlm_ls *ls, int len) 56 void dlm_clear_free_entries(struct dlm_ls *ls) 79 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) 120 static inline uint32_t dir_hash(struct dlm_ls *ls, char *name, int len) 130 static void add_entry_to_hash(struct dlm_ls *ls, struct dlm_direntry *de) 138 static struct dlm_direntry *search_bucket(struct dlm_ls *ls, char *name, 152 void dlm_dir_remove_entry(struct dlm_ls *ls, int nodeid, char *name, int namelen) 179 void dlm_dir_clear(struct dlm_ls *ls) 199 int dlm_recover_directory(struct dlm_ls *l [all...] |
H A D | rcom.c | 28 static int rcom_response(struct dlm_ls *ls) 33 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, 68 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, 79 static void make_config(struct dlm_ls *ls, struct rcom_config *rf) 85 static int check_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) 106 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) 114 static void disallow_sync_reply(struct dlm_ls *ls) 122 int dlm_rcom_status(struct dlm_ls *ls, int nodeid) 163 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in) 181 static void receive_sync_reply(struct dlm_ls *l [all...] |
H A D | lock.c | 88 static void do_purge(struct dlm_ls *ls, int nodeid, int pid); 197 static inline void lock_recovery(struct dlm_ls *ls) 202 static inline void unlock_recovery(struct dlm_ls *ls) 207 static inline int lock_recovery_try(struct dlm_ls *ls) 317 static struct dlm_rsb *create_rsb(struct dlm_ls *ls, char *name, int len) 359 static int _search_rsb(struct dlm_ls *ls, char *name, int len, int b, 394 static int search_rsb(struct dlm_ls *ls, char *name, int len, int b, 418 static int find_rsb(struct dlm_ls *ls, char *name, int namelen, 476 int dlm_find_rsb(struct dlm_ls *ls, char *name, int namelen, 498 struct dlm_ls *l [all...] |
H A D | debug_fs.c | 29 struct dlm_ls *ls; 159 struct dlm_ls *ls = ri->ls; 201 static struct rsb_iter *rsb_iter_init(struct dlm_ls *ls) 311 struct dlm_ls *ls = file->private_data; 340 int dlm_create_debug_file(struct dlm_ls *ls) 368 void dlm_delete_debug_file(struct dlm_ls *ls)
|
H A D | dlm_internal.h | 51 struct dlm_ls; 253 struct dlm_ls *res_ls; /* the lockspace */ 422 struct dlm_ls { struct 537 static inline int dlm_locking_stopped(struct dlm_ls *ls) 542 static inline int dlm_recovery_stopped(struct dlm_ls *ls) 547 static inline int dlm_no_directory(struct dlm_ls *ls)
|
H A D | ast.c | 58 struct dlm_ls *ls = NULL;
|
H A D | user.c | 138 struct dlm_ls *ls; 233 struct dlm_ls *ls; 276 struct dlm_ls *ls; 302 static int create_misc_device(struct dlm_ls *ls, char *name) 328 struct dlm_ls *ls; 344 struct dlm_ls *ls; 373 struct dlm_ls *ls; 571 struct dlm_ls *ls; 598 struct dlm_ls *ls;
|