Lines Matching refs:size

116 	unsigned long size;
212 * Total size of the target_bos of this buffer.
431 sz = (bo->size + bo_fake->alignment - 1) & ~(bo_fake->alignment - 1);
472 memcpy(bo_fake->backing_store, block->virtual, block->bo->size);
499 bo_fake->backing_store = malloc(bo->size);
502 bo_fake->backing_store, bo->size);
604 block->mem->ofs, block->mem->size);
610 block->mem->ofs, block->mem->size);
621 block->mem->ofs, block->mem->size, block->fence,
638 block, block->mem->size, block->mem->ofs, block->bo, fence);
712 DBG("%s 0x%lx bytes failed\n", __func__, bo->size);
801 unsigned long size,
809 assert(size != 0);
815 bo_fake->bo.size = size;
832 bo_fake->bo.size / 1024);
867 unsigned long size, void *virtual)
874 assert(size != 0);
880 bo_fake->bo.size = size;
891 bo_fake->name, bo_fake->bo.size / 1024);
1019 bo_fake->name, bo_fake->bo.size / 1024);
1056 bo_fake->block->bo->size);
1097 bo_fake->bo.size / 1024);
1119 unsigned long size, const void *data)
1123 if (size == 0 || data == NULL)
1129 memcpy((unsigned char *)bo->virtual + offset, data, size);
1164 bo_fake->name, bo_fake->bo.size / 1024);
1194 bo_fake->name, bo->size, bo_fake->block->mem->ofs);
1209 bo->size);
1211 memset(bo_fake->block->virtual, 0, bo->size);
1279 ALIGN(target_bo->size, target_fake->alignment);
1492 * Return an error if the list of BOs will exceed the aperture size.
1513 sz += ALIGN(bo_array[i]->size, bo_fake->alignment);
1517 if (sz > bufmgr_fake->size) {
1518 DBG("check_space: overflowed bufmgr size, %ukb vs %lukb\n",
1519 sz / 1024, bufmgr_fake->size / 1024);
1524 bufmgr_fake->size / 1024);
1582 void *low_virtual, unsigned long size,
1601 bufmgr_fake->size = size;
1602 bufmgr_fake->heap = mmInit(low_offset, size);