Home
last modified time | relevance | path

Searched refs:gen_pool (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.3-rc2/include/linux/
A Dgenalloc.h37 struct gen_pool;
52 void *data, struct gen_pool *pool,
58 struct gen_pool { struct
96 extern struct gen_pool *gen_pool_create(int, int);
124 extern void gen_pool_destroy(struct gen_pool *);
175 extern void gen_pool_for_each_chunk(struct gen_pool *,
177 extern size_t gen_pool_avail(struct gen_pool *);
178 extern size_t gen_pool_size(struct gen_pool *);
185 struct gen_pool *pool, unsigned long start_addr);
189 void *data, struct gen_pool *pool, unsigned long start_addr);
[all …]
A Dsram.h6 struct gen_pool;
9 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
11 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, in sram_exec_copy()
A Dti-emif-sram.h133 struct gen_pool;
135 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst);
/linux-6.3-rc2/drivers/gpu/drm/vboxvideo/
A Dvboxvideo_guest.h30 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location);
31 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps);
32 int hgsmi_test_query_conf(struct gen_pool *ctx);
33 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret);
34 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags,
37 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position,
40 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
45 struct gen_pool *ctx);
47 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
52 void hgsmi_process_display_info(struct gen_pool *ctx, u32 display,
[all …]
A Dhgsmi_base.c18 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location()
43 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info()
63 int hgsmi_test_query_conf(struct gen_pool *ctx) in hgsmi_test_query_conf()
83 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) in hgsmi_query_conf()
117 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, in hgsmi_update_pointer_shape()
190 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, in hgsmi_cursor_position()
A Dvbva_base.c47 static void vbva_buffer_flush(struct gen_pool *ctx) in vbva_buffer_flush()
61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write()
108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host()
137 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_enable()
154 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_disable()
165 struct gen_pool *ctx) in vbva_buffer_begin_update()
A Dvbox_drv.h54 struct gen_pool *guest_pool;
149 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size,
151 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf);
152 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
A Dvbox_hgsmi.c47 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, in hgsmi_buffer_alloc()
74 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_free()
84 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_submit()
A Dmodesetting.c29 void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, in hgsmi_process_display_info()
69 int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, in hgsmi_update_input_mapping()
97 int hgsmi_get_mode_hints(struct gen_pool *ctx, unsigned int screens, in hgsmi_get_mode_hints()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dk3-cppi-desc-pool.c24 struct gen_pool *gen_pool; member
32 WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool), in k3_cppi_desc_pool_destroy()
34 gen_pool_size(pool->gen_pool), in k3_cppi_desc_pool_destroy()
35 gen_pool_avail(pool->gen_pool)); in k3_cppi_desc_pool_destroy()
40 gen_pool_destroy(pool->gen_pool); /* frees pool->name */ in k3_cppi_desc_pool_destroy()
66 pool->gen_pool = gen_pool_create(ilog2(pool->desc_size), -1); in k3_cppi_desc_pool_create_name()
67 if (!pool->gen_pool) { in k3_cppi_desc_pool_create_name()
74 pool->gen_pool->name = pool_name; in k3_cppi_desc_pool_create_name()
96 gen_pool_destroy(pool->gen_pool); /* frees pool->name */ in k3_cppi_desc_pool_create_name()
115 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc()
[all …]
A Ddavinci_cpdma.c87 struct gen_pool *gen_pool; member
197 WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool), in cpdma_desc_pool_destroy()
199 gen_pool_size(pool->gen_pool), in cpdma_desc_pool_destroy()
200 gen_pool_avail(pool->gen_pool)); in cpdma_desc_pool_destroy()
240 pool->gen_pool = devm_gen_pool_create(ctlr->dev, ilog2(pool->desc_size), in cpdma_desc_pool_create()
242 if (IS_ERR(pool->gen_pool)) { in cpdma_desc_pool_create()
243 ret = PTR_ERR(pool->gen_pool); in cpdma_desc_pool_create()
263 ret = gen_pool_add_virt(pool->gen_pool, (unsigned long)pool->iomap, in cpdma_desc_pool_create()
297 gen_pool_alloc(pool->gen_pool, pool->desc_size); in cpdma_desc_alloc()
303 gen_pool_free(pool->gen_pool, (unsigned long)desc, pool->desc_size); in cpdma_desc_free()
[all …]
/linux-6.3-rc2/lib/
A Dgenalloc.c153 struct gen_pool *pool; in gen_pool_create()
240 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
578 size_t gen_pool_avail(struct gen_pool *pool) in gen_pool_avail()
597 size_t gen_pool_size(struct gen_pool *pool) in gen_pool_size()
647 struct gen_pool *pool, unsigned long start_addr) in gen_pool_first_fit()
666 struct gen_pool *pool, unsigned long start_addr) in gen_pool_first_fit_align()
780 gen_pool_destroy(*(struct gen_pool **)res); in devm_gen_pool_release()
785 struct gen_pool **p = res; in devm_gen_pool_match()
806 struct gen_pool **p; in gen_pool_get()
830 struct gen_pool **ptr, *pool; in devm_gen_pool_create()
[all …]
/linux-6.3-rc2/kernel/dma/
A Dpool.c16 static struct gen_pool *atomic_pool_dma __ro_after_init;
18 static struct gen_pool *atomic_pool_dma32 __ro_after_init;
20 static struct gen_pool *atomic_pool_kernel __ro_after_init;
79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand()
145 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize()
162 static __init struct gen_pool *__dma_atomic_pool_init(size_t pool_size, in __dma_atomic_pool_init()
165 struct gen_pool *pool; in __dma_atomic_pool_init()
224 static inline struct gen_pool *dma_guess_pool(struct gen_pool *prev, gfp_t gfp) in dma_guess_pool()
241 struct gen_pool *pool, void **cpu_addr, in __dma_alloc_from_pool()
269 struct gen_pool *pool = NULL; in dma_alloc_from_pool()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Drtas-work-area.c41 struct gen_pool *gen_pool; member
104 (addr = gen_pool_alloc(rwa_state.gen_pool, size)) != 0); in __rtas_work_area_alloc()
121 gen_pool_free(rwa_state.gen_pool, (unsigned long)area->buf, area->size); in rtas_work_area_free()
139 struct gen_pool *pool; in rtas_work_area_allocator_init()
167 rwa_state.gen_pool = pool; in rtas_work_area_allocator_init()
/linux-6.3-rc2/arch/s390/include/asm/
A Dcio.h365 void *cio_gp_dma_zalloc(struct gen_pool *gp_dma, struct device *dma_dev,
367 void cio_gp_dma_free(struct gen_pool *gp_dma, void *cpu_addr, size_t size);
368 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev);
369 struct gen_pool *cio_gp_dma_create(struct device *dma_dev, int nr_pages);
/linux-6.3-rc2/drivers/misc/
A Dsram.h16 struct gen_pool *pool;
29 struct gen_pool *pool;
/linux-6.3-rc2/arch/arm/mach-davinci/
A Dsram.c15 static struct gen_pool *sram_pool;
17 struct gen_pool *sram_get_gen_pool(void) in sram_get_gen_pool()
A Dsram.h25 extern struct gen_pool *sram_get_gen_pool(void);
/linux-6.3-rc2/drivers/soc/fsl/qbman/
A Dqman_priv.h190 extern struct gen_pool *qm_fqalloc; /* FQID allocator */
191 extern struct gen_pool *qm_qpalloc; /* pool-channel allocator */
192 extern struct gen_pool *qm_cgralloc; /* CGR ID allocator */
/linux-6.3-rc2/arch/ia64/kernel/
A Duncached.c30 struct gen_pool *pool;
221 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page()
247 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap()
/linux-6.3-rc2/arch/x86/kernel/cpu/mce/
A Dgenpool.c24 static struct gen_pool *mce_evt_pool;
121 struct gen_pool *tmpp; in mce_gen_pool_create()
/linux-6.3-rc2/drivers/memory/
A Dti-emif-pm.c32 struct gen_pool *sram_pool_code;
33 struct gen_pool *sram_pool_data;
201 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst) in ti_emif_copy_pm_function_table()
/linux-6.3-rc2/include/linux/platform_data/
A Duio_pruss.h16 struct gen_pool *sram_pool;
/linux-6.3-rc2/arch/sh/mm/
A Dsram.c22 struct gen_pool *sram_pool;
/linux-6.3-rc2/arch/sh/include/asm/
A Dsram.h11 extern struct gen_pool *sram_pool;

Completed in 44 milliseconds

123