Home
last modified time | relevance | path

Searched defs:pool (Results 1 – 25 of 264) sorted by relevance

1234567891011

/linux/include/net/
A Dxdp_sock_drv.h26 static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool) in xsk_pool_get_headroom()
31 static inline u32 xsk_pool_get_chunk_size(struct xsk_buff_pool *pool) in xsk_pool_get_chunk_size()
41 static inline void xsk_pool_set_rxq_info(struct xsk_buff_pool *pool, in xsk_pool_set_rxq_info()
47 static inline void xsk_pool_dma_unmap(struct xsk_buff_pool *pool, in xsk_pool_dma_unmap()
53 static inline int xsk_pool_dma_map(struct xsk_buff_pool *pool, in xsk_pool_dma_map()
139 static inline bool xsk_tx_peek_desc(struct xsk_buff_pool *pool, in xsk_tx_peek_desc()
151 static inline void xsk_tx_release(struct xsk_buff_pool *pool) in xsk_tx_release()
177 static inline bool xsk_uses_need_wakeup(struct xsk_buff_pool *pool) in xsk_uses_need_wakeup()
182 static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool) in xsk_pool_get_headroom()
202 static inline void xsk_pool_dma_unmap(struct xsk_buff_pool *pool, in xsk_pool_dma_unmap()
[all …]
A Dpage_pool.h139 static inline struct page *page_pool_dev_alloc_pages(struct page_pool *pool) in page_pool_dev_alloc_pages()
149 static inline struct page *page_pool_dev_alloc_frag(struct page_pool *pool, in page_pool_dev_alloc_frag()
162 inline enum dma_data_direction page_pool_get_dma_dir(struct page_pool *pool) in page_pool_get_dma_dir()
178 static inline void page_pool_destroy(struct page_pool *pool) in page_pool_destroy()
182 static inline void page_pool_use_xdp_mem(struct page_pool *pool, in page_pool_use_xdp_mem()
186 static inline void page_pool_release_page(struct page_pool *pool, in page_pool_release_page()
201 static inline void page_pool_put_full_page(struct page_pool *pool, in page_pool_put_full_page()
213 static inline void page_pool_recycle_direct(struct page_pool *pool, in page_pool_recycle_direct()
272 static inline bool page_pool_put(struct page_pool *pool) in page_pool_put()
285 static inline void page_pool_ring_lock(struct page_pool *pool) in page_pool_ring_lock()
[all …]
/linux/net/core/
A Dpage_pool.c29 static int page_pool_init(struct page_pool *pool, in page_pool_init()
92 struct page_pool *pool; in page_pool_create() local
215 static void page_pool_set_pp_info(struct page_pool *pool, in page_pool_set_pp_info()
330 static s32 page_pool_inflight(struct page_pool *pool) in page_pool_inflight()
408 struct page_pool *pool) in page_pool_recycle_in_cache()
546 static void page_pool_free_frag(struct page_pool *pool) in page_pool_free_frag()
603 static void page_pool_empty_ring(struct page_pool *pool) in page_pool_empty_ring()
618 static void page_pool_free(struct page_pool *pool) in page_pool_free()
648 static void page_pool_scrub(struct page_pool *pool) in page_pool_scrub()
659 static int page_pool_release(struct page_pool *pool) in page_pool_release()
[all …]
/linux/net/xdp/
A Dxsk_buff_pool.c11 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk()
23 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk()
35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy()
48 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local
109 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc()
128 int xp_assign_dev(struct xsk_buff_pool *pool, in xp_assign_dev()
216 void xp_clear_dev(struct xsk_buff_pool *pool) in xp_clear_dev()
250 void xp_get_pool(struct xsk_buff_pool *pool) in xp_get_pool()
255 bool xp_put_pool(struct xsk_buff_pool *pool) in xp_put_pool()
492 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool) in xp_alloc()
[all …]
/linux/drivers/infiniband/sw/rxe/
A Drxe_pool.c129 struct rxe_pool *pool, in rxe_pool_init()
252 struct rxe_pool *pool = elem->pool; in __rxe_add_key_locked() local
263 struct rxe_pool *pool = elem->pool; in __rxe_add_key() local
276 struct rxe_pool *pool = elem->pool; in __rxe_drop_key_locked() local
283 struct rxe_pool *pool = elem->pool; in __rxe_drop_key() local
293 struct rxe_pool *pool = elem->pool; in __rxe_add_index_locked() local
304 struct rxe_pool *pool = elem->pool; in __rxe_add_index() local
317 struct rxe_pool *pool = elem->pool; in __rxe_drop_index_locked() local
325 struct rxe_pool *pool = elem->pool; in __rxe_drop_index() local
358 void *rxe_alloc(struct rxe_pool *pool) in rxe_alloc()
[all …]
/linux/drivers/md/
A Ddm-thin.c229 struct pool { struct
231 struct dm_target *ti; /* Only set if a pool target is bound */ argument
236 struct dm_pool_metadata *pmd; argument
242 struct pool_features pf; argument
244 bool suspended:1;
257 unsigned ref_count;
259 spinlock_t lock;
284 mempool_t mapping_pool; argument
289 static void metadata_operation_failed(struct pool *pool, const char *op, int r); argument
326 struct pool *pool; member
[all …]
/linux/mm/
A Dmempool.c24 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error()
57 static void check_element(mempool_t *pool, void *element) in check_element()
80 static void poison_element(mempool_t *pool, void *element) in poison_element()
95 static inline void check_element(mempool_t *pool, void *element) in check_element()
129 static void *remove_element(mempool_t *pool) in remove_element()
150 void mempool_exit(mempool_t *pool) in mempool_exit()
169 void mempool_destroy(mempool_t *pool) in mempool_destroy()
264 mempool_t *pool; in mempool_create_node() local
298 int mempool_resize(mempool_t *pool, int new_min_nr) in mempool_resize()
374 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
[all …]
A Dzbud.c222 struct zbud_pool *pool; in zbud_create_pool() local
244 static void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool()
518 static u64 zbud_get_pool_size(struct zbud_pool *pool) in zbud_get_pool_size()
543 struct zbud_pool *pool; in zbud_zpool_create() local
553 static void zbud_zpool_destroy(void *pool) in zbud_zpool_destroy()
558 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc()
563 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free()
568 static int zbud_zpool_shrink(void *pool, unsigned int pages, in zbud_zpool_shrink()
587 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map()
592 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap()
[all …]
A Dz3fold.c93 unsigned long pool; /* back link */ member
121 struct z3fold_pool *pool; member
386 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
507 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page() local
545 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list() local
976 struct z3fold_pool *pool = NULL; in z3fold_create_pool() local
1565 struct z3fold_pool *pool; in z3fold_page_isolate() local
1605 struct z3fold_pool *pool; in z3fold_page_migrate() local
1670 struct z3fold_pool *pool; in z3fold_page_putback() local
1716 struct z3fold_pool *pool; in z3fold_zpool_create() local
[all …]
A Dzsmalloc.c323 static int create_cache(struct zs_pool *pool) in create_cache()
341 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
395 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
436 static u64 zs_zpool_total_size(void *pool) in zs_zpool_total_size()
589 struct zs_pool *pool = s->private; in zs_stats_size_show() local
1867 struct zs_pool *pool; in zs_page_isolate() local
1924 struct zs_pool *pool; in zs_page_migrate() local
2050 struct zs_pool *pool; in zs_page_putback() local
2264 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
2357 struct zs_pool *pool; in zs_create_pool() local
[all …]
A Ddmapool.c71 struct dma_pool *pool; in pools_show() local
203 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
219 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
247 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
267 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
382 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
404 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free()
474 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local
501 struct dma_pool **ptr, *pool; in dmam_pool_create() local
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dintel_gt_buffer_pool.c12 static struct intel_gt *to_gt(struct intel_gt_buffer_pool *pool) in to_gt()
18 bucket_for_size(struct intel_gt_buffer_pool *pool, size_t sz) in bucket_for_size()
41 static bool pool_free_older_than(struct intel_gt_buffer_pool *pool, long keep) in pool_free_older_than()
93 struct intel_gt_buffer_pool *pool = in pool_free_work() local
105 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local
141 node_create(struct intel_gt_buffer_pool *pool, size_t sz, in node_create()
176 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_get_buffer_pool() local
224 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_init_buffer_pool() local
235 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_flush_buffer_pool() local
245 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_fini_buffer_pool() local
/linux/lib/
A Dgenalloc.c155 struct gen_pool *pool; in gen_pool_create() local
242 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
531 void gen_pool_for_each_chunk(struct gen_pool *pool, in gen_pool_for_each_chunk()
580 size_t gen_pool_avail(struct gen_pool *pool) in gen_pool_avail()
599 size_t gen_pool_size(struct gen_pool *pool) in gen_pool_size()
649 struct gen_pool *pool, unsigned long start_addr) in gen_pool_first_fit()
668 struct gen_pool *pool, unsigned long start_addr) in gen_pool_first_fit_align()
696 struct gen_pool *pool, unsigned long start_addr) in gen_pool_fixed_alloc()
756 struct gen_pool *pool, unsigned long start_addr) in gen_pool_best_fit()
832 struct gen_pool **ptr, *pool; in devm_gen_pool_create() local
[all …]
/linux/sound/core/seq/
A Dseq_memory.c22 static inline int snd_seq_pool_available(struct snd_seq_pool *pool) in snd_seq_pool_available()
27 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok()
165 static inline void free_cell(struct snd_seq_pool *pool, in free_cell()
176 struct snd_seq_pool *pool; in snd_seq_cell_free() local
209 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc()
371 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init()
411 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing()
423 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done()
458 struct snd_seq_pool *pool; in snd_seq_pool_new() local
482 struct snd_seq_pool *pool = *ppool; in snd_seq_pool_delete() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
A Dpool.c10 struct xsk_buff_pool *pool) in mlx5e_xsk_map_pool()
18 struct xsk_buff_pool *pool) in mlx5e_xsk_unmap_pool()
46 static int mlx5e_xsk_add_pool(struct mlx5e_xsk *xsk, struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_add_pool()
65 static bool mlx5e_xsk_is_pool_sane(struct xsk_buff_pool *pool) in mlx5e_xsk_is_pool_sane()
71 void mlx5e_build_xsk_param(struct xsk_buff_pool *pool, struct mlx5e_xsk_param *xsk) in mlx5e_build_xsk_param()
78 struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_enable_locked()
157 struct xsk_buff_pool *pool = mlx5e_xsk_get_pool(&priv->channels.params, in mlx5e_xsk_disable_locked() local
183 static int mlx5e_xsk_enable_pool(struct mlx5e_priv *priv, struct xsk_buff_pool *pool, in mlx5e_xsk_enable_pool()
206 int mlx5e_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) in mlx5e_xsk_setup_pool()
/linux/arch/arm64/kvm/hyp/nvhe/
A Dpage_alloc.c33 static struct hyp_page *__find_buddy_nocheck(struct hyp_pool *pool, in __find_buddy_nocheck()
52 static struct hyp_page *__find_buddy_avail(struct hyp_pool *pool, in __find_buddy_avail()
93 static void __hyp_attach_page(struct hyp_pool *pool, in __hyp_attach_page()
124 static struct hyp_page *__hyp_extract_page(struct hyp_pool *pool, in __hyp_extract_page()
166 static void __hyp_put_page(struct hyp_pool *pool, struct hyp_page *p) in __hyp_put_page()
179 void hyp_put_page(struct hyp_pool *pool, void *addr) in hyp_put_page()
188 void hyp_get_page(struct hyp_pool *pool, void *addr) in hyp_get_page()
211 void *hyp_alloc_pages(struct hyp_pool *pool, unsigned short order) in hyp_alloc_pages()
236 int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, in hyp_pool_init()
/linux/net/ceph/
A Dmsgpool.c14 struct ceph_msgpool *pool = arg; in msgpool_alloc() local
30 struct ceph_msgpool *pool = arg; in msgpool_free() local
38 int ceph_msgpool_init(struct ceph_msgpool *pool, int type, in ceph_msgpool_init()
53 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy()
59 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len, in ceph_msgpool_get()
81 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
/linux/drivers/net/ethernet/ti/
A Dk3-cppi-desc-pool.c27 void k3_cppi_desc_pool_destroy(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_destroy()
48 struct k3_cppi_desc_pool *pool; in k3_cppi_desc_pool_create_name() local
102 dma_addr_t k3_cppi_desc_pool_virt2dma(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_virt2dma()
108 void *k3_cppi_desc_pool_dma2virt(struct k3_cppi_desc_pool *pool, dma_addr_t dma) in k3_cppi_desc_pool_dma2virt()
113 void *k3_cppi_desc_pool_alloc(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_alloc()
118 void k3_cppi_desc_pool_free(struct k3_cppi_desc_pool *pool, void *addr) in k3_cppi_desc_pool_free()
123 size_t k3_cppi_desc_pool_avail(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_avail()
/linux/drivers/staging/octeon/
A Dethernet-mem.c24 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
47 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
77 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
114 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
137 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
148 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
/linux/drivers/staging/media/ipu3/
A Dipu3-css-pool.c25 void imgu_css_pool_cleanup(struct imgu_device *imgu, struct imgu_css_pool *pool) in imgu_css_pool_cleanup()
33 int imgu_css_pool_init(struct imgu_device *imgu, struct imgu_css_pool *pool, in imgu_css_pool_init()
61 void imgu_css_pool_get(struct imgu_css_pool *pool) in imgu_css_pool_get()
73 void imgu_css_pool_put(struct imgu_css_pool *pool) in imgu_css_pool_put()
89 imgu_css_pool_last(struct imgu_css_pool *pool, unsigned int n) in imgu_css_pool_last()
/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
A Drmgr_vbuf.c128 int ia_css_rmgr_init_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_init_vbuf()
161 void ia_css_rmgr_uninit_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_uninit_vbuf()
197 void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_push_handle()
225 void rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_pop_handle()
254 void ia_css_rmgr_acq_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_acq_vbuf()
303 void ia_css_rmgr_rel_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_rel_vbuf()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-fpa.h106 static inline const char *cvmx_fpa_get_name(uint64_t pool) in cvmx_fpa_get_name()
117 static inline void *cvmx_fpa_get_base(uint64_t pool) in cvmx_fpa_get_base()
131 static inline int cvmx_fpa_is_member(uint64_t pool, void *ptr) in cvmx_fpa_is_member()
185 static inline void *cvmx_fpa_alloc(uint64_t pool) in cvmx_fpa_alloc()
202 static inline void cvmx_fpa_async_alloc(uint64_t scr_addr, uint64_t pool) in cvmx_fpa_async_alloc()
226 static inline void cvmx_fpa_free_nosync(void *ptr, uint64_t pool, in cvmx_fpa_free_nosync()
248 static inline void cvmx_fpa_free(void *ptr, uint64_t pool, in cvmx_fpa_free()
/linux/include/linux/
A Ddmapool.h41 static inline void dma_pool_destroy(struct dma_pool *pool) { } in dma_pool_destroy()
42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
44 static inline void dma_pool_free(struct dma_pool *pool, void *vaddr, in dma_pool_free()
49 static inline void dmam_pool_destroy(struct dma_pool *pool) { } in dmam_pool_destroy()
52 static inline void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_zalloc()
/linux/drivers/staging/media/atomisp/pci/hmm/
A Dhmm_dynamic_pool.c36 static unsigned int get_pages_from_dynamic_pool(void *pool, in get_pages_from_dynamic_pool()
73 static void free_pages_to_dynamic_pool(void *pool, in free_pages_to_dynamic_pool()
140 static int hmm_dynamic_pool_init(void **pool, unsigned int pool_size) in hmm_dynamic_pool_init()
171 static void hmm_dynamic_pool_exit(void **pool) in hmm_dynamic_pool_exit()
218 static int hmm_dynamic_pool_inited(void *pool) in hmm_dynamic_pool_inited()
/linux/drivers/gpu/drm/ttm/
A Dttm_pool.c78 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page()
131 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page()
184 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
211 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap()
285 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type()
336 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order()
359 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc()
458 void ttm_pool_free(struct ttm_pool *pool, struct ttm_tt *tt) in ttm_pool_free()
497 void ttm_pool_init(struct ttm_pool *pool, struct device *dev, in ttm_pool_init()
524 void ttm_pool_fini(struct ttm_pool *pool) in ttm_pool_fini()
[all …]

Completed in 58 milliseconds

1234567891011