Lines Matching refs:req
1364 r = SVCEXT(xprt)->req;
1492 struct svc_req *req = NULL;
1511 if ((req = malloc(sizeof (struct svc_req))) == NULL)
1513 xt->req = req;
1539 struct svc_req *req = xt ? xt->req : NULL;
1550 if (req)
1551 free(req);
1757 * __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1766 __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1783 if (SVC_CONTROL(req->rq_xprt, SVCGET_XID, (void*)&drxid) == FALSE) {
1789 if ((rc = __svc_dupcache_check(req, resp_buf, resp_bufsz, dc, drxid,
1796 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow))
1806 * __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf,
1814 __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1823 dr->dr_proc == req->rq_proc &&
1824 dr->dr_prog == req->rq_prog &&
1825 dr->dr_vers == req->rq_vers &&
1826 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len &&
1827 memcmp(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf,
1968 * __svc_dupcache_enter(struct svc_req *req, struct dupreq *dr,
1973 __svc_dupcache_enter(struct svc_req *req, struct dupreq *dr,
1977 dr->dr_prog = req->rq_prog;
1978 dr->dr_vers = req->rq_vers;
1979 dr->dr_proc = req->rq_proc;
1980 dr->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len;
1988 (void) memcpy(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf,
2009 * __svc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
2016 __svc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
2037 if (SVC_CONTROL(req->rq_xprt, SVCGET_XID, (void*)&drxid) == FALSE) {
2044 if ((rc = __svc_dupcache_update(req, resp_buf, resp_bufsz, status,
2054 * __svc_dupcache_update(struct svc_req *req, caddr_t resp_buf,
2062 __svc_dupcache_update(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
2072 dr->dr_proc == req->rq_proc &&
2073 dr->dr_prog == req->rq_prog &&
2074 dr->dr_vers == req->rq_vers &&
2075 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len &&
2076 memcmp(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf,