Lines Matching refs:our_nodeid
544 int our_nodeid = dlm_our_nodeid(); in find_rsb_dir() local
576 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir()
613 if ((r->res_master_nodeid != our_nodeid) && from_other) { in find_rsb_dir()
623 if ((r->res_master_nodeid != our_nodeid) && from_dir) { 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()
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()
692 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
695 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
722 int our_nodeid = dlm_our_nodeid(); in find_rsb_nodir() local
756 if (!recover && (r->res_master_nodeid != our_nodeid) && from_nodeid) { in find_rsb_nodir()
766 if (!recover && (r->res_master_nodeid != our_nodeid) && in find_rsb_nodir()
767 (dir_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()
799 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
876 static void __dlm_master_lookup(struct dlm_ls *ls, struct dlm_rsb *r, int our_nodeid, in __dlm_master_lookup() argument
883 if (r->res_dir_nodeid != our_nodeid) { in __dlm_master_lookup()
886 r->res_dir_nodeid, our_nodeid, r->res_name); in __dlm_master_lookup()
887 r->res_dir_nodeid = our_nodeid; in __dlm_master_lookup()
918 if (r->res_master_nodeid == our_nodeid) { in __dlm_master_lookup()
992 int our_nodeid = dlm_our_nodeid(); in dlm_master_lookup() local
998 if (from_nodeid == our_nodeid) { in dlm_master_lookup()
1000 our_nodeid, flags); in dlm_master_lookup()
1008 if (dir_nodeid != our_nodeid) { in dlm_master_lookup()
1010 from_nodeid, dir_nodeid, our_nodeid, hash, in dlm_master_lookup()
1032 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, false, in dlm_master_lookup()
1050 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, true, flags, in dlm_master_lookup()
1070 r->res_dir_nodeid = our_nodeid; in dlm_master_lookup()
1579 int our_nodeid = dlm_our_nodeid(); in shrink_bucket() local
1603 (r->res_master_nodeid != our_nodeid) && in shrink_bucket()
1604 (dlm_dir_nodeid(r) == our_nodeid)) { in shrink_bucket()
1616 (r->res_master_nodeid == our_nodeid) && in shrink_bucket()
1617 (dlm_dir_nodeid(r) != our_nodeid)) { in shrink_bucket()
1669 if (r->res_master_nodeid != our_nodeid) { in shrink_bucket()
1673 our_nodeid, name); in shrink_bucket()
1677 if (r->res_dir_nodeid == our_nodeid) { in shrink_bucket()
1682 our_nodeid, name); in shrink_bucket()
2486 int our_nodeid = dlm_our_nodeid(); in set_master() local
2500 if (r->res_master_nodeid == our_nodeid) { in set_master()
2510 if (dlm_dir_nodeid(r) == our_nodeid) { in set_master()
2520 r->res_master_nodeid = our_nodeid; in set_master()
4117 int len, error, ret_nodeid, from_nodeid, our_nodeid; in receive_lookup() local
4120 our_nodeid = dlm_our_nodeid(); in receive_lookup()
4128 if (!error && ret_nodeid == our_nodeid) { in receive_lookup()