| /kernel/linux/linux-4.19/fs/dlm/ |
| D | recover.c | 44 int dlm_wait_function(struct dlm_ls *ls, int (*testfn) (struct dlm_ls *ls)) in dlm_wait_function() 76 uint32_t dlm_recover_status(struct dlm_ls *ls) in dlm_recover_status() 85 static void _set_recover_status(struct dlm_ls *ls, uint32_t status) in _set_recover_status() 90 void dlm_set_recover_status(struct dlm_ls *ls, uint32_t status) in dlm_set_recover_status() 97 static int wait_status_all(struct dlm_ls *ls, uint32_t wait_status, in wait_status_all() 130 static int wait_status_low(struct dlm_ls *ls, uint32_t wait_status, in wait_status_low() 156 static int wait_status(struct dlm_ls *ls, uint32_t status) in wait_status() 171 int dlm_recover_members_wait(struct dlm_ls *ls) in dlm_recover_members_wait() 214 int dlm_recover_directory_wait(struct dlm_ls *ls) in dlm_recover_directory_wait() 219 int dlm_recover_locks_wait(struct dlm_ls *ls) in dlm_recover_locks_wait() [all …]
|
| D | lockspace.c | 37 static ssize_t dlm_control_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_control_store() 63 static ssize_t dlm_event_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_event_store() 74 static ssize_t dlm_id_show(struct dlm_ls *ls, char *buf) in dlm_id_show() 79 static ssize_t dlm_id_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_id_store() 88 static ssize_t dlm_nodir_show(struct dlm_ls *ls, char *buf) in dlm_nodir_show() 93 static ssize_t dlm_nodir_store(struct dlm_ls *ls, const char *buf, size_t len) in dlm_nodir_store() 105 static ssize_t dlm_recover_status_show(struct dlm_ls *ls, char *buf) in dlm_recover_status_show() 111 static ssize_t dlm_recover_nodeid_show(struct dlm_ls *ls, char *buf) in dlm_recover_nodeid_show() 167 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local 175 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local [all …]
|
| D | recoverd.c | 33 static int enable_locking(struct dlm_ls *ls, uint64_t seq) in enable_locking() 53 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() local 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()
|
| D | member.c | 29 void dlm_slot_save(struct dlm_ls *ls, struct dlm_rcom *rc, in dlm_slot_save() 41 void dlm_slots_copy_out(struct dlm_ls *ls, struct dlm_rcom *rc) in dlm_slots_copy_out() 63 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() 98 int dlm_slots_copy_in(struct dlm_ls *ls) in dlm_slots_copy_in() 166 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() 292 static void add_ordered_member(struct dlm_ls *ls, struct dlm_member *new) in add_ordered_member() 316 static int dlm_add_member(struct dlm_ls *ls, struct dlm_config_node *node) in dlm_add_member() 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() 375 void dlm_clear_members(struct dlm_ls *ls) in dlm_clear_members() [all …]
|
| D | rcom.c | 27 static int rcom_response(struct dlm_ls *ls) in rcom_response() 32 static int create_rcom(struct dlm_ls *ls, int to_nodeid, int type, int len, in create_rcom() 67 static void send_rcom(struct dlm_ls *ls, struct dlm_mhandle *mh, in send_rcom() 74 static void set_rcom_status(struct dlm_ls *ls, struct rcom_status *rs, in set_rcom_status() 84 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() 95 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() 117 static void allow_sync_reply(struct dlm_ls *ls, uint64_t *new_seq) in allow_sync_reply() 125 static void disallow_sync_reply(struct dlm_ls *ls) in disallow_sync_reply() 144 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status() 194 static void receive_rcom_status(struct dlm_ls *ls, struct dlm_rcom *rc_in) in receive_rcom_status() [all …]
|
| D | lock.c | 205 static inline void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery() 210 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery() 215 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try() 351 struct dlm_ls *ls = r->res_ls; in put_rsb() local 364 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct() 400 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct() 545 static int find_rsb_dir(struct dlm_ls *ls, char *name, int len, in find_rsb_dir() 724 static int find_rsb_nodir(struct dlm_ls *ls, char *name, int len, in find_rsb_nodir() 818 static int find_rsb(struct dlm_ls *ls, char *name, int len, int from_nodeid, in find_rsb() 843 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid() [all …]
|
| D | ast.c | 56 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_lkb_callback() local 114 int dlm_rem_lkb_callback(struct dlm_ls *ls, struct dlm_lkb *lkb, in dlm_rem_lkb_callback() 178 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_cb() local 218 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work() local 270 int dlm_callback_start(struct dlm_ls *ls) in dlm_callback_start() 281 void dlm_callback_stop(struct dlm_ls *ls) in dlm_callback_stop() 287 void dlm_callback_suspend(struct dlm_ls *ls) in dlm_callback_suspend() 297 void dlm_callback_resume(struct dlm_ls *ls) in dlm_callback_resume()
|
| D | requestqueue.c | 34 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() 65 int dlm_process_requestqueue(struct dlm_ls *ls) in dlm_process_requestqueue() 118 void dlm_wait_requestqueue(struct dlm_ls *ls) in dlm_wait_requestqueue() 130 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() 155 void dlm_purge_requestqueue(struct dlm_ls *ls) in dlm_purge_requestqueue()
|
| D | dir.c | 35 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() 52 void dlm_recover_dir_nodeid(struct dlm_ls *ls) in dlm_recover_dir_nodeid() 63 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()
|
| D | memory.c | 45 char *dlm_allocate_lvb(struct dlm_ls *ls) in dlm_allocate_lvb() 58 struct dlm_rsb *dlm_allocate_rsb(struct dlm_ls *ls) in dlm_allocate_rsb() 73 struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls) in dlm_allocate_lkb()
|
| /kernel/linux/linux-5.10/fs/dlm/ |
| 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() 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 *ls) in dlm_recover_directory_wait() 217 int dlm_recover_locks_wait(struct dlm_ls *ls) in dlm_recover_locks_wait() [all …]
|
| D | lockspace.c | 35 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() 166 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_show() local 174 struct dlm_ls *ls = container_of(kobj, struct dlm_ls, ls_kobj); in dlm_attr_store() local [all …]
|
| D | recoverd.c | 31 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() local 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()
|
| D | member.c | 27 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 *ls) in dlm_clear_members() [all …]
|
| D | rcom.c | 25 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 *ls, struct dlm_rcom *rc_in) in receive_rcom_status() [all …]
|
| D | lock.c | 203 static inline void dlm_lock_recovery(struct dlm_ls *ls) in dlm_lock_recovery() 208 void dlm_unlock_recovery(struct dlm_ls *ls) in dlm_unlock_recovery() 213 int dlm_lock_recovery_try(struct dlm_ls *ls) in dlm_lock_recovery_try() 349 struct dlm_ls *ls = r->res_ls; in put_rsb() local 362 static int pre_rsb_struct(struct dlm_ls *ls) in pre_rsb_struct() 398 static int get_rsb_struct(struct dlm_ls *ls, char *name, int len, in get_rsb_struct() 543 static int find_rsb_dir(struct dlm_ls *ls, char *name, int len, in find_rsb_dir() 722 static int find_rsb_nodir(struct dlm_ls *ls, char *name, int len, in find_rsb_nodir() 816 static int find_rsb(struct dlm_ls *ls, char *name, int len, int from_nodeid, in find_rsb() 841 static int validate_master_nodeid(struct dlm_ls *ls, struct dlm_rsb *r, in validate_master_nodeid() [all …]
|
| D | ast.c | 54 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_add_lkb_callback() local 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() local 216 struct dlm_ls *ls = lkb->lkb_resource->res_ls; in dlm_callback_work() local 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()
|
| D | requestqueue.c | 32 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()
|
| 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) in dlm_recover_dir_nodeid() 61 int dlm_recover_directory(struct dlm_ls *ls) in dlm_recover_directory() 198 static struct dlm_rsb *find_rsb_root(struct dlm_ls *ls, char *name, int len) in find_rsb_root() 234 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, in dlm_copy_master_names()
|
| D | memory.c | 43 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()
|
| D | user.c | 178 struct dlm_ls *ls; in dlm_user_add_ast() local 239 struct dlm_ls *ls; in device_user_lock() local 293 struct dlm_ls *ls; in device_user_unlock() local 322 struct dlm_ls *ls; in device_user_deadlock() local 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() local 399 struct dlm_ls *ls; in device_create_lockspace() local 429 struct dlm_ls *ls; in device_remove_lockspace() local 633 struct dlm_ls *ls; in device_open() local [all …]
|
| /kernel/linux/linux-5.10/fs/gfs2/ |
| D | lock_dlm.c | 257 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock() local 286 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock() local 324 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel() local 471 static void control_lvb_read(struct lm_lockstruct *ls, uint32_t *lvb_gen, in control_lvb_read() 480 static void control_lvb_write(struct lm_lockstruct *ls, uint32_t lvb_gen, in control_lvb_write() 497 struct lm_lockstruct *ls = arg; in sync_wait_cb() local 503 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock() local 526 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock() local 556 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock() local 562 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock() local [all …]
|
| /kernel/linux/linux-4.19/fs/gfs2/ |
| D | lock_dlm.c | 256 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_lock() local 285 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in gdlm_put_lock() local 322 struct lm_lockstruct *ls = &gl->gl_name.ln_sbd->sd_lockstruct; in gdlm_cancel() local 468 static void control_lvb_read(struct lm_lockstruct *ls, uint32_t *lvb_gen, in control_lvb_read() 477 static void control_lvb_write(struct lm_lockstruct *ls, uint32_t lvb_gen, in control_lvb_write() 494 struct lm_lockstruct *ls = arg; in sync_wait_cb() local 500 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_unlock() local 523 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in sync_lock() local 553 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_unlock() local 559 struct lm_lockstruct *ls = &sdp->sd_lockstruct; in mounted_lock() local [all …]
|
| /kernel/linux/linux-5.10/fs/nfsd/ |
| D | nfs4layouts.c | 157 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() local 182 nfsd4_layout_setlease(struct nfs4_layout_stateid *ls) in nfsd4_layout_setlease() 217 struct nfs4_layout_stateid *ls; in nfsd4_alloc_layout_stateid() local 269 struct nfs4_layout_stateid *ls; in nfsd4_preprocess_layout_stateid() local 319 nfsd4_recall_file_layout(struct nfs4_layout_stateid *ls) in nfsd4_recall_file_layout() 383 nfsd4_recall_conflict(struct nfs4_layout_stateid *ls) in nfsd4_recall_conflict() 402 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout() 493 struct nfs4_layout_stateid *ls; in nfsd4_return_file_layouts() local 536 struct nfs4_layout_stateid *ls, *n; in nfsd4_return_client_layouts() local 568 nfsd4_return_all_layouts(struct nfs4_layout_stateid *ls, in nfsd4_return_all_layouts() [all …]
|
| /kernel/linux/linux-4.19/fs/nfsd/ |
| D | nfs4layouts.c | 157 struct nfs4_layout_stateid *ls = layoutstateid(stid); in nfsd4_free_layout_stateid() local 182 nfsd4_layout_setlease(struct nfs4_layout_stateid *ls) in nfsd4_layout_setlease() 217 struct nfs4_layout_stateid *ls; in nfsd4_alloc_layout_stateid() local 269 struct nfs4_layout_stateid *ls; in nfsd4_preprocess_layout_stateid() local 319 nfsd4_recall_file_layout(struct nfs4_layout_stateid *ls) in nfsd4_recall_file_layout() 383 nfsd4_recall_conflict(struct nfs4_layout_stateid *ls) in nfsd4_recall_conflict() 402 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout() 493 struct nfs4_layout_stateid *ls; in nfsd4_return_file_layouts() local 536 struct nfs4_layout_stateid *ls, *n; in nfsd4_return_client_layouts() local 568 nfsd4_return_all_layouts(struct nfs4_layout_stateid *ls, in nfsd4_return_all_layouts() [all …]
|