Home
last modified time | relevance | path

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

/arch/metag/kernel/
Dtcm.c21 struct gen_pool *pool; member
29 struct tcm_pool *pool; in find_pool() local
32 pool = list_entry(lh, struct tcm_pool, list); in find_pool()
33 if (pool->tag == tag) in find_pool()
34 return pool; in find_pool()
52 struct tcm_pool *pool; in tcm_alloc() local
54 pool = find_pool(tag); in tcm_alloc()
55 if (!pool) in tcm_alloc()
58 vaddr = gen_pool_alloc(pool->pool, len); in tcm_alloc()
76 struct tcm_pool *pool; in tcm_free() local
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-fpa.h97 static inline const char *cvmx_fpa_get_name(uint64_t pool) in cvmx_fpa_get_name() argument
99 return cvmx_fpa_pool_info[pool].name; in cvmx_fpa_get_name()
108 static inline void *cvmx_fpa_get_base(uint64_t pool) in cvmx_fpa_get_base() argument
110 return cvmx_fpa_pool_info[pool].base; in cvmx_fpa_get_base()
122 static inline int cvmx_fpa_is_member(uint64_t pool, void *ptr) in cvmx_fpa_is_member() argument
124 return ((ptr >= cvmx_fpa_pool_info[pool].base) && in cvmx_fpa_is_member()
126 ((char *)(cvmx_fpa_pool_info[pool].base)) + in cvmx_fpa_is_member()
127 cvmx_fpa_pool_info[pool].size * in cvmx_fpa_is_member()
128 cvmx_fpa_pool_info[pool].starting_element_count)); in cvmx_fpa_is_member()
176 static inline void *cvmx_fpa_alloc(uint64_t pool) in cvmx_fpa_alloc() argument
[all …]
Dcvmx-packet.h53 uint64_t pool:3; member
Dcvmx-helper-util.h191 buffer_ptr.s.pool, 0); in cvmx_helper_free_packet_data()
Dcvmx-pko-defs.h192 uint64_t pool:3; member
198 uint64_t pool:3;
282 uint64_t pool:3; member
288 uint64_t pool:3;
297 uint64_t pool:3; member
303 uint64_t pool:3;
429 uint64_t pool:3; member
435 uint64_t pool:3;
505 uint64_t pool:3; member
511 uint64_t pool:3;
[all …]
Dcvmx-fpa-defs.h75 uint64_t pool:5; member
79 uint64_t pool:5;
/arch/ia64/kernel/
Duncached.c35 struct gen_pool *pool; member
156 status = gen_pool_add(uc_pool->pool, uc_addr, IA64_GRANULE_SIZE, nid); in uncached_add_chunk()
202 if (uc_pool->pool == NULL) in uncached_alloc_page()
205 uc_addr = gen_pool_alloc(uc_pool->pool, in uncached_alloc_page()
229 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page() local
231 if (unlikely(pool == NULL)) in uncached_free_page()
237 gen_pool_free(pool, uc_addr, n_pages * PAGE_SIZE); in uncached_free_page()
255 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap() local
260 if (pool != NULL) { in uncached_build_memmap()
262 (void) gen_pool_add(pool, uc_start, size, nid); in uncached_build_memmap()
[all …]
/arch/arm/common/
Ddmabounce.c56 struct dmabounce_pool *pool; member
63 struct dma_pool *pool; member
111 struct dmabounce_pool *pool; in alloc_safe_buffer() local
119 pool = &device_info->small; in alloc_safe_buffer()
121 pool = &device_info->large; in alloc_safe_buffer()
123 pool = NULL; in alloc_safe_buffer()
135 buf->pool = pool; in alloc_safe_buffer()
137 if (pool) { in alloc_safe_buffer()
138 buf->safe = dma_pool_alloc(pool->pool, GFP_ATOMIC, in alloc_safe_buffer()
154 if (pool) in alloc_safe_buffer()
[all …]
/arch/powerpc/kernel/
Diommu.c191 struct iommu_pool *pool; in iommu_range_alloc() local
214 pool = &(tbl->large_pool); in iommu_range_alloc()
216 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc()
218 spin_lock_irqsave(&(pool->lock), flags); in iommu_range_alloc()
222 (*handle >= pool->start) && (*handle < pool->end)) in iommu_range_alloc()
225 start = pool->hint; in iommu_range_alloc()
227 limit = pool->end; in iommu_range_alloc()
234 start = pool->start; in iommu_range_alloc()
243 spin_unlock(&(pool->lock)); in iommu_range_alloc()
244 pool = &(tbl->pools[0]); in iommu_range_alloc()
[all …]
/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c107 buffer_ptr.s.pool = wqe_pool.s.wqe_pool; in cvmx_helper_dump_packet()
139 cvmx_dprintf(" Buffer Pool: %u\n", buffer_ptr.s.pool); in cvmx_helper_dump_packet()
Dcvmx-pko.c60 config.s.pool = CVMX_FPA_OUTPUT_BUFFER_POOL; in cvmx_pko_initialize_global()
Dcvmx-helper.c843 g_buffer.s.pool = CVMX_FPA_WQE_POOL; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
855 pkt_buffer.s.pool = CVMX_FPA_PACKET_POOL; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/arch/avr32/mach-at32ap/
Dat32ap700x.c2341 struct gen_pool *pool; in sram_init() local
2344 pool = gen_pool_create(10, -1); in sram_init()
2345 if (!pool) in sram_init()
2348 if (gen_pool_add(pool, 0x24000000, 0x8000, -1)) in sram_init()
2351 sram_pool = pool; in sram_init()
2355 gen_pool_destroy(pool); in sram_init()
/arch/powerpc/
DKconfig1013 bool "Set custom consistent memory pool size"
1017 consistent memory pool. This pool of virtual memory
1021 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
/arch/s390/kernel/
Dentry.S816 st %r13,20(%r11) # r13 literal-pool pointer