/device/google/contexthub/firmware/os/core/ |
D | slab.c | 31 struct SlabAllocator *allocator; in slabAllocatorNew() local 42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz); in slabAllocatorNew() 43 if (allocator) { in slabAllocatorNew() 44 allocator->itemSz = itemSz; in slabAllocatorNew() 45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; in slabAllocatorNew() 46 atomicBitsetInit(allocator->bitset, numItems); in slabAllocatorNew() 49 return allocator; in slabAllocatorNew() 52 void slabAllocatorDestroy(struct SlabAllocator *allocator) in slabAllocatorDestroy() argument 54 heapFree(allocator); in slabAllocatorDestroy() 57 void* slabAllocatorAlloc(struct SlabAllocator *allocator) in slabAllocatorAlloc() argument [all …]
|
D | osApi.c | 254 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabDestroy() local 256 slabAllocatorDestroy(allocator); in osExpApiSlabDestroy() 261 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabAlloc() local 263 *retValP = (uintptr_t)slabAllocatorAlloc(allocator); in osExpApiSlabAlloc() 268 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabFree() local 271 slabAllocatorFree(allocator, mem); in osExpApiSlabFree()
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | address_space.h | 147 struct address_space_allocator *allocator, in address_space_allocator_split_block() argument 151 address_space_assert(allocator->capacity >= 1); in address_space_allocator_split_block() 152 address_space_assert(allocator->size >= 1); in address_space_allocator_split_block() 153 address_space_assert(allocator->size <= allocator->capacity); in address_space_allocator_split_block() 155 address_space_assert(i < allocator->size); in address_space_allocator_split_block() 156 address_space_assert(size < allocator->blocks[i].size); in address_space_allocator_split_block() 158 if (allocator->size == allocator->capacity) { in address_space_allocator_split_block() 159 int new_capacity = address_space_allocator_grow_capacity(allocator->capacity); in address_space_allocator_split_block() 160 allocator->blocks = in address_space_allocator_split_block() 163 allocator->blocks, in address_space_allocator_split_block() [all …]
|
D | AndroidSubAllocator.cpp | 61 [](void* context, struct address_space_allocator* allocator) { in save() argument 63 stream->putBe32(allocator->size); in save() 64 stream->putBe32(allocator->capacity); in save() 65 stream->putBe64(allocator->total_bytes); in save() 89 [](void* context, struct address_space_allocator* allocator) { in load() argument 91 allocator->size = stream->getBe32(); in load() 92 allocator->capacity = stream->getBe32(); in load() 93 allocator->total_bytes = stream->getBe64(); in load()
|
/device/google/contexthub/firmware/os/inc/ |
D | slab.h | 29 void slabAllocatorDestroy(struct SlabAllocator *allocator); 30 void* slabAllocatorAlloc(struct SlabAllocator *allocator); 31 void slabAllocatorFree(struct SlabAllocator *allocator, void *ptr); 33 void* slabAllocatorGetNth(struct SlabAllocator *allocator, uint32_t idx); // -> pointer or NULL if … 34 uint32_t slabAllocatorGetIndex(struct SlabAllocator *allocator, void *ptr); // -> index or -1 if in… 35 uint32_t slabAllocatorGetNumItems(struct SlabAllocator *allocator); // simply say hwo many items it…
|
D | syscallDo.h | 205 static inline void eOsSlabAllocatorDestroy(struct SlabAllocator* allocator) in eOsSlabAllocatorDestroy() argument 207 …YSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_DESTROY), allocator); in eOsSlabAllocatorDestroy() 210 static inline void* eOsSlabAllocatorAlloc(struct SlabAllocator* allocator) in eOsSlabAllocatorAlloc() argument 212 …(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_ALLOC), allocator); in eOsSlabAllocatorAlloc() 215 static inline void eOsSlabAllocatorFree(struct SlabAllocator* allocator, void* ptrP) in eOsSlabAllocatorFree() argument 217 …ALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_FREE), allocator, ptrP); in eOsSlabAllocatorFree()
|
/device/generic/goldfish-opengl/system/hals/ |
D | android.hardware.graphics.allocator@3.0-service.rc | 1 service vendor.gralloc-3-0 /vendor/bin/hw/android.hardware.graphics.allocator@3.0-service 2 interface android.hardware.graphics.allocator@3.0::IAllocator default 4 interface android.hardware.graphics.allocator@3.0::IAllocator default
|
D | Android.mk | 20 LOCAL_MODULE := android.hardware.graphics.allocator@3.0-service 24 LOCAL_INIT_RC := android.hardware.graphics.allocator@3.0-service.rc 27 android.hardware.graphics.allocator@3.0 \
|
D | allocator3.cpp | 39 namespace AllocatorV3 = ::android::hardware::graphics::allocator::V3_0; 424 sp<IAllocator3> allocator(new GoldfishAllocator()); in main() local 425 if (allocator->registerAsService() != ::android::NO_ERROR) { in main()
|
/device/google/cuttlefish/shared/config/ |
D | CleanSpec.mk | 49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.graphics.allocator@3.… 50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.graphics.allocator@3.0-…
|
/device/linaro/poplar/ |
D | device.mk | 81 android.hardware.graphics.allocator@2.0 \ 82 android.hardware.graphics.allocator@2.0-impl \ 83 android.hardware.graphics.allocator@2.0-service \
|
/device/google/crosshatch/ |
D | CleanSpec.mk | 111 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/android.hardware.graphics.allocator@2.0-… 112 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/android.hardware.graphics.allocator@2.… 113 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.graphics.allocator@2.0-… 114 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.graphics.allocator@2.…
|
/device/generic/goldfish/ |
D | fvp.mk | 56 android.hardware.graphics.allocator@2.0-service \ 57 android.hardware.graphics.allocator@2.0-impl \
|
/device/google/bonito/ |
D | CleanSpec.mk | 111 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/android.hardware.graphics.allocator@2.0-… 112 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/android.hardware.graphics.allocator@2.… 113 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.graphics.allocator@2.0-… 114 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.graphics.allocator@2.…
|
/device/ti/beagle_x15/ |
D | device.mk | 68 android.hardware.graphics.allocator@2.0-impl \ 69 android.hardware.graphics.allocator@2.0-service \
|
/device/generic/uml/ |
D | uml.mk | 35 android.hidl.allocator@1.0-service \
|
/device/linaro/dragonboard/ |
D | device-common.mk | 46 android.hardware.graphics.allocator@2.0-impl \ 47 android.hardware.graphics.allocator@2.0-service \
|
/device/generic/trusty/ |
D | qemu_trusty_base.mk | 27 android.hidl.allocator@1.0-service \
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | hwservice_contexts | 33 vendor.qti.hardware.display.allocator::IQtiAllocator u:object_r:hal_graphics_all…
|
/device/linaro/hikey/ |
D | device-common.mk | 92 android.hardware.graphics.allocator@2.0-impl \ 93 android.hardware.graphics.allocator@2.0-service \
|
/device/amlogic/yukawa/ |
D | device-common.mk | 230 android.hardware.graphics.allocator@2.0-service \ 231 android.hardware.graphics.allocator@2.0-impl \
|
/device/linaro/poplar/proprietary/hisilicon/ |
D | Android.bp | 74 "android.hardware.graphics.allocator@2.0",
|
/device/generic/goldfish-opengl/system/vulkan/ |
D | goldfish_vulkan.cpp | 410 const VkAllocationCallbacks* allocator, in CreateInstance() argument 417 return vkstubhal::CreateInstance(create_info, allocator, out_instance); in CreateInstance()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 308 GoldfishAddressSpaceHostMemoryAllocator* allocator = &grdma->host_memory_allocator; in gralloc_dmaregion_register_ashmem_direct_mem_locked() local 310 allocator->hostFree(block); in gralloc_dmaregion_register_ashmem_direct_mem_locked() 311 allocator->hostMalloc(block, new_sz); in gralloc_dmaregion_register_ashmem_direct_mem_locked()
|
/device/google/cuttlefish/shared/sepolicy/vendor/ |
D | file_contexts | 82 /vendor/bin/hw/android\.hardware\.graphics\.allocator@3\.0-service\.minigbm u:object_r:hal_graphi…
|