Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/staging/android/ion/
Dion_system_heap.c44 struct ion_page_pool *pools[NUM_ORDERS]; member
51 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in alloc_buffer_page()
68 pool = heap->pools[order_to_index(order)]; in free_buffer_page()
186 pool = sys_heap->pools[i]; in ion_system_heap_shrink()
225 pool = sys_heap->pools[i]; in ion_system_heap_debug_show()
238 static void ion_system_heap_destroy_pools(struct ion_page_pool **pools) in ion_system_heap_destroy_pools() argument
243 if (pools[i]) in ion_system_heap_destroy_pools()
244 ion_page_pool_destroy(pools[i]); in ion_system_heap_destroy_pools()
247 static int ion_system_heap_create_pools(struct ion_page_pool **pools) in ion_system_heap_create_pools() argument
261 pools[i] = pool; in ion_system_heap_create_pools()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Diommu-common.c82 spin_lock_init(&(iommu->pools[i].lock)); in iommu_tbl_pool_init()
83 iommu->pools[i].start = start; in iommu_tbl_pool_init()
84 iommu->pools[i].hint = start; in iommu_tbl_pool_init()
86 iommu->pools[i].end = start - 1; in iommu_tbl_pool_init()
131 pool = &(iommu->pools[pool_nr]); in iommu_tbl_range_alloc()
161 pool = &(iommu->pools[0]); in iommu_tbl_range_alloc()
197 pool = &(iommu->pools[pool_nr]); in iommu_tbl_range_alloc()
241 p = &tbl->pools[pool_nr]; in get_pool()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c98 struct list_head pools; /* The 'struct device->dma_pools link */ member
149 struct list_head pools; member
165 struct list_head pools; member
509 list_for_each_entry_reverse(p, &_manager->pools, pools) { in ttm_dma_free_pool()
516 list_del(&p->pools); in ttm_dma_free_pool()
521 list_for_each_entry_reverse(pool, &dev->dma_pools, pools) { in ttm_dma_free_pool()
532 list_del(&pool->pools); in ttm_dma_free_pool()
586 INIT_LIST_HEAD(&sec_pool->pools); in ttm_dma_pool_init()
591 INIT_LIST_HEAD(&pool->pools); in ttm_dma_pool_init()
621 list_add(&sec_pool->pools, &_manager->pools); in ttm_dma_pool_init()
[all …]
Dttm_page_alloc.c114 struct ttm_page_pool pools[NUM_POOLS]; member
243 return &_manager->pools[pool_index]; in ttm_get_pool()
399 pool = &_manager->pools[(i + pool_offset)%NUM_POOLS]; in ttm_pool_shrink_scan()
422 pool = &_manager->pools[i]; in ttm_pool_shrink_count()
1021 ttm_page_pool_free(&_manager->pools[i], FREE_ALL_PAGES, true); in ttm_page_alloc_fini()
1180 p = &_manager->pools[i]; in ttm_page_alloc_debugfs()
/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c344 struct cxgbi_ppm_pool *pools; in ppm_alloc_cpu_pool() local
346 unsigned int max = (PCPU_MIN_UNIT_SIZE - sizeof(*pools)) << 3; in ppm_alloc_cpu_pool()
360 alloc_sz = sizeof(*pools) + sizeof(unsigned long) * bmap; in ppm_alloc_cpu_pool()
361 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool()
363 if (!pools) in ppm_alloc_cpu_pool()
367 struct cxgbi_ppm_pool *ppool = per_cpu_ptr(pools, cpu); in ppm_alloc_cpu_pool()
377 return pools; in ppm_alloc_cpu_pool()
/Linux-v4.19/mm/
Ddmapool.c53 struct list_head pools; member
84 list_for_each_entry(pool, &dev->dma_pools, pools) { in show_pools()
108 static DEVICE_ATTR(pools, 0444, show_pools, NULL);
172 INIT_LIST_HEAD(&retval->pools); in dma_pool_create()
186 list_add(&retval->pools, &dev->dma_pools); in dma_pool_create()
194 list_del(&retval->pools); in dma_pool_create()
279 list_del(&pool->pools); in dma_pool_destroy()
/Linux-v4.19/drivers/atm/
Dzatm.c1037 unsigned long pools; in zatm_int() local
1040 pools = zin(RQA); in zatm_int()
1041 EVENT("RQA (0x%08x)\n",pools,0); in zatm_int()
1042 for (i = 0; pools; i++) { in zatm_int()
1043 if (pools & 1) { in zatm_int()
1047 pools >>= 1; in zatm_int()
1051 unsigned long pools; in zatm_int() local
1053 pools = zin(RQU); in zatm_int()
1055 dev->number,pools); in zatm_int()
1057 for (i = 0; pools; i++) { in zatm_int()
[all …]
/Linux-v4.19/Documentation/core-api/
Dworkqueue.rst60 * Use per-CPU unified worker pools shared by all wq to provide
83 called worker-pools.
87 which manages worker-pools and processes the queued work items.
89 There are two worker-pools, one for normal work items and the other
91 worker-pools to serve work items queued on unbound workqueues - the
92 number of these backing pools is dynamic.
132 For unbound workqueues, the number of backing pools is dynamic.
135 backing worker pools matching the attributes. The responsibility of
169 worker-pools which host workers which are not bound to any
172 worker-pools try to start execution of work items as soon as
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Diommu.c215 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc()
243 pool = &(tbl->pools[0]); in iommu_range_alloc()
271 pool = &tbl->pools[pool_nr]; in iommu_range_alloc()
389 p = &tbl->pools[pool_nr]; in get_pool()
689 p = &tbl->pools[i]; in iommu_init_table()
1033 spin_lock(&tbl->pools[i].lock); in iommu_take_ownership()
1049 spin_unlock(&tbl->pools[i].lock); in iommu_take_ownership()
1062 spin_lock(&tbl->pools[i].lock); in iommu_release_ownership()
1071 spin_unlock(&tbl->pools[i].lock); in iommu_release_ownership()
/Linux-v4.19/drivers/soc/ti/
Dknav_qmss.h211 struct list_head pools; member
312 struct list_head pools; member
371 list_for_each_entry(pool, &kdev->pools, list)
Dknav_qmss_queue.c837 node = &region->pools; in knav_pool_create()
838 list_for_each_entry(pi, &region->pools, region_inst) { in knav_pool_create()
852 list_add_tail(&pool->list, &kdev->pools); in knav_pool_create()
1053 list_add(&pool->region_inst, &region->pools); in knav_queue_setup_region()
1136 INIT_LIST_HEAD(&region->pools); in knav_queue_setup_regions()
1365 list_for_each_entry_safe(pool, tmp, &region->pools, region_inst) in knav_queue_free_regions()
1787 INIT_LIST_HEAD(&kdev->pools); in knav_queue_probe()
/Linux-v4.19/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-qmss.txt6 processors(PDSP), linking RAM, descriptor pools and infrastructure
49 - queue-pools : child node classifying the queue ranges into pools.
50 Queue ranges are grouped into 3 type of pools:
151 queue-pools {
/Linux-v4.19/arch/sparc/include/asm/
Diommu-common.h26 struct iommu_pool pools[IOMMU_NR_POOLS]; member
/Linux-v4.19/drivers/staging/fsl-dpaa2/ethernet/
Dethernet-driver.rst26 - buffer pools
68 DPBPs represent hardware buffer pools. Packet I/O is performed in the context
123 The role of hardware buffer pools is storage of ingress frame data. Each network
/Linux-v4.19/Documentation/arm/keystone/
Dknav-qmss.txt10 processors(PDSP), linking RAM, descriptor pools and infrastructure
23 allocate descriptor pools, map the descriptors, push/pop to queues etc. For
/Linux-v4.19/Documentation/devicetree/bindings/misc/
Dfsl,qoriq-mc.txt6 block is enabled, pools of hardware resources are available, such as
7 queues, buffer pools, I/O interfaces. These resources are building
/Linux-v4.19/drivers/md/
Ddm.c2946 struct dm_md_mempools *pools = kzalloc_node(sizeof(*pools), GFP_KERNEL, md->numa_node_id); in dm_alloc_md_mempools() local
2951 if (!pools) in dm_alloc_md_mempools()
2961 ret = bioset_init(&pools->io_bs, pool_size, io_front_pad, 0); in dm_alloc_md_mempools()
2964 if (integrity && bioset_integrity_create(&pools->io_bs, pool_size)) in dm_alloc_md_mempools()
2977 ret = bioset_init(&pools->bs, pool_size, front_pad, 0); in dm_alloc_md_mempools()
2981 if (integrity && bioset_integrity_create(&pools->bs, pool_size)) in dm_alloc_md_mempools()
2984 return pools; in dm_alloc_md_mempools()
2987 dm_free_md_mempools(pools); in dm_alloc_md_mempools()
2992 void dm_free_md_mempools(struct dm_md_mempools *pools) in dm_free_md_mempools() argument
2994 if (!pools) in dm_free_md_mempools()
[all …]
Ddm.h210 void dm_free_md_mempools(struct dm_md_mempools *pools);
/Linux-v4.19/drivers/soc/fsl/qbman/
Dqman_priv.h177 u32 pools; member
Dqman_portal.c287 pcfg->pools = qm_get_pools_sdqcr(); in qman_portal_probe()
/Linux-v4.19/arch/arm/boot/dts/
Dkeystone-k2g-netcp.dtsi36 queue-pools {
Dkeystone-k2l-netcp.dtsi35 queue-pools {
Dkeystone-k2e-netcp.dtsi35 queue-pools {
/Linux-v4.19/arch/powerpc/include/asm/
Diommu.h119 struct iommu_pool pools[IOMMU_NR_POOLS]; member
/Linux-v4.19/Documentation/networking/dpaa2/
Doverview.rst25 The MC uses DPAA2 hardware resources such as queues, buffer pools, and
56 | -buffer pools -DPMCP |
359 - DPBPs for network buffer pools

12