/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | sendrecv.c | 258 apr_hdtr_t *hdtr, apr_off_t *offset, 291 if (!hdtr) { 292 hdtr = &no_hdtr; 295 if (hdtr->numheaders > 0) { 305 arv = apr_socket_sendv(sock, hdtr->headers, hdtr->numheaders, 318 for (i = 0; i < hdtr->numheaders; i++) { 319 total_hdrbytes += hdtr->headers[i].iov_len; 391 if (hdtr->numtrailers > 0) { 393 arv = apr_socket_sendv(sock, hdtr 257 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument 413 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument 531 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument 667 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument 815 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument 977 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument [all...] |
/freebsd-11-stable/tools/regression/sockets/sendfile/ |
H A D | sendfile.c | 272 struct sf_hdtr hdtr, *hdtrp; local 301 hdtrp = &hdtr; 305 bzero(&hdtr, sizeof(hdtr)); 306 hdtr.headers = &headers; 307 hdtr.hdr_cnt = 1; 308 hdtr.trailers = NULL; 309 hdtr.trl_cnt = 0;
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_sendfile.c | 919 struct sf_hdtr hdtr; local 936 if (uap->hdtr != NULL) { 937 error = copyin(uap->hdtr, &hdtr, sizeof(hdtr)); 940 if (hdtr.headers != NULL) { 941 error = copyinuio(hdtr.headers, hdtr.hdr_cnt, 959 if (hdtr.trailers != NULL) { 960 error = copyinuio(hdtr [all...] |
H A D | systrace_args.c | 2074 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
|
/freebsd-11-stable/contrib/serf/ |
H A D | serf_bucket_util.h | 72 apr_hdtr_t *hdtr,
|
H A D | serf.h | 810 * On input, hdtr->numheaders and hdtr->numtrailers specify the size 811 * of the hdtr->headers and hdtr->trailers arrays, respectively. The 832 apr_size_t requested, apr_hdtr_t *hdtr,
|
/freebsd-11-stable/contrib/serf/buckets/ |
H A D | buckets.c | 82 apr_hdtr_t *hdtr, 93 hdtr->numheaders, 94 hdtr->headers, 95 &hdtr->numheaders); 99 hdtr->numtrailers = 0; 79 serf_default_read_for_sendfile( serf_bucket_t *bucket, apr_size_t requested, apr_hdtr_t *hdtr, apr_file_t **file, apr_off_t *offset, apr_size_t *len) argument
|
/freebsd-11-stable/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 677 struct sf_hdtr hdtr; local 681 hdtr.headers = headers; 682 hdtr.hdr_cnt = nitems(headers); 684 hdtr.headers = NULL; 685 hdtr.hdr_cnt = 0; 689 hdtr.trailers = trailers; 690 hdtr.trl_cnt = nitems(trailers); 692 hdtr.trailers = NULL; 693 hdtr.trl_cnt = 0; 724 error = sendfile(fd, client_sock, offset, nbytes, &hdtr, [all...] |
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_network_io.h | 626 * @param hdtr A structure containing the headers and trailers to send 641 apr_hdtr_t *hdtr,
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 1689 struct sf_hdtr hdtr; local 1703 if (uap->hdtr != NULL) { 1704 error = copyin(uap->hdtr, &hdtr32, sizeof(hdtr32)); 1707 PTRIN_CP(hdtr32, hdtr, headers); 1708 CP(hdtr32, hdtr, hdr_cnt); 1709 PTRIN_CP(hdtr32, hdtr, trailers); 1710 CP(hdtr32, hdtr, trl_cnt); 1712 if (hdtr.headers != NULL) { 1732 if (hdtr.trailers != NULL) {
|
H A D | freebsd32_proto.h | 338 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; member in struct:freebsd32_sendfile_args 957 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; member in struct:freebsd4_freebsd32_sendfile_args
|
H A D | freebsd32_systrace_args.c | 1971 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
|
/freebsd-11-stable/sys/sys/ |
H A D | sysproto.h | 1103 char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)]; member in struct:sendfile_args 2395 char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)]; member in struct:freebsd4_sendfile_args
|