Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 139) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/util/
Dslab.c125 void slab_create_child(struct slab_child_pool *pool, in slab_create_child() argument
128 pool->parent = parent; in slab_create_child()
129 pool->pages = NULL; in slab_create_child()
130 pool->free = NULL; in slab_create_child()
131 pool->migrated = NULL; in slab_create_child()
140 void slab_destroy_child(struct slab_child_pool *pool) in slab_destroy_child() argument
142 if (!pool->parent) in slab_destroy_child()
145 simple_mtx_lock(&pool->parent->mutex); in slab_destroy_child()
147 while (pool->pages) { in slab_destroy_child()
148 struct slab_page_header *page = pool->pages; in slab_destroy_child()
[all …]
Dslab.h81 void slab_create_child(struct slab_child_pool *pool,
83 void slab_destroy_child(struct slab_child_pool *pool);
84 void *slab_alloc(struct slab_child_pool *pool);
85 void *slab_zalloc(struct slab_child_pool *pool);
86 void slab_free(struct slab_child_pool *pool, void *ptr);
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_command_pool.c52 struct vk_command_pool *pool, in vk_command_pool_init() argument
56 memset(pool, 0, sizeof(*pool)); in vk_command_pool_init()
57 vk_object_base_init(device, &pool->base, in vk_command_pool_init()
60 pool->flags = pCreateInfo->flags; in vk_command_pool_init()
61 pool->queue_family_index = pCreateInfo->queueFamilyIndex; in vk_command_pool_init()
62 pool->alloc = pAllocator ? *pAllocator : device->alloc; in vk_command_pool_init()
63 pool->command_buffer_ops = device->command_buffer_ops; in vk_command_pool_init()
64 pool->recycle_command_buffers = should_recycle_command_buffers(device); in vk_command_pool_init()
65 list_inithead(&pool->command_buffers); in vk_command_pool_init()
66 list_inithead(&pool->free_command_buffers); in vk_command_pool_init()
[all …]
Dvk_command_pool.h74 struct vk_command_pool *pool,
83 vk_command_pool_finish(struct vk_command_pool *pool);
97 vk_command_pool_trim(struct vk_command_pool *pool,
Dvk_command_buffer.c31 vk_command_buffer_init(struct vk_command_pool *pool, in vk_command_buffer_init() argument
37 vk_object_base_init(pool->base.device, &command_buffer->base, in vk_command_buffer_init()
40 command_buffer->pool = pool; in vk_command_buffer_init()
46 vk_cmd_queue_init(&command_buffer->cmd_queue, &pool->alloc); in vk_command_buffer_init()
53 list_add(&command_buffer->pool_link, &pool->command_buffers); in vk_command_buffer_init()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshot.h61 android::base::BumpPool* pool, VkResult input_result,
65 android::base::BumpPool* pool, VkInstance instance,
68 android::base::BumpPool* pool, VkResult input_result,
72 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice,
76 android::base::BumpPool* pool,
80 const uint8_t* snapshotTraceBegin, size_t snapshotTraceBytes, android::base::BumpPool* pool,
85 android::base::BumpPool* pool,
90 android::base::BumpPool* pool,
96 android::base::BumpPool* pool,
100 android::base::BumpPool* pool, PFN_vkVoidFunction input_result,
[all …]
DVkDecoderGlobalState.h110 VkResult on_vkEnumerateInstanceVersion(android::base::BumpPool* pool, uint32_t* pApiVersion);
119 VkResult on_vkCreateInstance(android::base::BumpPool* pool,
123 void on_vkDestroyInstance(android::base::BumpPool* pool, VkInstance instance,
126 VkResult on_vkEnumeratePhysicalDevices(android::base::BumpPool* pool, VkInstance instance,
131 void on_vkGetPhysicalDeviceFeatures(android::base::BumpPool* pool,
134 void on_vkGetPhysicalDeviceFeatures2(android::base::BumpPool* pool,
137 void on_vkGetPhysicalDeviceFeatures2KHR(android::base::BumpPool* pool,
143 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice, VkFormat format,
147 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice,
151 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice,
[all …]
DVkDecoderSnapshot.cpp60 android::base::BumpPool* pool, VkResult input_result, in vkCreateInstance() argument
76 android::base::BumpPool* pool, VkInstance instance, in vkDestroyInstance() argument
83 android::base::BumpPool* pool, VkResult input_result, in vkEnumeratePhysicalDevices() argument
106 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice, in vkGetPhysicalDeviceFeatures() argument
110 android::base::BumpPool* pool, in vkGetPhysicalDeviceFormatProperties() argument
114 const uint8_t* snapshotTraceBegin, size_t snapshotTraceBytes, android::base::BumpPool* pool, in vkGetPhysicalDeviceImageFormatProperties() argument
119 android::base::BumpPool* pool, in vkGetPhysicalDeviceProperties() argument
124 android::base::BumpPool* pool, in vkGetPhysicalDeviceQueueFamilyProperties() argument
131 android::base::BumpPool* pool, in vkGetPhysicalDeviceMemoryProperties() argument
135 android::base::BumpPool* pool, PFN_vkVoidFunction input_result, in vkGetInstanceProcAddr() argument
[all …]
DVkDecoderGlobalState.cpp885 VkResult on_vkEnumerateInstanceVersion(android::base::BumpPool* pool, uint32_t* pApiVersion) { in on_vkEnumerateInstanceVersion() argument
899 VkResult on_vkCreateInstance(android::base::BumpPool* pool, in on_vkCreateInstance() argument
920 deepcopy_VkInstanceCreateInfo(pool, VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pCreateInfo, in on_vkCreateInstance()
1069 void on_vkDestroyInstance(android::base::BumpPool* pool, VkInstance boxed_instance, in on_vkDestroyInstance() argument
1081 VkResult on_vkEnumeratePhysicalDevices(android::base::BumpPool* pool, VkInstance boxed_instance, in on_vkEnumeratePhysicalDevices() argument
1205 void on_vkGetPhysicalDeviceFeatures(android::base::BumpPool* pool, in on_vkGetPhysicalDeviceFeatures() argument
1216 void on_vkGetPhysicalDeviceFeatures2(android::base::BumpPool* pool, in on_vkGetPhysicalDeviceFeatures2() argument
1270 android::base::BumpPool* pool, VkPhysicalDevice boxed_physicalDevice, VkFormat format, in on_vkGetPhysicalDeviceImageFormatProperties() argument
1299 android::base::BumpPool* pool, VkPhysicalDevice boxed_physicalDevice, in on_vkGetPhysicalDeviceImageFormatProperties2() argument
1386 void on_vkGetPhysicalDeviceFormatProperties(android::base::BumpPool* pool, in on_vkGetPhysicalDeviceFormatProperties() argument
[all …]
/hardware/interfaces/media/bufferpool/2.0/
DREADME.md3 A buffer pool enables processes to transfer buffers asynchronously.
4 Without a buffer pool, a process calls a synchronous method of the other
6 unwanted latency due to context switching. With help from a buffer pool, a
11 rogue clients, FMQ is used to communicate between a buffer pool and a client
13 process to a buffer pool. Except FMQ, a buffer pool does not use any shared
18 FMQ is used to send buffer ownership status changes to a buffer pool from a
19 buffer pool client. A buffer pool synchronizes FMQ messages when there is a
21 to communicate with the buffer pool. So sending an FMQ message on behalf of
26 its own ID from a buffer pool. A client is specified with the ID.
30 transaction ID to fetch a buffer from a buffer pool. Since the sender already
[all …]
DIAccessor.hal23 * use functionality of the specified buffer pool.
28 * Registers a new client and creates IConnection to the buffer pool for
30 * communicate with the buffer pool. Via FMQ IClientManager sends
31 * BufferStatusMesage(s) to the buffer pool.
33 * FMQ is used to send buffer ownership status changes to a buffer pool
34 * from a buffer pool client. A buffer pool synchronizes FMQ messages when
36 * connection and FMQ to communicate with the buffer pool. So sending an
41 * client. FMQ has its own ID from a buffer pool. A client is specified
46 * the transaction ID to fetch a buffer from a buffer pool. Since the
48 * pool must verify the receiver with the transaction ID. In order to
[all …]
DIObserver.hal20 * IObserver listens on notifications from the buffer pool. On receiving
21 * notifications, FMQ messages from the specific buffer pool which are already
27 * The specific buffer pool sent a message to the client. Calling this
28 * method from the buffer pool enforces a buffer pool client process the
31 * @param connectionId the connection Id of the specific buffer pool client
DIClientManager.hal24 * specified buffer pool(IAccessor).
32 * buffer pool. A manager must create a IConnection to the buffer
33 * pool if it does not already have a connection.
35 * @param bufferPool a buffer pool which is specified with the IAccessor.
36 * The specified buffer pool is the owner of received buffers.
42 * @return connectionId the Id of the communication node to the buffer pool.
Dtypes.hal33 * by a buffer pool, and are recycled to the buffer pool when they are
47 * the buffer pool for synchronization after status change.
74 * sent via fmq to the buffer pool from client processes.
85 /** Used by the buffer pool. not by client. */
90 * Used by the buffer pool, not by client.
98 * Buffer pool sends a buffer invalidation message to clients in order to
/hardware/interfaces/media/bufferpool/1.0/
DREADME.md3 A buffer pool enables processes to transfer buffers asynchronously.
4 Without a buffer pool, a process calls a synchronous method of the other
6 unwanted latency due to context switching. With help from a buffer pool, a
11 rogue clients, FMQ is used to communicate between a buffer pool and a client
13 process to a buffer pool. Except FMQ, a buffer pool does not use any shared
18 FMQ is used to send buffer ownership status changes to a buffer pool from a
19 buffer pool client. A buffer pool synchronizes FMQ messages when there is a
21 to communicate with the buffer pool. So sending an FMQ message on behalf of
26 its own ID from a buffer pool. A client is specified with the ID.
30 transaction ID to fetch a buffer from a buffer pool. Since the sender already
[all …]
DIAccessor.hal22 * use functionality of the specified buffer pool.
27 * Registers a new client and creates IConnection to the buffer pool for
29 * communicate with the buffer pool. Via FMQ IClientManager sends
30 * BufferStatusMesage(s) to the buffer pool.
32 * FMQ is used to send buffer ownership status changes to a buffer pool
33 * from a buffer pool client. A buffer pool synchronizes FMQ messages when
35 * connection and FMQ to communicate with the buffer pool. So sending an
40 * client. FMQ has its own ID from a buffer pool. A client is specified
45 * the transaction ID to fetch a buffer from a buffer pool. Since the
47 * pool must verify the receiver with the transaction ID. In order to
[all …]
DIClientManager.hal23 * specified buffer pool(IAccessor).
31 * buffer pool. A manager must create a IConnection to the buffer
32 * pool if it does not already have a connection.
34 * @param bufferPool a buffer pool which is specified with the IAccessor.
35 * The specified buffer pool is the owner of received buffers.
41 * @return connectionId the Id of the communication node to the buffer pool.
Dtypes.hal33 * by a buffer pool, and are recycled to the buffer pool when they are
47 * the buffer pool for synchronization after status change.
72 * sent via fmq to the buffer pool from client processes.
83 /** Used by the buffer pool. not by client. */
88 * Used by the buffer pool, not by client.
/hardware/google/gfxstream/guest/vulkan_enc/
DDescriptorSetVirtualization.cpp24 set->pool = VK_NULL_HANDLE; in clearReifiedDescriptorSet()
60 static void initializeReifiedDescriptorSet(VkDescriptorPool pool, VkDescriptorSetLayout setLayout, in initializeReifiedDescriptorSet() argument
82 set->pool = pool; in initializeReifiedDescriptorSet()
382 VkDescriptorPool pool = pAllocateInfo->descriptorPool; in validateDescriptorSetAllocation() local
383 DescriptorPoolAllocationInfo* poolInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in validateDescriptorSetAllocation()
417 for (auto& pool : descriptorCountCopy) { in validateDescriptorSetAllocation() local
418 if (!isBindingFeasibleForAlloc(pool, binding)) continue; in validateDescriptorSetAllocation()
421 allocBindingFeasible(binding, pool); in validateDescriptorSetAllocation()
433 void applyDescriptorSetAllocation(VkDescriptorPool pool, VkDescriptorSetLayout setLayout) { in applyDescriptorSetAllocation() argument
434 auto allocInfo = as_goldfish_VkDescriptorPool(pool)->allocInfo; in applyDescriptorSetAllocation()
[all …]
DVkEncoder.cpp116 auto pool = mImpl->pool(); in vkCreateInstance() local
121 local_pCreateInfo = (VkInstanceCreateInfo*)pool->alloc(sizeof(const VkInstanceCreateInfo)); in vkCreateInstance()
122 deepcopy_VkInstanceCreateInfo(pool, VK_STRUCTURE_TYPE_MAX_ENUM, pCreateInfo, in vkCreateInstance()
127 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkCreateInstance()
128 deepcopy_VkAllocationCallbacks(pool, VK_STRUCTURE_TYPE_MAX_ENUM, pAllocator, in vkCreateInstance()
206 pool->freeAll(); in vkCreateInstance()
248 auto pool = mImpl->pool(); in vkDestroyInstance() local
254 local_pAllocator = (VkAllocationCallbacks*)pool->alloc(sizeof(const VkAllocationCallbacks)); in vkDestroyInstance()
255 deepcopy_VkAllocationCallbacks(pool, VK_STRUCTURE_TYPE_MAX_ENUM, pAllocator, in vkDestroyInstance()
317 pool->freeAll(); in vkDestroyInstance()
[all …]
DDescriptorSetVirtualization.h63 VkDescriptorPool pool; member
141 void applyDescriptorSetAllocation(VkDescriptorPool pool, VkDescriptorSetLayout setLayout);
142 void fillDescriptorSetInfoForPool(VkDescriptorPool pool, VkDescriptorSetLayout setLayout,
150 std::vector<VkDescriptorSet> clearDescriptorPool(VkDescriptorPool pool, bool usePoolIds);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcm_mpool_pub.h309 void* bcm_mp_alloc(bcm_mp_pool_h pool);
323 int bcm_mp_free(bcm_mp_pool_h pool, void *objp);
337 int bcm_mp_stats(bcm_mp_pool_h pool, bcm_mp_stats_t *stats);
352 int bcm_mp_dump(bcm_mp_pool_h pool, struct bcmstrbuf *b);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/include/
DUserHalHelper.h64 VehiclePropValuePool& pool,
67 VehiclePropValuePool& pool,
70 VehiclePropValuePool& pool,
73 VehiclePropValuePool& pool,
76 VehiclePropValuePool& pool,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_performance_query/
Dquerycreateinfo.adoc5 …R',desc='Structure specifying parameters of a newly created performance query pool',type='structs']
15 performance query pool for.
20 to enable in this performance query pool.
39 …esKHR',desc='Reports the number of passes require for a performance query pool type',type='protos']
41 To query the number of passes required to query a performance query pool on
52 passes required to query the performance query pool, as described below.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_descriptor_pool_overallocation.adoc17 many descriptor sets it may need to allocate from a descriptor pool, or how
19 the descriptor pool.
23 descriptor pool creation time, subject to available resources.

123456