Lines Matching refs:dir_nodeid
552 int dir_nodeid, int from_nodeid, in find_rsb_dir() argument
564 if (from_nodeid == dir_nodeid) in find_rsb_dir()
588 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir()
629 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir()
677 r->res_dir_nodeid = dir_nodeid; in find_rsb_dir()
689 if (from_other && (dir_nodeid != our_nodeid)) { in find_rsb_dir()
692 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir()
701 from_nodeid, dir_nodeid, r->res_name); in find_rsb_dir()
704 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
730 int dir_nodeid, int from_nodeid, in find_rsb_nodir() argument
772 from_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
779 (dir_nodeid == our_nodeid)) { in find_rsb_nodir()
783 our_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
809 r->res_dir_nodeid = dir_nodeid; in find_rsb_nodir()
810 r->res_master_nodeid = dir_nodeid; in find_rsb_nodir()
811 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
827 int dir_nodeid; in find_rsb() local
835 dir_nodeid = dlm_hash2nodeid(ls, hash); in find_rsb()
838 return find_rsb_nodir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
841 return find_rsb_dir(ls, name, len, hash, b, dir_nodeid, in find_rsb()
1005 int dir_nodeid, error; in dlm_master_lookup() local
1019 dir_nodeid = dlm_hash2nodeid(ls, hash); in dlm_master_lookup()
1020 if (dir_nodeid != our_nodeid) { in dlm_master_lookup()
1022 from_nodeid, dir_nodeid, our_nodeid, hash, in dlm_master_lookup()
4054 int rv, dir_nodeid; in send_repeat_remove() local
4062 dir_nodeid = dlm_hash2nodeid(ls, hash); in send_repeat_remove()
4064 log_error(ls, "send_repeat_remove dir %d %s", dir_nodeid, name); in send_repeat_remove()
4090 dir_nodeid, DLM_MSG_REMOVE, &ms, &mh); in send_repeat_remove()
4428 int rv, len, dir_nodeid, from_nodeid; in receive_remove() local
4440 dir_nodeid = dlm_hash2nodeid(ls, le32_to_cpu(ms->m_hash)); in receive_remove()
4441 if (dir_nodeid != dlm_our_nodeid()) { in receive_remove()
4443 from_nodeid, dir_nodeid); in receive_remove()
5153 int dir_nodeid) in waiter_needs_recovery() argument
5175 int dir_nodeid; in dlm_recover_waiters_pre() local
5185 dir_nodeid = dlm_dir_nodeid(lkb->lkb_resource); in dlm_recover_waiters_pre()
5199 dir_nodeid); in dlm_recover_waiters_pre()
5210 if (!waiter_needs_recovery(ls, lkb, dir_nodeid)) in dlm_recover_waiters_pre()