Lines Matching refs:our_nodeid

556 	int our_nodeid = dlm_our_nodeid();  in find_rsb_dir()  local
588 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir()
625 if ((r->res_master_nodeid != our_nodeid) && from_other) { in find_rsb_dir()
635 if ((r->res_master_nodeid != our_nodeid) && from_dir) { in find_rsb_dir()
641 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
647 if (from_local && (r->res_master_nodeid != our_nodeid)) { in find_rsb_dir()
684 r->res_master_nodeid = our_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()
704 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
707 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
734 int our_nodeid = dlm_our_nodeid(); in find_rsb_nodir() local
768 if (!recover && (r->res_master_nodeid != our_nodeid) && from_nodeid) { in find_rsb_nodir()
778 if (!recover && (r->res_master_nodeid != our_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()
785 r->res_master_nodeid = our_nodeid; in find_rsb_nodir()
811 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
888 static void __dlm_master_lookup(struct dlm_ls *ls, struct dlm_rsb *r, int our_nodeid, in __dlm_master_lookup() argument
895 if (r->res_dir_nodeid != our_nodeid) { in __dlm_master_lookup()
898 r->res_dir_nodeid, our_nodeid, r->res_name); in __dlm_master_lookup()
899 r->res_dir_nodeid = our_nodeid; in __dlm_master_lookup()
930 if (r->res_master_nodeid == our_nodeid) { in __dlm_master_lookup()
1004 int our_nodeid = dlm_our_nodeid(); in dlm_master_lookup() local
1010 if (from_nodeid == our_nodeid) { in dlm_master_lookup()
1012 our_nodeid, flags); 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()
1044 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, false, in dlm_master_lookup()
1062 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, true, flags, in dlm_master_lookup()
1082 r->res_dir_nodeid = our_nodeid; in dlm_master_lookup()
1626 int our_nodeid = dlm_our_nodeid(); in shrink_bucket() local
1650 (r->res_master_nodeid != our_nodeid) && in shrink_bucket()
1651 (dlm_dir_nodeid(r) == our_nodeid)) { in shrink_bucket()
1663 (r->res_master_nodeid == our_nodeid) && in shrink_bucket()
1664 (dlm_dir_nodeid(r) != our_nodeid)) { in shrink_bucket()
1721 if (r->res_master_nodeid != our_nodeid) { in shrink_bucket()
1725 our_nodeid, name); in shrink_bucket()
1729 if (r->res_dir_nodeid == our_nodeid) { in shrink_bucket()
1734 our_nodeid, name); in shrink_bucket()
2679 int our_nodeid = dlm_our_nodeid(); in set_master() local
2693 if (r->res_master_nodeid == our_nodeid) { in set_master()
2703 if (dlm_dir_nodeid(r) == our_nodeid) { in set_master()
2713 r->res_master_nodeid = our_nodeid; in set_master()
4405 int len, error, ret_nodeid, from_nodeid, our_nodeid; in receive_lookup() local
4408 our_nodeid = dlm_our_nodeid(); in receive_lookup()
4416 if (!error && ret_nodeid == our_nodeid) { in receive_lookup()