Lines Matching defs:resp_buf
1755 * __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1761 * resp_buf, and its length in resp_bufsz. DUP_ERROR is returned on error.
1764 __svc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1787 if ((rc = __svc_dupcache_check(req, resp_buf, resp_bufsz, dc, drxid,
1804 * __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf,
1808 * copy back into the resp_buf, if appropriate. Return the status of
1812 __svc_dupcache_check(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz,
1846 resp_buf != NULL &&
1848 *resp_buf = malloc(dr->dr_resp.len);
1849 if (*resp_buf == NULL) {
1855 (void) memset(*resp_buf, 0, dr->dr_resp.len);
1856 (void) memcpy(*resp_buf, dr->dr_resp.buf,
1861 if (resp_buf)
1862 *resp_buf = NULL;
2008 * __svc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
2015 __svc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
2043 if ((rc = __svc_dupcache_update(req, resp_buf, resp_bufsz, status,
2053 * __svc_dupcache_update(struct svc_req *req, caddr_t resp_buf,
2061 __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,