Lines Matching refs:rp

289 	register const struct sunrpc_msg *rp;
293 rp = (const struct sunrpc_msg *)bp;
295 TCHECK(rp->rm_xid);
299 EXTRACT_32BITS(&rp->rm_xid));
303 EXTRACT_32BITS(&rp->rm_xid));
319 register const struct sunrpc_msg *rp;
327 rp = (const struct sunrpc_msg *)bp;
329 TCHECK(rp->rm_reply.rp_stat);
330 reply_stat = EXTRACT_32BITS(&rp->rm_reply.rp_stat);
335 if (xid_map_find(rp, bp2, &proc, &vers) >= 0)
336 interp_reply(rp, proc, vers, length);
341 TCHECK(rp->rm_reply.rp_reject.rj_stat);
342 rstat = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_stat);
346 TCHECK(rp->rm_reply.rp_reject.rj_vers.high);
347 rlow = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.low);
348 rhigh = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.high);
354 TCHECK(rp->rm_reply.rp_reject.rj_why);
355 rwhy = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_why);
422 parsereq(register const struct sunrpc_msg *rp, register u_int length)
430 dp = (u_int32_t *)&rp->rm_call.cb_cred;
524 register const struct sunrpc_msg *rp;
528 rp = (const struct sunrpc_msg *)bp;
530 TCHECK(rp->rm_xid);
533 EXTRACT_32BITS(&rp->rm_xid));
537 EXTRACT_32BITS(&rp->rm_xid));
555 register const struct sunrpc_msg *rp;
564 rp = (const struct sunrpc_msg *)bp;
566 if (!xid_map_enter(rp, bp2)) /* record proc number for later on */
569 v3 = (EXTRACT_32BITS(&rp->rm_call.cb_vers) == NFS_VER3);
570 proc = EXTRACT_32BITS(&rp->rm_call.cb_proc);
585 if ((dp = parsereq(rp, length)) != NULL &&
592 if ((dp = parsereq(rp, length)) != NULL &&
599 if ((dp = parsereq(rp, length)) != NULL &&
606 if ((dp = parsereq(rp, length)) != NULL &&
646 if ((dp = parsereq(rp, length)) != NULL &&
653 if ((dp = parsereq(rp, length)) != NULL &&
672 if ((dp = parsereq(rp, length)) != NULL &&
701 if ((dp = parsereq(rp, length)) != NULL &&
708 if ((dp = parsereq(rp, length)) != 0 && parsefhn(dp, v3) != 0)
714 if ((dp = parsereq(rp, length)) != 0 &&
729 if ((dp = parsereq(rp, length)) != 0 &&
752 if ((dp = parsereq(rp, length)) != NULL &&
759 if ((dp = parsereq(rp, length)) != NULL &&
766 if ((dp = parsereq(rp, length)) != NULL &&
776 if ((dp = parsereq(rp, length)) != NULL &&
786 if ((dp = parsereq(rp, length)) != NULL &&
816 if ((dp = parsereq(rp, length)) != NULL &&
837 if ((dp = parsereq(rp, length)) != NULL &&
844 if ((dp = parsereq(rp, length)) != NULL &&
851 if ((dp = parsereq(rp, length)) != NULL &&
858 if ((dp = parsereq(rp, length)) != NULL &&
869 printf(" proc-%u", EXTRACT_32BITS(&rp->rm_call.cb_proc));
969 xid_map_enter(const struct sunrpc_msg *rp, const u_char *bp)
977 if (!TTEST(rp->rm_call.cb_vers))
997 xmep->xid = rp->rm_xid;
1010 xmep->proc = EXTRACT_32BITS(&rp->rm_call.cb_proc);
1011 xmep->vers = EXTRACT_32BITS(&rp->rm_call.cb_vers);
1020 xid_map_find(const struct sunrpc_msg *rp, const u_char *bp, u_int32_t *proc,
1025 u_int32_t xid = rp->rm_xid;
1087 parserep(register const struct sunrpc_msg *rp, register u_int length)
1097 * dp = (u_int32_t *)&rp->rm_reply.rp_acpt.ar_verf
1103 * before rp->rm_reply.rp_acpt.ar_verf. So, we cannot use
1108 dp = ((const u_int32_t *)&rp->rm_reply) + 1;
1570 interp_reply(const struct sunrpc_msg *rp, u_int32_t proc, u_int32_t vers, int length)
1593 dp = parserep(rp, length);
1600 if (!(dp = parserep(rp, length)))
1613 if (!(dp = parserep(rp, length)))
1642 if (!(dp = parserep(rp, length)))
1656 dp = parserep(rp, length);
1663 if (!(dp = parserep(rp, length)))
1687 if (!(dp = parserep(rp, length)))
1715 if (!(dp = parserep(rp, length)))
1728 if (!(dp = parserep(rp, length)))
1741 if (!(dp = parserep(rp, length)))
1754 if (!(dp = parserep(rp, length)))
1762 if (!(dp = parserep(rp, length)))
1775 if (!(dp = parserep(rp, length)))
1788 if (!(dp = parserep(rp, length)))
1810 if (!(dp = parserep(rp, length)))
1832 if (!(dp = parserep(rp, length)))
1845 if (!(dp = parserep(rp, length)))
1853 dp = parserep(rp, length);
1860 dp = parserep(rp, length);
1867 dp = parserep(rp, length);
1874 dp = parserep(rp, length);