Lines Matching refs:gen_pool

152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid)  in gen_pool_create()
154 struct gen_pool *pool; in gen_pool_create()
156 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
182 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_virt()
214 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys()
239 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
271 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
289 unsigned long gen_pool_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo()
346 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
374 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
412 void gen_pool_for_each_chunk(struct gen_pool *pool, in gen_pool_for_each_chunk()
413 void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), in gen_pool_for_each_chunk()
434 bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, in addr_in_gen_pool()
460 size_t gen_pool_avail(struct gen_pool *pool) in gen_pool_avail()
479 size_t gen_pool_size(struct gen_pool *pool) in gen_pool_size()
502 void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, void *data) in gen_pool_set_algo()
528 struct gen_pool *pool) in gen_pool_first_fit()
546 struct gen_pool *pool) in gen_pool_first_fit_align()
570 struct gen_pool *pool) in gen_pool_fixed_alloc()
604 unsigned int nr, void *data, struct gen_pool *pool) in gen_pool_first_fit_order_align()
627 struct gen_pool *pool) in gen_pool_best_fit()
653 gen_pool_destroy(*(struct gen_pool **)res); in devm_gen_pool_release()
658 struct gen_pool **p = res; in devm_gen_pool_match()
677 struct gen_pool *gen_pool_get(struct device *dev, const char *name) in gen_pool_get()
679 struct gen_pool **p; in gen_pool_get()
700 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create()
703 struct gen_pool **ptr, *pool; in devm_gen_pool_create()
750 struct gen_pool *of_gen_pool_get(struct device_node *np, in of_gen_pool_get()
756 struct gen_pool *pool = NULL; in of_gen_pool_get()