/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.h | 31 #define TO_DCN10_RES_POOL(pool)\ 32 container_of(pool, struct dcn10_resource_pool, base) 47 const struct resource_pool *pool,
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_tsc.c | 33 size_t ossl_prov_acquire_entropy_from_tsc(RAND_POOL *pool) in ossl_prov_acquire_entropy_from_tsc() argument 41 ossl_rand_pool_add(pool, &c, 1, 4); in ossl_prov_acquire_entropy_from_tsc() 44 return ossl_rand_pool_entropy_available(pool); in ossl_prov_acquire_entropy_from_tsc()
|
/third_party/openssl/providers/implementations/rands/seeding/ |
H A D | rand_tsc.c | 33 size_t ossl_prov_acquire_entropy_from_tsc(RAND_POOL *pool) in ossl_prov_acquire_entropy_from_tsc() argument 41 ossl_rand_pool_add(pool, &c, 1, 4); in ossl_prov_acquire_entropy_from_tsc() 44 return ossl_rand_pool_entropy_available(pool); in ossl_prov_acquire_entropy_from_tsc()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | WorkerThread.cpp | 320 std::shared_ptr<WorkerThreadPool> pool(nullptr); in Create() 326 pool = std::shared_ptr<WorkerThreadPool>(new DelegateWorkerPool()); in Create() 330 if (!pool && multithreaded) in Create() 332 pool = std::shared_ptr<WorkerThreadPool>( in Create() 336 if (!pool) in Create() 340 return pool; in Create() 345 std::shared_ptr<WorkerThreadPool> pool, in PostWorkerTask() 348 std::shared_ptr<WaitableEvent> event = pool->postWorkerTask(task); in PostWorkerTask() 351 event->setWorkerThreadPool(pool); in PostWorkerTask() 344 PostWorkerTask( std::shared_ptr<WorkerThreadPool> pool, std::shared_ptr<Closure> task) PostWorkerTask() argument
|
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | ffa_abi.c | 27 * 4. Dynamic shared memory pool based on alloc_pages() 368 * 4. Dynamic shared memory pool based on alloc_pages() 370 * Implements an OP-TEE specific shared memory pool. 374 static int pool_ffa_op_alloc(struct tee_shm_pool *pool, in pool_ffa_op_alloc() argument 377 return optee_pool_op_alloc_helper(pool, shm, size, align, in pool_ffa_op_alloc() 381 static void pool_ffa_op_free(struct tee_shm_pool *pool, in pool_ffa_op_free() argument 384 optee_pool_op_free_helper(pool, shm, optee_ffa_shm_unregister); in pool_ffa_op_free() 387 static void pool_ffa_op_destroy_pool(struct tee_shm_pool *pool) in pool_ffa_op_destroy_pool() argument 389 kfree(pool); in pool_ffa_op_destroy_pool() 399 * optee_ffa_shm_pool_alloc_pages() - create page-based allocator pool 406 struct tee_shm_pool *pool = kzalloc(sizeof(*pool), GFP_KERNEL); optee_ffa_shm_pool_alloc_pages() local 791 struct tee_shm_pool *pool; optee_ffa_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 61 struct xsk_buff_pool *pool, in mlx5e_init_xsk_rq() 81 rq->xsk_pool = pool; in mlx5e_init_xsk_rq() 93 struct mlx5e_rq_param *rq_params, struct xsk_buff_pool *pool, in mlx5e_open_xsk_rq() 99 err = mlx5e_init_xsk_rq(c, params, pool, xsk, xskrq); in mlx5e_open_xsk_rq() 112 struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool, in mlx5e_open_xsk() 135 err = mlx5e_open_xsk_rq(c, params, &cparam->rq, pool, xsk); in mlx5e_open_xsk() 144 /* Create a separate SQ, so that when the buff pool is disabled, we could in mlx5e_open_xsk() 146 * the XDPSQ was used instead, we might run into trouble when the buff pool in mlx5e_open_xsk() 148 * from the old buff pool. in mlx5e_open_xsk() 150 err = mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, pool, in mlx5e_open_xsk() 59 mlx5e_init_xsk_rq(struct mlx5e_channel *c, struct mlx5e_params *params, struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk, struct mlx5e_rq *rq) mlx5e_init_xsk_rq() argument 92 mlx5e_open_xsk_rq(struct mlx5e_channel *c, struct mlx5e_params *params, struct mlx5e_rq_param *rq_params, struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk) mlx5e_open_xsk_rq() argument 111 mlx5e_open_xsk(struct mlx5e_priv *priv, struct mlx5e_params *params, struct mlx5e_xsk_param *xsk, struct xsk_buff_pool *pool, struct mlx5e_channel *c) mlx5e_open_xsk() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | tee_drv.h | 26 #define TEE_SHM_POOL BIT(2) /* Memory allocated from pool */ 136 * @pool: Shared memory pool, NULL if not used 146 struct tee_shm_pool *pool, 203 * This pool is only supposed to be accessed directly from the TEE 204 * subsystem and from drivers that implements their own shm pool manager. 221 * struct tee_shm_pool - shared memory pool 231 * struct tee_shm_pool_ops - shared memory pool operations 234 * @destroy_pool: called when destroying the pool 237 int (*alloc)(struct tee_shm_pool *pool, struc 262 tee_shm_pool_free(struct tee_shm_pool *pool) tee_shm_pool_free() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
H A D | seed_src.c | 98 RAND_POOL *pool; in seed_src_generate() local 107 pool = ossl_rand_pool_new(strength, 1, outlen, outlen); in seed_src_generate() 108 if (pool == NULL) { in seed_src_generate() 114 entropy_available = ossl_pool_acquire_entropy(pool); in seed_src_generate() 117 memcpy(out, ossl_rand_pool_buffer(pool), ossl_rand_pool_length(pool)); in seed_src_generate() 119 ossl_rand_pool_free(pool); in seed_src_generate()
|
/third_party/openssl/providers/implementations/rands/ |
H A D | seed_src.c | 98 RAND_POOL *pool; in seed_src_generate() local 107 pool = ossl_rand_pool_new(strength, 1, outlen, outlen); in seed_src_generate() 108 if (pool == NULL) { in seed_src_generate() 114 entropy_available = ossl_pool_acquire_entropy(pool); in seed_src_generate() 117 memcpy(out, ossl_rand_pool_buffer(pool), ossl_rand_pool_length(pool)); in seed_src_generate() 119 ossl_rand_pool_free(pool); in seed_src_generate()
|
/kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
H A D | bman.c | 241 * This object type refers to a pool, it isn't *the* pool. There may be 242 * more than one such object per BMan buffer pool, eg. if different users of the 243 * pool are operating via different portals. 246 /* index of the buffer pool to encapsulate (0-63) */ 697 struct bman_pool *pool = NULL; in bman_new_pool() local 703 pool = kmalloc(sizeof(*pool), GFP_KERNEL); in bman_new_pool() 704 if (!pool) in bman_new_pool() 707 pool in bman_new_pool() 716 bman_free_pool(struct bman_pool *pool) bman_free_pool() argument 724 bman_get_bpid(const struct bman_pool *pool) bman_get_bpid() argument 738 bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num) bman_release() argument 786 bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num) bman_acquire() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | resource9.c | 106 This->pool = Pool; in NineResource9_ctor() 138 return This->pool; in NineResource9_GetPool() 148 if (This->pool != D3DPOOL_MANAGED || This->type == D3DRTYPE_SURFACE) in NineResource9_SetPriority() 159 if (This->pool != D3DPOOL_MANAGED || This->type == D3DRTYPE_SURFACE) in NineResource9_GetPriority() 169 if (This->pool != D3DPOOL_MANAGED) in NineResource9_PreLoad()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | memchunk.c | 35 pa_mempool *pool; in pa_memchunk_make_writable() local 50 pool = pa_memblock_get_pool(c->memblock); in pa_memchunk_make_writable() 51 n = pa_memblock_new(pool, l); in pa_memchunk_make_writable() 52 pa_mempool_unref(pool), pool = NULL; in pa_memchunk_make_writable() local
|
H A D | sample-util.c | 180 static pa_memblock *silence_memblock_new(pa_mempool *pool, uint8_t c) { in silence_memblock_new() argument 185 pa_assert(pool); in silence_memblock_new() 187 length = PA_MIN(pa_mempool_block_size_max(pool), PA_SILENCE_MAX); in silence_memblock_new() 189 b = pa_memblock_new(pool, length); in silence_memblock_new() 217 pa_memchunk* pa_silence_memchunk_get(pa_silence_cache *cache, pa_mempool *pool, pa_memchunk* ret, const pa_sample_spec *spec, size_t length) { in pa_silence_memchunk_get() argument 228 cache->blocks[PA_SAMPLE_U8] = b = silence_memblock_new(pool, 0x80); in pa_silence_memchunk_get() 240 cache->blocks[PA_SAMPLE_S16LE] = b = silence_memblock_new(pool, 0); in pa_silence_memchunk_get() 252 cache->blocks[PA_SAMPLE_ALAW] = b = silence_memblock_new(pool, 0xd5); in pa_silence_memchunk_get() 255 cache->blocks[PA_SAMPLE_ULAW] = b = silence_memblock_new(pool, 0xff); in pa_silence_memchunk_get() 373 void pa_memchunk_sine(pa_memchunk *c, pa_mempool *pool, unsigne argument [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCommandPool.cpp | 28 VkCommandPool pool; in Create() local 29 GR_VK_CALL_RESULT(gpu, result, CreateCommandPool(gpu->device(), &cmdPoolInfo, nullptr, &pool)); in Create() 34 GrVkPrimaryCommandBuffer* primaryCmdBuffer = GrVkPrimaryCommandBuffer::Create(gpu, pool); in Create() 36 GR_VK_CALL(gpu->vkInterface(), DestroyCommandPool(gpu->device(), pool, nullptr)); in Create() 40 return new GrVkCommandPool(gpu, pool, primaryCmdBuffer); in Create()
|
/third_party/skia/tools/ |
H A D | check-headers-self-sufficient | 81 # ...Except use a multiprocessing pool. 86 pool = multiprocessing.Pool() 91 pool.terminate() 94 pool.apply_async(compile_header, args=(path, ), callback=print_and_exit_if) 95 pool.close() 96 pool.join()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | message_factory.py | 57 """Factory for creating Proto2 messages from descriptors in a pool.""" 59 def __init__(self, pool=None): 61 self.pool = pool or descriptor_pool.DescriptorPool() 104 pool cannot satisfy them. 116 file_desc = self.pool.FindFileByName(file_name) 120 # While the extension FieldDescriptors are created by the descriptor pool, 159 _FACTORY.pool.Add(file_proto)
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | type_info_test_helper.cc | 58 const DescriptorPool* pool = descriptors[0]->file()->pool(); in ResetTypeInfo() local 60 GOOGLE_CHECK(pool == descriptors[i]->file()->pool()) in ResetTypeInfo() 64 NewTypeResolverForDescriptorPool(kTypeServiceBaseUrl, pool)); in ResetTypeInfo()
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | dePoolHash.c | 21 * \brief Memory pool hash class. 39 deMemPool* pool = deMemPool_createRoot(DE_NULL, 0); in dePoolHash_selfTest() local 40 deTestHash* hash = deTestHash_create(pool); in dePoolHash_selfTest() 115 deTestInt16Array* keyArray = deTestInt16Array_create(pool); in dePoolHash_selfTest() 116 deTestIntArray* valueArray = deTestIntArray_create(pool); in dePoolHash_selfTest() 147 deMemPool_destroy(pool); in dePoolHash_selfTest()
|
H A D | dePoolHashSet.c | 21 * \brief Memory pool hash-set class. 33 deMemPool* pool = deMemPool_createRoot(DE_NULL, 0); in dePoolHashSet_selfTest() local 34 deTestHashSet* hashSet = deTestHashSet_create(pool); in dePoolHashSet_selfTest() 125 deTestInt16Array* keyArray = deTestInt16Array_create(pool); in dePoolHashSet_selfTest() 126 deTestIntArray* valueArray = deTestIntArray_create(pool); in dePoolHashSet_selfTest() 153 deMemPool_destroy(pool); in dePoolHashSet_selfTest()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.h | 34 #define TO_DCE110_RES_POOL(pool)\ 35 container_of(pool, struct dce110_resource_pool, base) 50 const struct resource_pool *pool,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_resource.h | 34 #define TO_DCE110_RES_POOL(pool)\ 35 container_of(pool, struct dce110_resource_pool, base) 50 const struct resource_pool *pool,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.h | 32 #define TO_DCN10_RES_POOL(pool)\ 33 container_of(pool, struct dcn10_resource_pool, base) 51 const struct resource_pool *pool,
|
/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | bpmp-tegra186.c | 22 struct gen_pool *pool; member 126 if (priv->rx.pool) { in tegra186_bpmp_channel_init() 186 if (priv->tx.pool) { in tegra186_bpmp_teardown_channels() 187 gen_pool_free(priv->tx.pool, (unsigned long)priv->tx.sram, 4096); in tegra186_bpmp_teardown_channels() 188 gen_pool_free(priv->rx.pool, (unsigned long)priv->rx.sram, 4096); in tegra186_bpmp_teardown_channels() 238 priv->tx.pool = of_gen_pool_get(bpmp->dev->of_node, "shmem", 0); in tegra186_bpmp_sram_init() 239 if (!priv->tx.pool) { in tegra186_bpmp_sram_init() 240 dev_err(bpmp->dev, "TX shmem pool not found\n"); in tegra186_bpmp_sram_init() 244 priv->tx.sram = (void __iomem *)gen_pool_dma_alloc(priv->tx.pool, 4096, in tegra186_bpmp_sram_init() 247 dev_err(bpmp->dev, "failed to allocate from TX pool\ in tegra186_bpmp_sram_init() [all...] |
/kernel/liteos_a/kernel/include/ |
H A D | los_trace.h | 393 #define MEM_ALLOC_PARAMS(pool, ptr, size) pool, ptr, size 394 #define MEM_ALLOC_ALIGN_PARAMS(pool, ptr, size, boundary) pool, ptr, size, boundary 395 #define MEM_REALLOC_PARAMS(pool, ptr, size) pool, ptr, size 396 #define MEM_FREE_PARAMS(pool, ptr) pool, ptr 397 #define MEM_INFO_REQ_PARAMS(pool) pool [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_test_util.h | 127 const DescriptorPool* pool = base_descriptor->file()->pool(); in MapReflectionTester() local 130 map_enum_foo_ = pool->FindEnumValueByName(package + ".MAP_ENUM_FOO"); in MapReflectionTester() 131 map_enum_bar_ = pool->FindEnumValueByName(package + ".MAP_ENUM_BAR"); in MapReflectionTester() 132 map_enum_baz_ = pool->FindEnumValueByName(package + ".MAP_ENUM_BAZ"); in MapReflectionTester() 134 foreign_c_ = pool->FindFieldByName(package + ".ForeignMessage.c"); in MapReflectionTester() 136 pool->FindFieldByName(package + ".TestMap.MapInt32Int32Entry.key"); in MapReflectionTester() 138 pool->FindFieldByName(package + ".TestMap.MapInt32Int32Entry.value"); in MapReflectionTester() 140 pool->FindFieldByName(package + ".TestMap.MapInt64Int64Entry.key"); in MapReflectionTester() 142 pool in MapReflectionTester() [all...] |