Lines Matching refs:dir_nodeid
545 int dir_nodeid, int from_nodeid, in find_rsb_dir() argument
557 if (from_nodeid == dir_nodeid) in find_rsb_dir()
581 (from_other && (dir_nodeid == our_nodeid))) { 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, r->res_name); in find_rsb_dir()
698 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
724 int dir_nodeid, int from_nodeid, in find_rsb_nodir() argument
766 from_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
773 (dir_nodeid == our_nodeid)) { in find_rsb_nodir()
777 our_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
803 r->res_dir_nodeid = dir_nodeid; in find_rsb_nodir()
804 r->res_master_nodeid = dir_nodeid; in find_rsb_nodir()
805 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
820 int dir_nodeid; in find_rsb() local
828 dir_nodeid = dlm_hash2nodeid(ls, hash); in find_rsb()
831 return find_rsb_nodir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
834 return find_rsb_dir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
918 int dir_nodeid, error, toss_list = 0; in dlm_master_lookup() local
932 dir_nodeid = dlm_hash2nodeid(ls, hash); in dlm_master_lookup()
933 if (dir_nodeid != our_nodeid) { in dlm_master_lookup()
935 from_nodeid, dir_nodeid, our_nodeid, hash, in dlm_master_lookup()
4031 int rv, dir_nodeid; in send_repeat_remove() local
4039 dir_nodeid = dlm_hash2nodeid(ls, hash); in send_repeat_remove()
4041 log_error(ls, "send_repeat_remove dir %d %s", dir_nodeid, name); in send_repeat_remove()
4067 dir_nodeid, DLM_MSG_REMOVE, &ms, &mh); in send_repeat_remove()
4402 int rv, len, dir_nodeid, from_nodeid; in receive_remove() local
4414 dir_nodeid = dlm_hash2nodeid(ls, ms->m_hash); in receive_remove()
4415 if (dir_nodeid != dlm_our_nodeid()) { in receive_remove()
4417 from_nodeid, dir_nodeid); in receive_remove()
5113 int dir_nodeid) in waiter_needs_recovery() argument
5135 int dir_nodeid; in dlm_recover_waiters_pre() local
5145 dir_nodeid = dlm_dir_nodeid(lkb->lkb_resource); in dlm_recover_waiters_pre()
5159 dir_nodeid); in dlm_recover_waiters_pre()
5170 if (!waiter_needs_recovery(ls, lkb, dir_nodeid)) in dlm_recover_waiters_pre()