| /arch/arm64/kvm/hyp/nvhe/ |
| A D | page_alloc.c | 45 if (addr < pool->range_start || addr >= pool->range_end) in __find_buddy_nocheck() 103 if (phys < pool->range_start || phys >= pool->range_end) in __hyp_attach_page() 156 __hyp_attach_page(pool, p); in __hyp_put_page() 170 hyp_spin_lock(&pool->lock); in hyp_put_page() 171 __hyp_put_page(pool, p); in hyp_put_page() 172 hyp_spin_unlock(&pool->lock); in hyp_put_page() 179 hyp_spin_lock(&pool->lock); in hyp_get_page() 203 hyp_spin_lock(&pool->lock); in hyp_alloc_pages() 206 while (i <= pool->max_order && list_empty(&pool->free_area[i])) in hyp_alloc_pages() 208 if (i > pool->max_order) { in hyp_alloc_pages() [all …]
|
| /arch/mips/include/asm/octeon/ |
| A D | cvmx-fpa.h | 108 return cvmx_fpa_pool_info[pool].name; in cvmx_fpa_get_name() 117 static inline void *cvmx_fpa_get_base(uint64_t pool) in cvmx_fpa_get_base() argument 119 return cvmx_fpa_pool_info[pool].base; in cvmx_fpa_get_base() 133 return ((ptr >= cvmx_fpa_pool_info[pool].base) && in cvmx_fpa_is_member() 135 ((char *)(cvmx_fpa_pool_info[pool].base)) + in cvmx_fpa_is_member() 136 cvmx_fpa_pool_info[pool].size * in cvmx_fpa_is_member() 137 cvmx_fpa_pool_info[pool].starting_element_count)); in cvmx_fpa_is_member() 185 static inline void *cvmx_fpa_alloc(uint64_t pool) in cvmx_fpa_alloc() argument 212 data.s.did = CVMX_FULL_DID(CVMX_OCT_DID_FPA, pool); in cvmx_fpa_async_alloc() 277 extern uint64_t cvmx_fpa_shutdown_pool(uint64_t pool); [all …]
|
| A D | cvmx-packet.h | 54 uint64_t pool:3; member 62 uint64_t pool:3;
|
| /arch/sparc/kernel/ |
| A D | iommu-common.c | 106 struct iommu_pool *pool; in iommu_tbl_range_alloc() local 137 (*handle >= pool->start) && (*handle < pool->end)) in iommu_tbl_range_alloc() 140 start = pool->hint; in iommu_tbl_range_alloc() 142 limit = pool->end; in iommu_tbl_range_alloc() 151 start = pool->start; in iommu_tbl_range_alloc() 162 spin_lock(&(pool->lock)); in iommu_tbl_range_alloc() 163 start = pool->start; in iommu_tbl_range_alloc() 186 pool->hint = pool->start; in iommu_tbl_range_alloc() 195 pool->hint = pool->start; in iommu_tbl_range_alloc() 212 pool->hint = end; in iommu_tbl_range_alloc() [all …]
|
| /arch/arm64/kvm/hyp/include/nvhe/ |
| A D | gfp.h | 26 void *hyp_alloc_pages(struct hyp_pool *pool, u8 order); 28 void hyp_get_page(struct hyp_pool *pool, void *addr); 29 void hyp_put_page(struct hyp_pool *pool, void *addr); 32 int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages,
|
| /arch/powerpc/platforms/pseries/ |
| A D | rtas-work-area.c | 139 struct gen_pool *pool; in rtas_work_area_allocator_init() local 147 pool = gen_pool_create(order, nid); in rtas_work_area_allocator_init() 148 if (!pool) in rtas_work_area_allocator_init() 155 gen_pool_set_algo(pool, gen_pool_first_fit_order_align, NULL); in rtas_work_area_allocator_init() 157 err = gen_pool_add(pool, (unsigned long)rwa_state.arena, in rtas_work_area_allocator_init() 167 rwa_state.gen_pool = pool; in rtas_work_area_allocator_init() 179 gen_pool_destroy(pool); in rtas_work_area_allocator_init()
|
| /arch/arm64/boot/dts/ti/ |
| A D | k3-am68-sk-som.dtsi | 31 compatible = "shared-dma-pool"; 37 compatible = "shared-dma-pool"; 43 compatible = "shared-dma-pool"; 49 compatible = "shared-dma-pool"; 55 compatible = "shared-dma-pool"; 61 compatible = "shared-dma-pool"; 67 compatible = "shared-dma-pool"; 73 compatible = "shared-dma-pool"; 79 compatible = "shared-dma-pool"; 85 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-am68-phycore-som.dtsi | 40 compatible = "shared-dma-pool"; 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool"; 65 compatible = "shared-dma-pool"; 71 compatible = "shared-dma-pool"; 77 compatible = "shared-dma-pool"; 83 compatible = "shared-dma-pool"; 89 compatible = "shared-dma-pool"; 95 compatible = "shared-dma-pool"; 101 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-j721e-som-p0.dtsi | 33 compatible = "shared-dma-pool"; 39 compatible = "shared-dma-pool"; 45 compatible = "shared-dma-pool"; 51 compatible = "shared-dma-pool"; 57 compatible = "shared-dma-pool"; 63 compatible = "shared-dma-pool"; 69 compatible = "shared-dma-pool"; 75 compatible = "shared-dma-pool"; 81 compatible = "shared-dma-pool"; 87 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-am642-tqma64xxl.dtsi | 35 compatible = "shared-dma-pool"; 41 compatible = "shared-dma-pool"; 47 compatible = "shared-dma-pool"; 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool"; 65 compatible = "shared-dma-pool"; 71 compatible = "shared-dma-pool"; 77 compatible = "shared-dma-pool";
|
| A D | k3-j721s2-som-p0.dtsi | 35 compatible = "shared-dma-pool"; 41 compatible = "shared-dma-pool"; 47 compatible = "shared-dma-pool"; 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool"; 65 compatible = "shared-dma-pool"; 71 compatible = "shared-dma-pool"; 77 compatible = "shared-dma-pool"; 83 compatible = "shared-dma-pool"; 89 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-am64-phycore-som.dtsi | 45 compatible = "shared-dma-pool"; 51 compatible = "shared-dma-pool"; 57 compatible = "shared-dma-pool"; 63 compatible = "shared-dma-pool"; 69 compatible = "shared-dma-pool"; 75 compatible = "shared-dma-pool"; 81 compatible = "shared-dma-pool"; 87 compatible = "shared-dma-pool"; 93 compatible = "shared-dma-pool"; 99 compatible = "shared-dma-pool";
|
| A D | k3-am67a-beagley-ai.dts | 54 compatible = "shared-dma-pool"; 60 compatible = "shared-dma-pool"; 66 compatible = "shared-dma-pool"; 72 compatible = "shared-dma-pool"; 78 compatible = "shared-dma-pool"; 84 compatible = "shared-dma-pool"; 90 compatible = "shared-dma-pool"; 96 compatible = "shared-dma-pool"; 102 compatible = "shared-dma-pool"; 108 compatible = "shared-dma-pool";
|
| A D | k3-j721e-beagleboneai64.dts | 55 compatible = "shared-dma-pool"; 61 compatible = "shared-dma-pool"; 67 compatible = "shared-dma-pool"; 73 compatible = "shared-dma-pool"; 79 compatible = "shared-dma-pool"; 85 compatible = "shared-dma-pool"; 91 compatible = "shared-dma-pool"; 97 compatible = "shared-dma-pool"; 103 compatible = "shared-dma-pool"; 109 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-am69-sk.dts | 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool"; 65 compatible = "shared-dma-pool"; 71 compatible = "shared-dma-pool"; 77 compatible = "shared-dma-pool"; 83 compatible = "shared-dma-pool"; 89 compatible = "shared-dma-pool"; 95 compatible = "shared-dma-pool"; 101 compatible = "shared-dma-pool"; 107 compatible = "shared-dma-pool"; [all …]
|
| /arch/powerpc/kernel/ |
| A D | iommu.c | 229 struct iommu_pool *pool; in iommu_range_alloc() local 260 (*handle >= pool->start) && (*handle < pool->end)) in iommu_range_alloc() 263 start = pool->hint; in iommu_range_alloc() 265 limit = pool->end; in iommu_range_alloc() 272 start = pool->start; in iommu_range_alloc() 284 start = pool->start; in iommu_range_alloc() 296 pool->hint = pool->start; in iommu_range_alloc() 306 pool->hint = pool->start; in iommu_range_alloc() 315 pool->hint = pool->start; in iommu_range_alloc() 331 pool->hint = end; in iommu_range_alloc() [all …]
|
| /arch/arm/boot/dts/st/ |
| A D | stm32mp157a-microgea-stm32mp1.dtsi | 22 compatible = "shared-dma-pool"; 28 compatible = "shared-dma-pool"; 34 compatible = "shared-dma-pool"; 40 compatible = "shared-dma-pool"; 46 compatible = "shared-dma-pool"; 52 compatible = "shared-dma-pool";
|
| A D | stm32mp157a-icore-stm32mp1.dtsi | 22 compatible = "shared-dma-pool"; 28 compatible = "shared-dma-pool"; 34 compatible = "shared-dma-pool"; 40 compatible = "shared-dma-pool"; 46 compatible = "shared-dma-pool"; 52 compatible = "shared-dma-pool";
|
| A D | stm32mp15xx-osd32.dtsi | 18 compatible = "shared-dma-pool"; 24 compatible = "shared-dma-pool"; 30 compatible = "shared-dma-pool"; 36 compatible = "shared-dma-pool"; 42 compatible = "shared-dma-pool"; 48 compatible = "shared-dma-pool";
|
| A D | stm32mp157c-odyssey-som.dtsi | 31 compatible = "shared-dma-pool"; 37 compatible = "shared-dma-pool"; 43 compatible = "shared-dma-pool"; 49 compatible = "shared-dma-pool"; 55 compatible = "shared-dma-pool"; 61 compatible = "shared-dma-pool";
|
| A D | stm32mp15xx-dhcor-som.dtsi | 29 compatible = "shared-dma-pool"; 35 compatible = "shared-dma-pool"; 41 compatible = "shared-dma-pool"; 47 compatible = "shared-dma-pool"; 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool";
|
| /arch/arm/boot/dts/marvell/ |
| A D | armada-385-db-ap.dts | 99 bm,pool-long = <1>; 100 bm,pool-short = <3>; 109 bm,pool-long = <2>; 110 bm,pool-short = <3>; 130 bm,pool-long = <0>; 131 bm,pool-short = <3>;
|
| /arch/arm/boot/dts/samsung/ |
| A D | exynos-mfc-reserved-memory.dtsi | 15 compatible = "shared-dma-pool"; 22 compatible = "shared-dma-pool";
|
| /arch/riscv/boot/dts/microchip/ |
| A D | mpfs-sev-kit.dts | 34 compatible = "shared-dma-pool"; 39 compatible = "shared-dma-pool"; 44 compatible = "shared-dma-pool";
|
| /arch/arm/boot/dts/ti/omap/ |
| A D | dra72-evm.dts | 21 compatible = "shared-dma-pool"; 28 compatible = "shared-dma-pool"; 35 compatible = "shared-dma-pool";
|