Home
last modified time | relevance | path

Searched refs:Pool (Results 1 – 25 of 48) sorted by relevance

12

/device/generic/goldfish-opengl/system/vulkan_enc/
Dgoldfish_vk_deepcopy_guest.h34 using android::base::Pool;
47 Pool* pool,
52 Pool* pool,
57 Pool* pool,
62 Pool* pool,
67 Pool* pool,
72 Pool* pool,
77 Pool* pool,
82 Pool* pool,
87 Pool* pool,
[all …]
Dgoldfish_vk_deepcopy_guest.cpp35 Pool* pool,
41 Pool* pool, in deepcopy_VkApplicationInfo()
67 Pool* pool, in deepcopy_VkInstanceCreateInfo()
99 Pool* pool, in deepcopy_VkAllocationCallbacks()
113 Pool* pool, in deepcopy_VkPhysicalDeviceFeatures()
122 Pool* pool, in deepcopy_VkFormatProperties()
131 Pool* pool, in deepcopy_VkExtent3D()
140 Pool* pool, in deepcopy_VkImageFormatProperties()
150 Pool* pool, in deepcopy_VkPhysicalDeviceLimits()
165 Pool* pool, in deepcopy_VkPhysicalDeviceSparseProperties()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
DUsbHcMem.c31 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
43 PciIo = Pool->PciIo; in UsbHcAllocMemBlock()
100 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) { in UsbHcAllocMemBlock()
130 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
136 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
138 PciIo = Pool->PciIo; in UsbHcFreeMemBlock()
235 IN USBHC_MEM_POOL *Pool, in UsbHcGetPciAddressForHostMem() argument
246 Head = Pool->Head; in UsbHcGetPciAddressForHostMem()
364 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
366 Pool = AllocatePool (sizeof (USBHC_MEM_POOL)); in UsbHcInitMemPool()
[all …]
DUsbHcMem.h106 IN USBHC_MEM_POOL *Pool
122 IN USBHC_MEM_POOL *Pool,
137 IN USBHC_MEM_POOL *Pool,
153 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUsbHcMem.c30 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
42 PciIo = Pool->PciIo; in UsbHcAllocMemBlock()
99 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) { in UsbHcAllocMemBlock()
129 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
135 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
137 PciIo = Pool->PciIo; in UsbHcFreeMemBlock()
234 IN USBHC_MEM_POOL *Pool, in UsbHcGetPciAddressForHostMem() argument
245 Head = Pool->Head; in UsbHcGetPciAddressForHostMem()
362 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
364 Pool = AllocatePool (sizeof (USBHC_MEM_POOL)); in UsbHcInitMemPool()
[all …]
DUsbHcMem.h105 IN USBHC_MEM_POOL *Pool
122 IN USBHC_MEM_POOL *Pool,
140 IN USBHC_MEM_POOL *Pool,
156 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DUsbHcMem.c31 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
43 PciIo = Pool->PciIo; in UsbHcAllocMemBlock()
100 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) { in UsbHcAllocMemBlock()
130 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
136 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
138 PciIo = Pool->PciIo; in UsbHcFreeMemBlock()
235 IN USBHC_MEM_POOL *Pool, in UsbHcGetPciAddressForHostMem() argument
246 Head = Pool->Head; in UsbHcGetPciAddressForHostMem()
364 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
366 Pool = AllocatePool (sizeof (USBHC_MEM_POOL)); in UsbHcInitMemPool()
[all …]
DUsbHcMem.h105 IN USBHC_MEM_POOL *Pool
121 IN USBHC_MEM_POOL *Pool,
136 IN USBHC_MEM_POOL *Pool,
152 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DUsbHcMem.c33 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
96 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) { in UsbHcAllocMemBlock()
118 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
122 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
287 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
304 Pool = (USBHC_MEM_POOL *) ((UINTN) TempPtr); in UsbHcInitMemPool()
306 Pool->Check4G = Check4G; in UsbHcInitMemPool()
307 Pool->Which4G = Which4G; in UsbHcInitMemPool()
308 Pool->Head = UsbHcAllocMemBlock (Ehc, Pool, USBHC_MEM_DEFAULT_PAGES); in UsbHcInitMemPool()
310 if (Pool->Head == NULL) { in UsbHcInitMemPool()
[all …]
DEhcPeim.h185 IN USBHC_MEM_POOL *Pool
203 IN USBHC_MEM_POOL *Pool,
218 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DUsbHcMem.c34 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
95 if (Pool->Check4G && (Pool->Which4G != USB_HC_HIGH_32BIT (MappedAddr))) { in UsbHcAllocMemBlock()
118 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
123 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
290 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
306 Pool = (USBHC_MEM_POOL *) ((UINTN) TempPtr); in UsbHcInitMemPool()
307 Pool->Check4G = Check4G; in UsbHcInitMemPool()
308 Pool->Which4G = Which4G; in UsbHcInitMemPool()
309 Pool->Head = UsbHcAllocMemBlock (Pool, USBHC_MEM_DEFAULT_PAGES); in UsbHcInitMemPool()
311 if (Pool->Head == NULL) { in UsbHcInitMemPool()
[all …]
DUsbHcMem.h104 IN USBHC_MEM_POOL *Pool
120 IN USBHC_MEM_POOL *Pool,
135 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DUsbHcMem.c31 IN USBHC_MEM_POOL *Pool, in UsbHcAllocMemBlock() argument
43 PciIo = Pool->PciIo; in UsbHcAllocMemBlock()
121 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
127 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
129 PciIo = Pool->PciIo; in UsbHcFreeMemBlock()
227 IN USBHC_MEM_POOL *Pool, in UsbHcGetPciAddrForHostAddr() argument
238 Head = Pool->Head; in UsbHcGetPciAddrForHostAddr()
276 IN USBHC_MEM_POOL *Pool, in UsbHcGetHostAddrForPciAddr() argument
287 Head = Pool->Head; in UsbHcGetHostAddrForPciAddr()
399 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
[all …]
DUsbHcMem.h97 IN USBHC_MEM_POOL *Pool
113 IN USBHC_MEM_POOL *Pool,
128 IN USBHC_MEM_POOL *Pool,
145 IN USBHC_MEM_POOL *Pool,
162 IN USBHC_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DPool.c149 POOL *Pool; in LookupPoolHead() local
164 Pool = CR(Link, POOL, Link, POOL_SIGNATURE); in LookupPoolHead()
165 if (Pool->MemoryType == MemoryType) { in LookupPoolHead()
166 return Pool; in LookupPoolHead()
170 Pool = CoreAllocatePoolI (EfiBootServicesData, sizeof (POOL)); in LookupPoolHead()
171 if (Pool == NULL) { in LookupPoolHead()
175 Pool->Signature = POOL_SIGNATURE; in LookupPoolHead()
176 Pool->Used = 0; in LookupPoolHead()
177 Pool->MemoryType = MemoryType; in LookupPoolHead()
179 InitializeListHead (&Pool->FreeList[Index]); in LookupPoolHead()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHcMem.c91 IN UFS_PEIM_MEM_POOL *Pool, in UfsPeimFreeMemBlock() argument
95 ASSERT ((Pool != NULL) && (Block != NULL)); in UfsPeimFreeMemBlock()
255 UFS_PEIM_MEM_POOL *Pool; in UfsPeimInitMemPool() local
260 Pool = NULL; in UfsPeimInitMemPool()
269 Pool = (UFS_PEIM_MEM_POOL *)((UINTN)TempPtr); in UfsPeimInitMemPool()
271 Pool->Head = UfsPeimAllocMemBlock (UFS_PEIM_MEM_DEFAULT_PAGES); in UfsPeimInitMemPool()
273 if (Pool->Head == NULL) { in UfsPeimInitMemPool()
277 Private->Pool = Pool; in UfsPeimInitMemPool()
292 IN UFS_PEIM_MEM_POOL *Pool in UfsPeimFreeMemPool() argument
297 ASSERT (Pool->Head != NULL); in UfsPeimFreeMemPool()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHcMem.c91 IN SD_PEIM_MEM_POOL *Pool, in SdPeimFreeMemBlock() argument
95 ASSERT ((Pool != NULL) && (Block != NULL)); in SdPeimFreeMemBlock()
255 SD_PEIM_MEM_POOL *Pool; in SdPeimInitMemPool() local
260 Pool = NULL; in SdPeimInitMemPool()
269 Pool = (SD_PEIM_MEM_POOL *)((UINTN)TempPtr); in SdPeimInitMemPool()
271 Pool->Head = SdPeimAllocMemBlock (SD_PEIM_MEM_DEFAULT_PAGES); in SdPeimInitMemPool()
273 if (Pool->Head == NULL) { in SdPeimInitMemPool()
277 Private->Pool = Pool; in SdPeimInitMemPool()
292 IN SD_PEIM_MEM_POOL *Pool in SdPeimFreeMemPool() argument
297 ASSERT (Pool->Head != NULL); in SdPeimFreeMemPool()
[all …]
DSdBlockIoPei.h58 SD_PEIM_MEM_POOL *Pool; member
358 IN SD_PEIM_MEM_POOL *Pool,
372 IN SD_PEIM_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHcMem.c91 IN EMMC_PEIM_MEM_POOL *Pool, in EmmcPeimFreeMemBlock() argument
95 ASSERT ((Pool != NULL) && (Block != NULL)); in EmmcPeimFreeMemBlock()
255 EMMC_PEIM_MEM_POOL *Pool; in EmmcPeimInitMemPool() local
260 Pool = NULL; in EmmcPeimInitMemPool()
269 Pool = (EMMC_PEIM_MEM_POOL *)((UINTN)TempPtr); in EmmcPeimInitMemPool()
271 Pool->Head = EmmcPeimAllocMemBlock (EMMC_PEIM_MEM_DEFAULT_PAGES); in EmmcPeimInitMemPool()
273 if (Pool->Head == NULL) { in EmmcPeimInitMemPool()
277 Private->Pool = Pool; in EmmcPeimInitMemPool()
292 IN EMMC_PEIM_MEM_POOL *Pool in EmmcPeimFreeMemPool() argument
297 ASSERT (Pool->Head != NULL); in EmmcPeimFreeMemPool()
[all …]
DEmmcBlockIoPei.h62 EMMC_PEIM_MEM_POOL *Pool; member
362 IN EMMC_PEIM_MEM_POOL *Pool,
376 IN EMMC_PEIM_MEM_POOL *Pool,
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DUsbHcMem.c100 IN USBHC_MEM_POOL *Pool, in UsbHcFreeMemBlock() argument
104 ASSERT ((Pool != NULL) && (Block != NULL)); in UsbHcFreeMemBlock()
194 IN USBHC_MEM_POOL *Pool, in UsbHcGetPciAddrForHostAddr() argument
205 Head = Pool->Head; in UsbHcGetPciAddrForHostAddr()
243 IN USBHC_MEM_POOL *Pool, in UsbHcGetHostAddrForPciAddr() argument
254 Head = Pool->Head; in UsbHcGetHostAddrForPciAddr()
360 USBHC_MEM_POOL *Pool; in UsbHcInitMemPool() local
376 Pool = (USBHC_MEM_POOL *) ((UINTN) TempPtr); in UsbHcInitMemPool()
377 Pool->Head = UsbHcAllocMemBlock (USBHC_MEM_DEFAULT_PAGES); in UsbHcInitMemPool()
379 if (Pool->Head == NULL) { in UsbHcInitMemPool()
[all …]
DXhcPeim.h208 IN USBHC_MEM_POOL *Pool
224 IN USBHC_MEM_POOL *Pool,
239 IN USBHC_MEM_POOL *Pool,
DUsbHcMem.h83 IN USBHC_MEM_POOL *Pool,
100 IN USBHC_MEM_POOL *Pool,
/device/generic/goldfish-opengl/android-emu/android/base/
DPool.cpp262 class Pool::Impl {
381 Pool::Pool(size_t minSize, in Pool() function in android::base::Pool
384 mImpl(new Pool::Impl(minSize, in Pool()
389 Pool::~Pool() { in ~Pool()
400 void* Pool::alloc(size_t wantedSize) { in alloc()
423 void Pool::free(void* ptr) { in free()
431 void Pool::freeAll() { in freeAll()
DPool.h28 class Pool {
39 Pool(size_t minSize = 8,
46 ~Pool();

12