Lines Matching refs:our_nodeid

551 	int our_nodeid = dlm_our_nodeid();  in find_rsb_dir()  local
583 (from_other && (dir_nodeid == our_nodeid))) { in find_rsb_dir()
621 if ((r->res_master_nodeid != our_nodeid) && from_other) { in find_rsb_dir()
631 if ((r->res_master_nodeid != our_nodeid) && from_dir) { in find_rsb_dir()
637 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
643 if (from_local && (r->res_master_nodeid != our_nodeid)) { in find_rsb_dir()
680 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
685 if (from_other && (dir_nodeid != our_nodeid)) { in find_rsb_dir()
688 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir()
700 if (dir_nodeid == our_nodeid) { in find_rsb_dir()
703 r->res_master_nodeid = our_nodeid; in find_rsb_dir()
730 int our_nodeid = dlm_our_nodeid(); in find_rsb_nodir() local
764 if (!recover && (r->res_master_nodeid != our_nodeid) && from_nodeid) { in find_rsb_nodir()
774 if (!recover && (r->res_master_nodeid != our_nodeid) && in find_rsb_nodir()
775 (dir_nodeid == our_nodeid)) { in find_rsb_nodir()
779 our_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
781 r->res_master_nodeid = our_nodeid; in find_rsb_nodir()
807 r->res_nodeid = (dir_nodeid == our_nodeid) ? 0 : dir_nodeid; in find_rsb_nodir()
919 int our_nodeid = dlm_our_nodeid(); in dlm_master_lookup() local
925 if (from_nodeid == our_nodeid) { in dlm_master_lookup()
927 our_nodeid, flags); in dlm_master_lookup()
935 if (dir_nodeid != our_nodeid) { in dlm_master_lookup()
937 from_nodeid, dir_nodeid, our_nodeid, hash, in dlm_master_lookup()
969 if (r->res_dir_nodeid != our_nodeid) { in dlm_master_lookup()
972 r->res_dir_nodeid, our_nodeid, r->res_name); in dlm_master_lookup()
973 r->res_dir_nodeid = our_nodeid; in dlm_master_lookup()
1003 if (r->res_master_nodeid == our_nodeid) { in dlm_master_lookup()
1062 r->res_dir_nodeid = our_nodeid; in dlm_master_lookup()
1657 int our_nodeid = dlm_our_nodeid(); in shrink_bucket() local
1681 (r->res_master_nodeid != our_nodeid) && in shrink_bucket()
1682 (dlm_dir_nodeid(r) == our_nodeid)) { in shrink_bucket()
1694 (r->res_master_nodeid == our_nodeid) && in shrink_bucket()
1695 (dlm_dir_nodeid(r) != our_nodeid)) { in shrink_bucket()
1752 if (r->res_master_nodeid != our_nodeid) { in shrink_bucket()
1756 our_nodeid, name); in shrink_bucket()
1760 if (r->res_dir_nodeid == our_nodeid) { in shrink_bucket()
1765 our_nodeid, name); in shrink_bucket()
2714 int our_nodeid = dlm_our_nodeid(); in set_master() local
2728 if (r->res_master_nodeid == our_nodeid) { in set_master()
2738 if (dlm_dir_nodeid(r) == our_nodeid) { in set_master()
2748 r->res_master_nodeid = our_nodeid; in set_master()
4383 int len, error, ret_nodeid, from_nodeid, our_nodeid; in receive_lookup() local
4386 our_nodeid = dlm_our_nodeid(); in receive_lookup()
4394 if (!error && ret_nodeid == our_nodeid) { in receive_lookup()