Home
last modified time | relevance | path

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

/external/virglrenderer/tests/
Dtestvirgl.c195 res->iovs = malloc(sizeof(struct iovec)); in testvirgl_create_backed_simple_2d_res()
197 res->iovs[0].iov_base = malloc(backing_size); in testvirgl_create_backed_simple_2d_res()
198 res->iovs[0].iov_len = backing_size; in testvirgl_create_backed_simple_2d_res()
201 virgl_renderer_resource_attach_iov(res->handle, res->iovs, res->niovs); in testvirgl_create_backed_simple_2d_res()
221 res->iovs = malloc(sizeof(struct iovec)); in testvirgl_create_backed_simple_1d_res()
223 res->iovs[0].iov_base = malloc(backing_size); in testvirgl_create_backed_simple_1d_res()
224 res->iovs[0].iov_len = backing_size; in testvirgl_create_backed_simple_1d_res()
227 virgl_renderer_resource_attach_iov(res->handle, res->iovs, res->niovs); in testvirgl_create_backed_simple_1d_res()
233 struct iovec *iovs; in testvirgl_destroy_backed_res() local
236 virgl_renderer_resource_detach_iov(res->handle, &iovs, &niovs); in testvirgl_destroy_backed_res()
[all …]
Dtest_virgl_transfer.c123 struct iovec iovs[1]; in START_TEST() local
134 ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, NULL, 0, iovs, niovs); in START_TEST()
145 struct iovec iovs[1]; in START_TEST() local
156 ret = virgl_renderer_transfer_write_iov(1, 1, 0, 1, 1, NULL, 0, iovs, niovs); in START_TEST()
169 struct iovec iovs[1]; in START_TEST() local
186 ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, &box, 0, iovs, niovs); in START_TEST()
197 struct iovec iovs[1]; in START_TEST() local
214 ret = virgl_renderer_transfer_write_iov(1, 1, 0, 1, 1, &box, 0, iovs, niovs); in START_TEST()
225 struct iovec iovs[1]; in START_TEST() local
244 ret = virgl_renderer_transfer_read_iov(1, 1, 0, 1, 1, &box, 0, iovs, niovs); in START_TEST()
[all …]
Dtest_virgl_init.c382 struct iovec iovs[1]; in START_TEST() local
391 iovs[0].iov_base = malloc(4096); in START_TEST()
392 iovs[0].iov_len = 4096; in START_TEST()
394 ret = virgl_renderer_resource_attach_iov(1, iovs, 1); in START_TEST()
399 free(iovs[0].iov_base); in START_TEST()
408 struct iovec iovs[1]; in START_TEST() local
416 iovs[0].iov_base = malloc(4096); in START_TEST()
417 iovs[0].iov_len = 4096; in START_TEST()
419 ret = virgl_renderer_resource_attach_iov(1, iovs, 1); in START_TEST()
424 free(iovs[0].iov_base); in START_TEST()
[all …]
Dtestvirgl.h54 struct iovec *iovs; member
Dtest_virgl_cmd.c129 uint32_t *ptr = res.iovs[0].iov_base; in START_TEST()
218 uint32_t *ptr = res2.iovs[0].iov_base; in START_TEST()
460 uint32_t *ptr = res.iovs[0].iov_base; in START_TEST()
724 uint32_t *ptr = res.iovs[0].iov_base; in START_TEST()
969 uint32_t *ptr = res.iovs[0].iov_base; in START_TEST()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux.go1331 func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
1335 uintptr(unsafe.Pointer(&iovs[0])),
1336 uintptr(len(iovs)),
/external/python/cpython3/Modules/
Dsocketmodule.c3832 struct iovec *iovs = NULL; in sock_recvmsg_into() local
3853 if (nitems > 0 && ((iovs = PyMem_New(struct iovec, nitems)) == NULL || in sock_recvmsg_into()
3864 iovs[nbufs].iov_base = bufs[nbufs].buf; in sock_recvmsg_into()
3865 iovs[nbufs].iov_len = bufs[nbufs].len; in sock_recvmsg_into()
3868 retval = sock_recvmsg_guts(s, iovs, nitems, flags, ancbufsize, in sock_recvmsg_into()
3874 PyMem_Free(iovs); in sock_recvmsg_into()
4156 struct iovec *iovs = NULL; in sock_sendmsg_iovec() local
4177 iovs = PyMem_New(struct iovec, ndataparts); in sock_sendmsg_iovec()
4178 if (iovs == NULL) { in sock_sendmsg_iovec()
4182 msg->msg_iov = iovs; in sock_sendmsg_iovec()
[all …]