Lines Matching refs:resp_buf
1757 * __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1763 * resp_buf, and its length in resp_bufsz. DUP_ERROR is returned on error.
1766 __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1789 if ((rc = __svc_dupcache_check(req, resp_buf, resp_bufsz, dc, drxid,
1806 * __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf,
1810 * copy back into the resp_buf, if appropriate. Return the status of
1814 __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1847 resp_buf != NULL &&
1849 *resp_buf = malloc(dr->dr_resp.len);
1850 if (*resp_buf == NULL) {
1856 (void) memset(*resp_buf, 0, dr->dr_resp.len);
1857 (void) memcpy(*resp_buf, dr->dr_resp.buf,
1862 if (resp_buf)
1863 *resp_buf = NULL;
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,
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,
2087 if (resp_buf != NULL) {
2096 (void) memcpy(dr->dr_resp.buf, resp_buf,