/kernel/linux/linux-5.10/fs/dlm/ |
H A D | recover.c | 440 * NEW_MASTER so that we'll recover it here (this implies dir_nodeid 447 int our_nodeid, dir_nodeid; in recover_master() local 460 dir_nodeid = dlm_dir_nodeid(r); in recover_master() 462 if (dir_nodeid == our_nodeid) { in recover_master() 475 error = dlm_send_rcom_lookup(r, dir_nodeid); in recover_master() 499 int dir_nodeid = dlm_dir_nodeid(r); in recover_master_static() local 500 int new_master = dir_nodeid; in recover_master_static() 502 if (dir_nodeid == dlm_our_nodeid()) in recover_master_static() 506 r->res_master_nodeid = dir_nodeid; in recover_master_static()
|
H A D | dir.c | 239 int offset = 0, dir_nodeid; in dlm_copy_master_names() local 262 dir_nodeid = dlm_dir_nodeid(r); in dlm_copy_master_names() 263 if (dir_nodeid != nodeid) in dlm_copy_master_names()
|
H A D | lock.c | 535 * rsb's on the toss list who's dir_nodeid is not local can have stale 545 int dir_nodeid, int from_nodeid, in find_rsb_dir() 557 if (from_nodeid == dir_nodeid) in find_rsb_dir() 581 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir() 614 * we are the dir_nodeid or were the master) No other thread in find_rsb_dir() 623 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir() 671 r->res_dir_nodeid = dir_nodeid; in find_rsb_dir() 683 if (from_other && (dir_nodeid != our_nodeid)) { in find_rsb_dir() 686 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir() 695 from_nodeid, dir_nodeid, in find_rsb_dir() 543 find_rsb_dir(struct dlm_ls *ls, char *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_dir() argument 722 find_rsb_nodir(struct dlm_ls *ls, char *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_nodir() argument 820 int dir_nodeid; find_rsb() local 918 int dir_nodeid, error, toss_list = 0; dlm_master_lookup() local 4033 int rv, dir_nodeid; send_repeat_remove() local 4404 int rv, len, dir_nodeid, from_nodeid; receive_remove() local 5114 waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb, int dir_nodeid) waiter_needs_recovery() argument 5137 int dir_nodeid; dlm_recover_waiters_pre() local [all...] |
H A D | rcom.h | 17 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid);
|
H A D | rcom.c | 320 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid) in dlm_send_rcom_lookup() argument 327 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
|
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | recover.c | 441 * NEW_MASTER so that we'll recover it here (this implies dir_nodeid 448 int our_nodeid, dir_nodeid; in recover_master() local 461 dir_nodeid = dlm_dir_nodeid(r); in recover_master() 463 if (dir_nodeid == our_nodeid) { in recover_master() 476 error = dlm_send_rcom_lookup(r, dir_nodeid, seq); in recover_master() 500 int dir_nodeid = dlm_dir_nodeid(r); in recover_master_static() local 501 int new_master = dir_nodeid; in recover_master_static() 503 if (dir_nodeid == dlm_our_nodeid()) in recover_master_static() 507 r->res_master_nodeid = dir_nodeid; in recover_master_static()
|
H A D | dir.c | 241 int offset = 0, dir_nodeid; in dlm_copy_master_names() local 263 dir_nodeid = dlm_dir_nodeid(r); in dlm_copy_master_names() 264 if (dir_nodeid != nodeid) in dlm_copy_master_names()
|
H A D | lock.c | 530 * rsb's on the toss list who's dir_nodeid is not local can have stale 540 int dir_nodeid, int from_nodeid, in find_rsb_dir() 552 if (from_nodeid == dir_nodeid) in find_rsb_dir() 576 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir() 608 * we are the dir_nodeid or were the master) No other thread in find_rsb_dir() 617 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir() 665 r->res_dir_nodeid = dir_nodeid; in find_rsb_dir() 677 if (from_other && (dir_nodeid != our_nodeid)) { in find_rsb_dir() 680 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir() 689 from_nodeid, dir_nodeid, in find_rsb_dir() 538 find_rsb_dir(struct dlm_ls *ls, const void *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_dir() argument 716 find_rsb_nodir(struct dlm_ls *ls, const void *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) find_rsb_nodir() argument 815 int dir_nodeid; find_rsb() local 993 int dir_nodeid, error; dlm_master_lookup() local 4140 int rv, len, dir_nodeid, from_nodeid; receive_remove() local 4870 waiter_needs_recovery(struct dlm_ls *ls, struct dlm_lkb *lkb, int dir_nodeid) waiter_needs_recovery() argument 4893 int dir_nodeid; dlm_recover_waiters_pre() local [all...] |
H A D | rcom.h | 19 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq);
|
H A D | rcom.c | 361 int dlm_send_rcom_lookup(struct dlm_rsb *r, int dir_nodeid, uint64_t seq) in dlm_send_rcom_lookup() argument 368 error = create_rcom(ls, dir_nodeid, DLM_RCOM_LOOKUP, r->res_length, in dlm_send_rcom_lookup()
|