Lines Matching refs:from_nodeid
695 uint32_t hash, int dir_nodeid, int from_nodeid, in find_rsb_dir() argument
707 if (from_nodeid == dir_nodeid) in find_rsb_dir()
801 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir()
811 from_nodeid, r->res_master_nodeid); in find_rsb_dir()
857 from_nodeid, r->res_name); in find_rsb_dir()
866 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir()
875 from_nodeid, dir_nodeid, r->res_name); in find_rsb_dir()
914 uint32_t hash, int dir_nodeid, int from_nodeid, in find_rsb_nodir() argument
970 if (!recover && (r->res_master_nodeid != our_nodeid) && from_nodeid) { in find_rsb_nodir()
974 from_nodeid, r->res_master_nodeid, dir_nodeid); in find_rsb_nodir()
1077 int from_nodeid, unsigned int flags, in find_rsb() argument
1093 from_nodeid, flags, r_ret); in find_rsb()
1096 from_nodeid, flags, r_ret); in find_rsb()
1105 int from_nodeid) in validate_master_nodeid() argument
1109 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
1115 if (from_nodeid != r->res_dir_nodeid) { in validate_master_nodeid()
1122 "dir %d first %x %s", from_nodeid, in validate_master_nodeid()
1134 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
1145 int from_nodeid, bool is_inactive, unsigned int flags, in __dlm_master_lookup() argument
1165 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
1166 r->res_nodeid = from_nodeid; in __dlm_master_lookup()
1176 if (from_master && (r->res_master_nodeid != from_nodeid)) { in __dlm_master_lookup()
1183 __func__, from_nodeid, r->res_master_nodeid, in __dlm_master_lookup()
1187 log_error(ls, "from_master %d our_master", from_nodeid); in __dlm_master_lookup()
1192 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
1193 r->res_nodeid = from_nodeid; in __dlm_master_lookup()
1203 from_nodeid, r->res_first_lkid, r->res_name); in __dlm_master_lookup()
1204 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
1205 r->res_nodeid = from_nodeid; in __dlm_master_lookup()
1209 (r->res_master_nodeid == from_nodeid)) { in __dlm_master_lookup()
1216 __func__, from_nodeid, flags, r->res_first_lkid, in __dlm_master_lookup()
1255 static int _dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, in _dlm_master_lookup() argument
1266 if (from_nodeid == our_nodeid) { in _dlm_master_lookup()
1276 from_nodeid, dir_nodeid, our_nodeid, hash, in _dlm_master_lookup()
1307 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, false, in _dlm_master_lookup()
1337 __dlm_master_lookup(ls, r, our_nodeid, from_nodeid, true, flags, in _dlm_master_lookup()
1355 r->res_master_nodeid = from_nodeid; in _dlm_master_lookup()
1356 r->res_nodeid = from_nodeid; in _dlm_master_lookup()
1380 *r_nodeid = from_nodeid; in _dlm_master_lookup()
1385 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, in dlm_master_lookup() argument
1390 rv = _dlm_master_lookup(ls, from_nodeid, name, len, flags, r_nodeid, result); in dlm_master_lookup()
3993 int from_nodeid; in receive_request() local
3996 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_request()
4018 error = find_rsb(ls, ms->m_extra, namelen, from_nodeid, in receive_request()
4028 error = validate_master_nodeid(ls, r, from_nodeid); in receive_request()
4060 le32_to_cpu(ms->m_lkid), from_nodeid, error); in receive_request()
4273 int len, error, ret_nodeid, from_nodeid, our_nodeid; in receive_lookup() local
4275 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_lookup()
4280 error = dlm_master_lookup(ls, from_nodeid, ms->m_extra, len, 0, in receive_lookup()
4295 int rv, len, dir_nodeid, from_nodeid; in receive_remove() local
4297 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_remove()
4303 from_nodeid, len); in receive_remove()
4310 from_nodeid, dir_nodeid); in receive_remove()
4334 from_nodeid, name); in receive_remove()
4344 __func__, from_nodeid, name); in receive_remove()
4351 if (r->res_master_nodeid != from_nodeid) { in receive_remove()
4354 from_nodeid, r->res_master_nodeid); in receive_remove()
4363 from_nodeid, r->res_master_nodeid, r->res_first_lkid, in receive_remove()
4369 if (r->res_master_nodeid != from_nodeid) { in receive_remove()
4371 from_nodeid, r->res_master_nodeid); in receive_remove()
4397 int from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_request_reply() local
4415 lkb->lkb_id, from_nodeid, le32_to_cpu(ms->m_lkid), in receive_request_reply()
4424 r->res_master_nodeid = from_nodeid; in receive_request_reply()
4425 r->res_nodeid = from_nodeid; in receive_request_reply()
4426 lkb->lkb_nodeid = from_nodeid; in receive_request_reply()
4461 from_nodeid, result, r->res_master_nodeid, in receive_request_reply()
5599 int from_nodeid = le32_to_cpu(rc->rc_header.h_nodeid); in dlm_recover_master_copy() local
5621 from_nodeid, R_RECEIVE_RECOVER, &r); in dlm_recover_master_copy()
5629 from_nodeid, remid); in dlm_recover_master_copy()
5634 lkb = search_remid(r, from_nodeid, remid); in dlm_recover_master_copy()
5670 from_nodeid, remid, error); in dlm_recover_master_copy()