Home
last modified time | relevance | path

Searched refs:iovs (Results 1 – 11 of 11) sorted by relevance

/f-stack/dpdk/examples/vhost_blk/
H A Dblk.c58 memcpy(bdev->data + offset, task->iovs[i].iov_base, in vhost_bdev_blk_readwrite()
59 task->iovs[i].iov_len); in vhost_bdev_blk_readwrite()
61 memcpy(task->iovs[i].iov_base, bdev->data + offset, in vhost_bdev_blk_readwrite()
62 task->iovs[i].iov_len); in vhost_bdev_blk_readwrite()
63 offset += task->iovs[i].iov_len; in vhost_bdev_blk_readwrite()
64 nbytes += task->iovs[i].iov_len; in vhost_bdev_blk_readwrite()
116 vhost_strcpy_pad(task->iovs[0].iov_base, in vhost_bdev_process_blk_commands()
H A Dvhost_blk.c169 iovs[*iov_index].iov_base = vva; in desc_payload_to_iovs()
170 iovs[*iov_index].iov_len = len; in desc_payload_to_iovs()
212 struct iovec *iovs, uint32_t *iovs_idx, in setup_iovs_from_descs_split() argument
226 if (desc_payload_to_iovs(ctrlr, iovs, iovs_idx, in setup_iovs_from_descs_split()
243 struct iovec *iovs, uint32_t *iovs_idx, in setup_iovs_from_descs_packed() argument
257 if (desc_payload_to_iovs(ctrlr, iovs, iovs_idx, in setup_iovs_from_descs_packed()
274 struct iovec *iovs, uint32_t *iovs_idx, in setup_iovs_from_inflight_desc() argument
292 if (desc_payload_to_iovs(ctrlr, iovs, iovs_idx, in setup_iovs_from_inflight_desc()
321 task->req_idx, task->iovs, &task->iovs_cnt, in process_blk_task()
328 task->req_idx, task->iovs, &task->iovs_cnt, in process_blk_task()
[all …]
H A Dvhost_blk.h99 struct iovec iovs[VHOST_BLK_MAX_IOVS]; member
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_writev_chain.c21 struct iovec iovs[NGX_IOVS_PREALLOCATE]; in ngx_writev_chain() local
48 vec.iovs = iovs; in ngx_writev_chain()
164 iov = &vec->iovs[n++]; in ngx_output_chain_to_iovec()
189 n = writev(c->fd, vec->iovs, vec->count); in ngx_writev()
H A Dngx_darwin_sendfile_chain.c72 header.iovs = headers; in ngx_darwin_sendfile_chain()
75 trailer.iovs = trailers; in ngx_darwin_sendfile_chain()
124 hdtr.headers = header.count ? header.iovs : NULL; in ngx_darwin_sendfile_chain()
126 hdtr.trailers = trailer.count ? trailer.iovs : NULL; in ngx_darwin_sendfile_chain()
H A Dngx_files.c298 struct iovec iovs[NGX_IOVS_PREALLOCATE]; in ngx_write_chain_to_file() local
310 vec.iovs = iovs; in ngx_write_chain_to_file()
320 n = ngx_write_file(file, (u_char *) iovs[0].iov_base, in ngx_write_chain_to_file()
321 iovs[0].iov_len, offset); in ngx_write_chain_to_file()
374 iov = &vec->iovs[n++]; in ngx_chain_to_iovec()
404 n = pwritev(file->fd, vec->iovs, vec->count, offset); in ngx_writev_file()
441 n = writev(file->fd, vec->iovs, vec->count); in ngx_writev_file()
548 struct iovec iovs[NGX_IOVS_PREALLOCATE]; in ngx_thread_write_chain_to_file_handler() local
550 vec.iovs = iovs; in ngx_thread_write_chain_to_file_handler()
565 n = pwritev(ctx->fd, iovs, vec.count, offset); in ngx_thread_write_chain_to_file_handler()
H A Dngx_freebsd_sendfile_chain.c85 header.iovs = headers; in ngx_freebsd_sendfile_chain()
88 trailer.iovs = trailers; in ngx_freebsd_sendfile_chain()
166 hdtr.headers = header.count ? header.iovs : NULL; in ngx_freebsd_sendfile_chain()
168 hdtr.trailers = trailer.count ? trailer.iovs : NULL; in ngx_freebsd_sendfile_chain()
H A Dngx_udp_sendmsg_chain.c26 struct iovec iovs[NGX_IOVS_PREALLOCATE]; in ngx_udp_unix_sendmsg_chain() local
53 vec.iovs = iovs; in ngx_udp_unix_sendmsg_chain()
174 iov = &vec->iovs[n++]; in ngx_udp_output_chain_to_iovec()
227 msg.msg_iov = vec->iovs; in ngx_sendmsg()
H A Dngx_readv_chain.c21 struct iovec *iov, iovs[NGX_IOVS_PREALLOCATE]; in ngx_readv_chain() local
74 vec.elts = iovs; in ngx_readv_chain()
H A Dngx_os.h65 struct iovec *iovs; member
H A Dngx_linux_sendfile_chain.c76 header.iovs = headers; in ngx_linux_sendfile_chain()