Home
last modified time | relevance | path

Searched refs:backing_size (Results 1 – 3 of 3) sorted by relevance

/external/virglrenderer/tests/
Dtestvirgl.c181 uint32_t backing_size; in testvirgl_create_backed_simple_2d_res() local
194 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); 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()
209 uint32_t backing_size; in testvirgl_create_backed_simple_1d_res() local
220 backing_size = args.width * util_format_get_blocksize(res->base.format); 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()
247 uint32_t backing_size; in testvirgl_create_backed_simple_buffer() local
259 backing_size = args.width * args.height * util_format_get_blocksize(res->base.format); in testvirgl_create_backed_simple_buffer()
[all …]
/external/autotest/client/site_tests/platform_EncryptedStateful/
Dplatform_EncryptedStateful.py153 backing_size = float(info.st_size)
155 chk.check(backing_size > (third * .95)
156 and backing_size < (third * 1.05),
168 chk.check(encrypted_size / backing_size > 0.95,
170 (self.encrypted, encrypted_size, backing_size))
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c962 uint32_t backing_start, backing_size; in amdgpu_bo_sparse_commit() local
964 backing_size = va_page - span_va_page; in amdgpu_bo_sparse_commit()
965 backing = sparse_backing_alloc(bo, &backing_start, &backing_size); in amdgpu_bo_sparse_commit()
973 (uint64_t)backing_size * RADEON_SPARSE_PAGE_SIZE, in amdgpu_bo_sparse_commit()
980 ok = sparse_backing_free(bo, backing, backing_start, backing_size); in amdgpu_bo_sparse_commit()
987 while (backing_size) { in amdgpu_bo_sparse_commit()
992 backing_size--; in amdgpu_bo_sparse_commit()