Lines Matching refs:from_nodeid

540 			int dir_nodeid, int from_nodeid,  in find_rsb_dir()  argument
552 if (from_nodeid == dir_nodeid) in find_rsb_dir()
617 from_nodeid, r->res_master_nodeid, dir_nodeid, in find_rsb_dir()
626 from_nodeid, r->res_master_nodeid); in find_rsb_dir()
671 from_nodeid, r->res_name); in find_rsb_dir()
680 from_nodeid, dir_nodeid, our_nodeid, r->res_name); in find_rsb_dir()
689 from_nodeid, dir_nodeid, r->res_name); in find_rsb_dir()
718 int dir_nodeid, int from_nodeid, in find_rsb_nodir() argument
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()
811 int from_nodeid, unsigned int flags, in find_rsb() argument
827 from_nodeid, flags, r_ret); in find_rsb()
830 from_nodeid, flags, r_ret); in find_rsb()
837 int from_nodeid) in validate_master_nodeid() argument
841 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
847 if (from_nodeid != r->res_dir_nodeid) { in validate_master_nodeid()
854 "dir %d first %x %s", from_nodeid, in validate_master_nodeid()
866 from_nodeid, r->res_master_nodeid, in validate_master_nodeid()
877 int from_nodeid, bool toss_list, unsigned int flags, in __dlm_master_lookup() argument
897 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
898 r->res_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()
919 log_error(ls, "from_master %d our_master", from_nodeid); in __dlm_master_lookup()
924 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
925 r->res_nodeid = from_nodeid; in __dlm_master_lookup()
935 from_nodeid, r->res_first_lkid, r->res_name); in __dlm_master_lookup()
936 r->res_master_nodeid = from_nodeid; in __dlm_master_lookup()
937 r->res_nodeid = from_nodeid; in __dlm_master_lookup()
941 (r->res_master_nodeid == from_nodeid)) { in __dlm_master_lookup()
948 __func__, from_nodeid, flags, r->res_first_lkid, in __dlm_master_lookup()
987 int dlm_master_lookup(struct dlm_ls *ls, int from_nodeid, const char *name, in dlm_master_lookup() argument
998 if (from_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()
1071 r->res_master_nodeid = from_nodeid; in dlm_master_lookup()
1072 r->res_nodeid = from_nodeid; in dlm_master_lookup()
1086 *r_nodeid = from_nodeid; in dlm_master_lookup()
3837 int from_nodeid; in receive_request() local
3840 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_request()
3862 error = find_rsb(ls, ms->m_extra, namelen, from_nodeid, in receive_request()
3872 error = validate_master_nodeid(ls, r, from_nodeid); in receive_request()
3904 le32_to_cpu(ms->m_lkid), from_nodeid, error); in receive_request()
4117 int len, error, ret_nodeid, from_nodeid, our_nodeid; in receive_lookup() local
4119 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_lookup()
4124 error = dlm_master_lookup(ls, from_nodeid, ms->m_extra, len, 0, in receive_lookup()
4140 int rv, len, dir_nodeid, from_nodeid; in receive_remove() local
4142 from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_remove()
4148 from_nodeid, len); in receive_remove()
4155 from_nodeid, dir_nodeid); in receive_remove()
4183 from_nodeid, name); in receive_remove()
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()
4217 from_nodeid); in receive_remove()
4234 int from_nodeid = le32_to_cpu(ms->m_header.h_nodeid); in receive_request_reply() local
4252 lkb->lkb_id, from_nodeid, le32_to_cpu(ms->m_lkid), in receive_request_reply()
4261 r->res_master_nodeid = from_nodeid; in receive_request_reply()
4262 r->res_nodeid = from_nodeid; in receive_request_reply()
4263 lkb->lkb_nodeid = from_nodeid; in receive_request_reply()
4298 from_nodeid, result, r->res_master_nodeid, in receive_request_reply()
5401 int from_nodeid = le32_to_cpu(rc->rc_header.h_nodeid); in dlm_recover_master_copy() local
5423 from_nodeid, R_RECEIVE_RECOVER, &r); in dlm_recover_master_copy()
5431 from_nodeid, remid); in dlm_recover_master_copy()
5436 lkb = search_remid(r, from_nodeid, remid); in dlm_recover_master_copy()
5472 from_nodeid, remid, error); in dlm_recover_master_copy()