Lines Matching refs:dir_nodeid
547 int dir_nodeid, int from_nodeid, in find_rsb_dir() argument
559 if (from_nodeid == dir_nodeid) in find_rsb_dir()
583 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir()
625 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir()
673 r->res_dir_nodeid = dir_nodeid; in find_rsb_dir()
685 if (from_other && (dir_nodeid != our_nodeid)) { in find_rsb_dir()
688 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir()
697 from_nodeid, dir_nodeid, r->res_name); in find_rsb_dir()
700 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
726 int dir_nodeid, int from_nodeid, in find_rsb_nodir() argument
768 from_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
775 (dir_nodeid == our_nodeid)) { in find_rsb_nodir()
779 our_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
805 r->res_dir_nodeid = dir_nodeid; in find_rsb_nodir()
806 r->res_master_nodeid = dir_nodeid; in find_rsb_nodir()
807 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
822 int dir_nodeid; in find_rsb() local
830 dir_nodeid = dlm_hash2nodeid(ls, hash); in find_rsb()
833 return find_rsb_nodir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
836 return find_rsb_dir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
920 int dir_nodeid, error, toss_list = 0; in dlm_master_lookup() local
934 dir_nodeid = dlm_hash2nodeid(ls, hash); in dlm_master_lookup()
935 if (dir_nodeid != our_nodeid) { in dlm_master_lookup()
937 from_nodeid, dir_nodeid, our_nodeid, hash, in dlm_master_lookup()
4035 int rv, dir_nodeid; in send_repeat_remove() local
4043 dir_nodeid = dlm_hash2nodeid(ls, hash); in send_repeat_remove()
4045 log_error(ls, "send_repeat_remove dir %d %s", dir_nodeid, name); in send_repeat_remove()
4071 dir_nodeid, DLM_MSG_REMOVE, &ms, &mh); in send_repeat_remove()
4406 int rv, len, dir_nodeid, from_nodeid; in receive_remove() local
4418 dir_nodeid = dlm_hash2nodeid(ls, ms->m_hash); in receive_remove()
4419 if (dir_nodeid != dlm_our_nodeid()) { in receive_remove()
4421 from_nodeid, dir_nodeid); in receive_remove()
5117 int dir_nodeid) in waiter_needs_recovery() argument
5139 int dir_nodeid; in dlm_recover_waiters_pre() local
5149 dir_nodeid = dlm_dir_nodeid(lkb->lkb_resource); in dlm_recover_waiters_pre()
5163 dir_nodeid); in dlm_recover_waiters_pre()
5174 if (!waiter_needs_recovery(ls, lkb, dir_nodeid)) in dlm_recover_waiters_pre()