/Linux-v5.4/include/linux/ |
D | genalloc.h | 37 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); 97 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long); 98 extern int gen_pool_add_owner(struct gen_pool *, unsigned long, phys_addr_t, 101 static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr, in gen_pool_add_virt() 119 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, in gen_pool_add() 124 extern void gen_pool_destroy(struct gen_pool *); 125 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, [all …]
|
D | sram.h | 16 struct gen_pool; 19 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size); 21 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, in sram_exec_copy()
|
/Linux-v5.4/drivers/gpu/drm/vboxvideo/ |
D | vboxvideo_guest.h | 30 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, 42 void vbva_disable(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, [all …]
|
D | hgsmi_base.c | 17 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location() 41 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info() 61 int hgsmi_test_query_conf(struct gen_pool *ctx) in hgsmi_test_query_conf() 80 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) in hgsmi_query_conf() 113 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, in hgsmi_update_pointer_shape() 185 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, in hgsmi_cursor_position()
|
D | vbva_base.c | 47 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()
|
D | vbox_drv.h | 64 struct gen_pool *guest_pool; 177 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, 179 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf); 180 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
|
D | modesetting.c | 27 void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, in hgsmi_process_display_info() 65 int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, in hgsmi_update_input_mapping() 93 int hgsmi_get_mode_hints(struct gen_pool *ctx, unsigned int screens, in hgsmi_get_mode_hints()
|
D | vbox_hgsmi.c | 47 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()
|
/Linux-v5.4/lib/ |
D | genalloc.c | 151 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() 153 struct gen_pool *pool; in gen_pool_create() 155 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create() 182 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner() 215 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 240 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 275 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 339 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 360 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 393 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() [all …]
|
/Linux-v5.4/include/linux/platform_data/ |
D | dma-mmp_tdma.h | 28 extern struct gen_pool *sram_get_gpool(char *pool_name); 30 static inline struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
|
D | uio_pruss.h | 24 struct gen_pool *sram_pool;
|
/Linux-v5.4/arch/s390/include/asm/ |
D | cio.h | 366 void *cio_gp_dma_zalloc(struct gen_pool *gp_dma, struct device *dma_dev, 368 void cio_gp_dma_free(struct gen_pool *gp_dma, void *cpu_addr, size_t size); 369 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev); 370 struct gen_pool *cio_gp_dma_create(struct device *dma_dev, int nr_pages);
|
/Linux-v5.4/drivers/misc/ |
D | sram.h | 11 struct gen_pool *pool; 21 struct gen_pool *pool;
|
/Linux-v5.4/arch/arm/mach-davinci/ |
D | sram.c | 15 static struct gen_pool *sram_pool; 17 struct gen_pool *sram_get_gen_pool(void) in sram_get_gen_pool()
|
D | sram.h | 25 extern struct gen_pool *sram_get_gen_pool(void);
|
/Linux-v5.4/drivers/soc/fsl/qbman/ |
D | qman_priv.h | 190 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-v5.4/arch/ia64/kernel/ |
D | uncached.c | 32 struct gen_pool *pool; 223 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page() 249 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap()
|
/Linux-v5.4/drivers/staging/media/tegra-vde/ |
D | vde.h | 21 struct gen_pool; 43 struct gen_pool *iram_pool;
|
/Linux-v5.4/arch/x86/kernel/cpu/mce/ |
D | genpool.c | 24 static struct gen_pool *mce_evt_pool; 121 struct gen_pool *tmpp; in mce_gen_pool_create()
|
/Linux-v5.4/drivers/memory/ |
D | ti-emif-pm.c | 32 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-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_pble.c | 426 struct gen_pool *pool; in free_lvl2() 455 struct gen_pool *pool) in get_lvl2_pble() 515 struct gen_pool *pool; in get_lvl1_pble() 543 struct gen_pool *pool) in get_lvl1_lvl2_pble() 565 struct gen_pool *pool; in i40iw_get_pble() 603 struct gen_pool *pool; in i40iw_free_pble()
|
/Linux-v5.4/arch/arm/mach-mmp/ |
D | sram.c | 26 struct gen_pool *gpool; 39 struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 87 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-v5.4/arch/sh/mm/ |
D | sram.c | 22 struct gen_pool *sram_pool;
|
/Linux-v5.4/sound/core/ |
D | memalloc.c | 65 struct gen_pool *pool = NULL; in snd_malloc_dev_iram() 88 struct gen_pool *pool = dmab->private_data; in snd_free_dev_iram()
|