Lines Matching refs:res_master_nodeid

175 	       r->res_nodeid, r->res_master_nodeid, r->res_dir_nodeid,  in dlm_print_rsb()
613 if ((r->res_master_nodeid != our_nodeid) && from_other) { in find_rsb_dir()
617 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir()
623 if ((r->res_master_nodeid != our_nodeid) && from_dir) { in find_rsb_dir()
626 from_nodeid, r->res_master_nodeid); in find_rsb_dir()
629 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
635 if (from_local && (r->res_master_nodeid != our_nodeid)) { in find_rsb_dir()
672 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
695 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
699 r->res_master_nodeid = 0; in find_rsb_dir()
756 if (!recover && (r->res_master_nodeid != our_nodeid) && from_nodeid) { in find_rsb_nodir()
760 from_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
766 if (!recover && (r->res_master_nodeid != our_nodeid) && in find_rsb_nodir()
771 our_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
773 r->res_master_nodeid = our_nodeid; in find_rsb_nodir()
798 r->res_master_nodeid = dir_nodeid; in find_rsb_nodir()
841 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
852 if (r->res_master_nodeid) { in validate_master_nodeid()
855 r->res_master_nodeid, r->res_dir_nodeid, in validate_master_nodeid()
863 if (r->res_master_nodeid) { in validate_master_nodeid()
866 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
870 r->res_master_nodeid = dlm_our_nodeid(); in validate_master_nodeid()
890 if (fix_master && dlm_is_removed(ls, r->res_master_nodeid)) { in __dlm_master_lookup()
897 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
908 if (from_master && (r->res_master_nodeid != from_nodeid)) { in __dlm_master_lookup()
915 __func__, from_nodeid, r->res_master_nodeid, in __dlm_master_lookup()
918 if (r->res_master_nodeid == our_nodeid) { in __dlm_master_lookup()
924 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
929 if (!r->res_master_nodeid) { in __dlm_master_lookup()
936 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
941 (r->res_master_nodeid == from_nodeid)) { in __dlm_master_lookup()
953 *r_nodeid = r->res_master_nodeid; in __dlm_master_lookup()
1071 r->res_master_nodeid = from_nodeid; in dlm_master_lookup()
1603 (r->res_master_nodeid != our_nodeid) && in shrink_bucket()
1616 (r->res_master_nodeid == our_nodeid) && in shrink_bucket()
1669 if (r->res_master_nodeid != our_nodeid) { in shrink_bucket()
1672 r->res_master_nodeid, r->res_dir_nodeid, in shrink_bucket()
1681 r->res_dir_nodeid, r->res_master_nodeid, in shrink_bucket()
2500 if (r->res_master_nodeid == our_nodeid) { in set_master()
2505 if (r->res_master_nodeid) { in set_master()
2506 lkb->lkb_nodeid = r->res_master_nodeid; in set_master()
2518 lkb->lkb_id, r->res_master_nodeid, r->res_dir_nodeid, in set_master()
2520 r->res_master_nodeid = our_nodeid; in set_master()
3871 if (r->res_master_nodeid != dlm_our_nodeid()) { in receive_request()
4187 if (r->res_master_nodeid != from_nodeid) { in receive_remove()
4190 from_nodeid, r->res_master_nodeid); in receive_remove()
4197 from_nodeid, r->res_master_nodeid, r->res_first_lkid, in receive_remove()
4203 if (r->res_master_nodeid != from_nodeid) { in receive_remove()
4205 from_nodeid, r->res_master_nodeid); in receive_remove()
4261 r->res_master_nodeid = from_nodeid; in receive_request_reply()
4298 from_nodeid, result, r->res_master_nodeid, in receive_request_reply()
4302 r->res_master_nodeid != dlm_our_nodeid()) { in receive_request_reply()
4304 r->res_master_nodeid = 0; in receive_request_reply()
4317 if (r->res_master_nodeid == dlm_our_nodeid()) in receive_request_reply()
4572 if (r->res_master_nodeid && (r->res_master_nodeid != ret_nodeid)) { in receive_lookup_reply()
4577 ret_nodeid, r->res_master_nodeid, r->res_dir_nodeid, in receive_lookup_reply()
4582 r->res_master_nodeid = ret_nodeid; in receive_lookup_reply()
4590 r->res_master_nodeid = 0; in receive_lookup_reply()
4595 r->res_master_nodeid = ret_nodeid; in receive_lookup_reply()