Lines Matching refs:num_iovs
6056 res->num_iovs = iov_count; in vrend_pipe_resource_attach_iov()
6059 vrend_write_to_iovec(res->iov, res->num_iovs, 0, in vrend_pipe_resource_attach_iov()
6070 vrend_read_from_iovec(res->iov, res->num_iovs, 0, in vrend_pipe_resource_detach_iov()
6075 res->num_iovs = 0; in vrend_pipe_resource_detach_iov()
7197 unsigned int num_iovs, in read_transfer_data() argument
7207 uint32_t size = vrend_get_iovec_size(iov, num_iovs); in read_transfer_data()
7215 vrend_read_from_iovec(iov, num_iovs, offset, data, send_size); in read_transfer_data()
7222 vrend_read_from_iovec(iov, num_iovs, myoffset, ptr, bwx); in read_transfer_data()
7231 vrend_read_from_iovec(iov, num_iovs, myoffset, ptr, bwx); in read_transfer_data()
7241 unsigned num_iovs, in write_transfer_data() argument
7250 uint32_t size = vrend_get_iovec_size(iov, num_iovs); in write_transfer_data()
7259 vrend_write_to_iovec(iov, num_iovs, offset, data, send_size); in write_transfer_data()
7265 vrend_write_to_iovec(iov, num_iovs, myoffset, ptr, bwx); in write_transfer_data()
7274 vrend_write_to_iovec(iov, num_iovs, myoffset, ptr, bwx); in write_transfer_data()
7371 const struct iovec *iov, int num_iovs) in check_iov_bounds() argument
7374 GLuint iovsize = vrend_get_iovec_size(iov, num_iovs); in check_iov_bounds()
7449 const struct iovec *iov, int num_iovs, in vrend_renderer_transfer_write_iov() argument
7456 return vrend_copy_iovec(iov, num_iovs, info->offset, in vrend_renderer_transfer_write_iov()
7457 res->iov, res->num_iovs, info->box->x, in vrend_renderer_transfer_write_iov()
7463 vrend_read_from_iovec(iov, num_iovs, info->offset, in vrend_renderer_transfer_write_iov()
7481 vrend_read_from_iovec_cb(iov, num_iovs, info->offset, info->box->width, &iov_buffer_upload, &d); in vrend_renderer_transfer_write_iov()
7483 vrend_read_from_iovec(iov, num_iovs, info->offset, data, info->box->width); in vrend_renderer_transfer_write_iov()
7513 if (num_iovs > 1 || compressed) { in vrend_renderer_transfer_write_iov()
7535 read_transfer_data(iov, num_iovs, data, res->base.format, info->offset, in vrend_renderer_transfer_write_iov()
7716 const struct iovec *iov, int num_iovs, in vrend_transfer_send_getteximage() argument
7787 write_transfer_data(&res->base, iov, num_iovs, data + send_offset, in vrend_transfer_send_getteximage()
7821 const struct iovec *iov, int num_iovs, in vrend_transfer_send_readpixels() argument
7867 if (num_iovs > 1 || separate_invert) in vrend_transfer_send_readpixels()
7970 write_transfer_data(&res->base, iov, num_iovs, data, in vrend_transfer_send_readpixels()
7982 const struct iovec *iov, int num_iovs, in vrend_transfer_send_readonly() argument
7988 if (res->num_iovs == (uint32_t)num_iovs) { in vrend_transfer_send_readonly()
7989 for (i = 0; i < res->num_iovs; i++) { in vrend_transfer_send_readonly()
8014 const struct iovec *iov, int num_iovs, in vrend_renderer_transfer_send_iov() argument
8019 return vrend_copy_iovec(res->iov, res->num_iovs, info->box->x, in vrend_renderer_transfer_send_iov()
8020 iov, num_iovs, info->offset, in vrend_renderer_transfer_send_iov()
8026 vrend_write_to_iovec(iov, num_iovs, info->offset, in vrend_renderer_transfer_send_iov()
8040 vrend_write_to_iovec(iov, num_iovs, info->offset, data, send_size); in vrend_renderer_transfer_send_iov()
8050 ret = vrend_transfer_send_readpixels(ctx, res, iov, num_iovs, info); in vrend_renderer_transfer_send_iov()
8055 ret = vrend_transfer_send_getteximage(res, iov, num_iovs, info); in vrend_renderer_transfer_send_iov()
8057 ret = vrend_transfer_send_readonly(res, iov, num_iovs, info); in vrend_renderer_transfer_send_iov()
8071 int num_iovs; in vrend_renderer_transfer_internal() local
8081 num_iovs = info->iovec_cnt; in vrend_renderer_transfer_internal()
8084 num_iovs = res->num_iovs; in vrend_renderer_transfer_internal()
8091 return virgl_gbm_transfer(res->gbm_bo, transfer_mode, iov, num_iovs, info); in vrend_renderer_transfer_internal()
8100 if (!check_iov_bounds(res, info, iov, num_iovs)) { in vrend_renderer_transfer_internal()
8107 return vrend_renderer_transfer_write_iov(ctx, res, iov, num_iovs, info); in vrend_renderer_transfer_internal()
8109 return vrend_renderer_transfer_send_iov(ctx, res, iov, num_iovs, info); in vrend_renderer_transfer_internal()
8213 if (!check_iov_bounds(dst_res, info, src_res->iov, src_res->num_iovs)) { in vrend_renderer_copy_transfer3d()
8241 src_res->num_iovs, in vrend_renderer_copy_transfer3d()
8248 src_res->num_iovs, info); in vrend_renderer_copy_transfer3d()
8515 read_transfer_data(src_res->iov, src_res->num_iovs, tptr, in vrend_resource_copy_fallback()
8520 write_transfer_data(&dst_res->base, dst_res->iov, dst_res->num_iovs, tptr, in vrend_resource_copy_fallback()
9358 vrend_write_to_iovec(query->res->iov, query->res->num_iovs, 0, in vrend_check_query()
10549 const struct iovec *iov, unsigned int num_iovs, in vrend_renderer_get_rect() argument
10573 transfer_info.iovec_cnt = num_iovs; in vrend_renderer_get_rect()