Lines Matching refs:rp

336 	register const struct sunrpc_msg *rp;  in nfsreply_print()  local
340 rp = (const struct sunrpc_msg *)bp; in nfsreply_print()
342 ND_TCHECK(rp->rm_xid); in nfsreply_print()
346 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
350 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
367 register const struct sunrpc_msg *rp; in nfsreply_print_noaddr() local
375 rp = (const struct sunrpc_msg *)bp; in nfsreply_print_noaddr()
377 ND_TCHECK(rp->rm_reply.rp_stat); in nfsreply_print_noaddr()
378 reply_stat = EXTRACT_32BITS(&rp->rm_reply.rp_stat); in nfsreply_print_noaddr()
383 if (xid_map_find(rp, bp2, &proc, &vers) >= 0) in nfsreply_print_noaddr()
384 interp_reply(ndo, rp, proc, vers, length); in nfsreply_print_noaddr()
389 ND_TCHECK(rp->rm_reply.rp_reject.rj_stat); in nfsreply_print_noaddr()
390 rstat = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_stat); in nfsreply_print_noaddr()
394 ND_TCHECK(rp->rm_reply.rp_reject.rj_vers.high); in nfsreply_print_noaddr()
395 rlow = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.low); in nfsreply_print_noaddr()
396 rhigh = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.high); in nfsreply_print_noaddr()
401 ND_TCHECK(rp->rm_reply.rp_reject.rj_why); in nfsreply_print_noaddr()
402 rwhy = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_why); in nfsreply_print_noaddr()
429 register const struct sunrpc_msg *rp, register u_int length) in parsereq() argument
437 dp = (uint32_t *)&rp->rm_call.cb_cred; in parsereq()
535 register const struct sunrpc_msg *rp; in nfsreq_print_noaddr() local
545 rp = (const struct sunrpc_msg *)bp; in nfsreq_print_noaddr()
547 if (!xid_map_enter(ndo, rp, bp2)) /* record proc number for later on */ in nfsreq_print_noaddr()
550 v3 = (EXTRACT_32BITS(&rp->rm_call.cb_vers) == NFS_VER3); in nfsreq_print_noaddr()
551 proc = EXTRACT_32BITS(&rp->rm_call.cb_proc); in nfsreq_print_noaddr()
565 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
575 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
581 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
620 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
638 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
666 if ((dp = parsereq(ndo, rp, length)) != 0 && in nfsreq_print_noaddr()
680 if ((dp = parsereq(ndo, rp, length)) != 0 && in nfsreq_print_noaddr()
702 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
711 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
720 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
748 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
768 if ((dp = parsereq(ndo, rp, length)) != NULL && in nfsreq_print_noaddr()
880 const struct sunrpc_msg *rp, const u_char *bp) in xid_map_enter() argument
888 if (!ND_TTEST(rp->rm_call.cb_vers)) in xid_map_enter()
908 UNALIGNED_MEMCPY(&xmep->xid, &rp->rm_xid, sizeof(xmep->xid)); in xid_map_enter()
921 xmep->proc = EXTRACT_32BITS(&rp->rm_call.cb_proc); in xid_map_enter()
922 xmep->vers = EXTRACT_32BITS(&rp->rm_call.cb_vers); in xid_map_enter()
931 xid_map_find(const struct sunrpc_msg *rp, const u_char *bp, uint32_t *proc, in xid_map_find() argument
936 uint32_t xid = rp->rm_xid; in xid_map_find()
999 register const struct sunrpc_msg *rp, register u_int length) in parserep() argument
1020 dp = ((const uint32_t *)&rp->rm_reply) + 1; in parserep()
1469 const struct sunrpc_msg *rp, uint32_t proc, uint32_t vers, int length) in interp_reply() argument
1484 dp = parserep(ndo, rp, length); in interp_reply()
1490 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1502 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1530 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1543 dp = parserep(ndo, rp, length); in interp_reply()
1549 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1572 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1600 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1612 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1624 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1632 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1644 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1665 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1686 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1698 if (!(dp = parserep(ndo, rp, length))) in interp_reply()
1705 dp = parserep(ndo, rp, length); in interp_reply()
1711 dp = parserep(ndo, rp, length); in interp_reply()
1717 dp = parserep(ndo, rp, length); in interp_reply()
1723 dp = parserep(ndo, rp, length); in interp_reply()