| /fs/dlm/ |
| A D | lock.h | 15 void dlm_dump_rsb_name(struct dlm_ls *ls, const char *name, int len); 25 int dlm_lock_recovery_try(struct dlm_ls *ls); 26 void dlm_lock_recovery(struct dlm_ls *ls); 27 void dlm_unlock_recovery(struct dlm_ls *ls); 29 void resume_scan_timer(struct dlm_ls *ls); 39 void dlm_recover_grant(struct dlm_ls *ls); 40 int dlm_recover_waiters_post(struct dlm_ls *ls); 41 void dlm_recover_waiters_pre(struct dlm_ls *ls); 54 int dlm_user_unlock(struct dlm_ls *ls, struct dlm_user_args *ua_tmp, 58 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, [all …]
|
| 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 *ls, const struct dlm_rcom *rc); 25 int dlm_recover_locks(struct dlm_ls *ls, uint64_t seq, [all …]
|
| 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); 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 D | lockspace.c | 114 ssize_t (*show)(struct dlm_ls *, char *); 164 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() 172 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() 211 const struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_uevent() 243 struct dlm_ls *ls; in dlm_find_lockspace_global() 261 struct dlm_ls *ls = lockspace; in dlm_find_lockspace_local() 269 struct dlm_ls *ls; in dlm_find_lockspace_device() 336 struct dlm_ls *ls = container_of(work, struct dlm_ls, ls_free_work); in free_lockspace() 361 struct dlm_ls *ls; in new_lockspace() 794 struct dlm_ls *ls; in dlm_release_lockspace() [all …]
|
| A D | recover.c | 42 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() 253 struct dlm_ls *ls = r->res_ls; in recover_list_add() 266 struct dlm_ls *ls = r->res_ls; in recover_list_del() 296 static int recover_xa_empty(struct dlm_ls *ls) in recover_xa_empty() 310 struct dlm_ls *ls = r->res_ls; in recover_xa_add() 338 struct dlm_ls *ls = r->res_ls; in recover_xa_del() 359 static void recover_xa_clear(struct dlm_ls *ls) in recover_xa_clear() 450 struct dlm_ls *ls = r->res_ls; in recover_master() 819 struct dlm_ls *ls = r->res_ls; in recover_conversion() [all …]
|
| A D | member.c | 28 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() 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() 398 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members() 404 void dlm_clear_members_gone(struct dlm_ls *ls) in dlm_clear_members_gone() 409 static void make_member_array(struct dlm_ls *ls) in make_member_array() 474 static void dlm_lsop_recover_prep(struct dlm_ls *ls) in dlm_lsop_recover_prep() 507 void dlm_lsop_recover_done(struct dlm_ls *ls) in dlm_lsop_recover_done() 620 int dlm_ls_stop(struct dlm_ls *ls) in dlm_ls_stop() [all …]
|
| A D | rcom.c | 25 static int rcom_response(struct dlm_ls *ls) in rcom_response() 101 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status() 111 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() 144 static void allow_sync_reply(struct dlm_ls *ls, __le64 *new_seq) in allow_sync_reply() 152 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply() 223 static void receive_rcom_status(struct dlm_ls *ls, in receive_rcom_status() 307 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, in dlm_rcom_names() 364 struct dlm_ls *ls = r->res_ls; in dlm_send_rcom_lookup() 379 static void receive_rcom_lookup(struct dlm_ls *ls, in receive_rcom_lookup() 411 static void receive_rcom_lookup_reply(struct dlm_ls *ls, in receive_rcom_lookup_reply() [all …]
|
| A D | recoverd.c | 23 static int dlm_create_masters_list(struct dlm_ls *ls) in dlm_create_masters_list() 49 static void dlm_release_masters_list(struct dlm_ls *ls) in dlm_release_masters_list() 61 static void dlm_create_root_list(struct dlm_ls *ls, struct list_head *root_list) in dlm_create_root_list() 92 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking() 122 static int ls_recover(struct dlm_ls *ls, struct dlm_recover *rv) in ls_recover() 347 static void do_ls_recovery(struct dlm_ls *ls) in do_ls_recovery() 392 struct dlm_ls *ls; in dlm_recoverd() 440 int dlm_recoverd_start(struct dlm_ls *ls) in dlm_recoverd_start() 453 void dlm_recoverd_stop(struct dlm_ls *ls) in dlm_recoverd_stop() 458 void dlm_recoverd_suspend(struct dlm_ls *ls) in dlm_recoverd_suspend() [all …]
|
| A D | recoverd.h | 15 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 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);
|
| 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,
|
| A D | lock.c | 204 void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery() 209 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery() 214 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try() 375 struct dlm_ls *ls = r->res_ls; in put_rsb() 405 void resume_scan_timer(struct dlm_ls *ls) in resume_scan_timer() 1434 struct dlm_ls *ls = r->res_ls; in deactivate_rsb() 1603 struct dlm_ls *ls; in dlm_put_lkb() 3383 struct dlm_ls *ls; in dlm_lock() 3435 struct dlm_ls *ls; in dlm_unlock() 4962 struct dlm_ls *ls; in dlm_receive_buffer() [all …]
|
| 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);
|
| A D | ast.h | 22 int dlm_callback_start(struct dlm_ls *ls); 23 void dlm_callback_stop(struct dlm_ls *ls); 24 void dlm_callback_suspend(struct dlm_ls *ls); 25 void dlm_callback_resume(struct dlm_ls *ls);
|
| A D | dir.c | 33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() 50 void dlm_recover_dir_nodeid(struct dlm_ls *ls, const struct list_head *root_list) in dlm_recover_dir_nodeid() 59 int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq) in dlm_recover_directory() 197 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, const char *name, in find_rsb_root() 236 static void drop_dir_ctx(struct dlm_ls *ls, int nodeid) in drop_dir_ctx() 252 static struct dlm_dir_dump *lookup_dir_dump(struct dlm_ls *ls, int nodeid) in lookup_dir_dump() 268 static struct dlm_dir_dump *init_dir_dump(struct dlm_ls *ls, int nodeid) in init_dir_dump() 297 void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, in dlm_copy_master_names()
|
| A D | ast.c | 61 struct dlm_ls *ls = rsb->res_ls; in dlm_may_skip_callback() 126 struct dlm_ls *ls = rsb->res_ls; in dlm_get_cb() 169 struct dlm_ls *ls = rsb->res_ls; in dlm_add_cb() 202 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start() 217 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop() 223 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend() 238 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
|
| A D | dlm_internal.h | 46 struct dlm_ls; 312 struct dlm_ls *res_ls; /* the lockspace */ 562 struct dlm_ls { struct 724 static inline int dlm_locking_stopped(struct dlm_ls *ls) in dlm_locking_stopped() 729 static inline int dlm_recovery_stopped(struct dlm_ls *ls) in dlm_recovery_stopped() 734 static inline int dlm_no_directory(struct dlm_ls *ls) in dlm_no_directory() 817 void dlm_create_debug_file(struct dlm_ls *ls); 818 void dlm_delete_debug_file(struct dlm_ls *ls); 824 static inline void dlm_create_debug_file(struct dlm_ls *ls) { } in dlm_create_debug_file() 825 static inline void dlm_delete_debug_file(struct dlm_ls *ls) { } in dlm_delete_debug_file()
|
| 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,
|
| A D | requestqueue.c | 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, in dlm_add_requestqueue() 65 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue() 108 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() 133 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
|
| A D | user.c | 181 struct dlm_ls *ls; in dlm_user_add_ast() 251 struct dlm_ls *ls; in device_user_lock() 302 struct dlm_ls *ls; in device_user_unlock() 331 struct dlm_ls *ls; in device_user_deadlock() 344 static int dlm_device_register(struct dlm_ls *ls, char *name) in dlm_device_register() 376 int dlm_device_deregister(struct dlm_ls *ls) in dlm_device_deregister() 392 struct dlm_ls *ls; in device_user_purge() 408 struct dlm_ls *ls; in device_create_lockspace() 438 struct dlm_ls *ls; in device_remove_lockspace() 642 struct dlm_ls *ls; in device_open() [all …]
|
| A D | debug_fs.c | 399 struct dlm_ls *ls = seq->private; in table_seq_start() 422 struct dlm_ls *ls = seq->private; in table_seq_next() 435 struct dlm_ls *ls = seq->private; in table_seq_stop() 507 struct dlm_ls *ls = seq->private; in table_write2() 597 struct dlm_ls *ls = file->private_data; in waiters_read() 631 struct dlm_ls *ls = file->private_data; in waiters_write() 665 void dlm_delete_debug_file(struct dlm_ls *ls) in dlm_delete_debug_file() 762 void dlm_create_debug_file(struct dlm_ls *ls) in dlm_create_debug_file()
|
| A D | plock.c | 126 struct dlm_ls *ls; in dlm_posix_lock() 291 struct dlm_ls *ls; in dlm_posix_unlock() 364 struct dlm_ls *ls; in dlm_posix_cancel() 425 struct dlm_ls *ls; in dlm_posix_get()
|
| A D | user.h | 14 int dlm_device_deregister(struct dlm_ls *ls);
|
| A D | memory.h | 21 char *dlm_allocate_lvb(struct dlm_ls *ls);
|
| A D | memory.c | 85 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb()
|