Home
last modified time | relevance | path

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

1234567891011

/linux/include/net/
H A Dxdp_sock_drv.h39 static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool) in xsk_pool_get_headroom()
49 static inline u32 xsk_pool_get_chunk_size(struct xsk_buff_pool *pool) in xsk_pool_get_chunk_size()
54 static inline u32 __xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool) in __xsk_pool_get_rx_frame_size()
59 static inline u32 xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool) in xsk_pool_get_rx_frame_size()
75 static inline u32 xsk_pool_get_rx_frag_step(struct xsk_buff_pool *pool) in xsk_pool_get_rx_frag_step()
80 static inline void xsk_pool_set_rxq_info(struct xsk_buff_pool *pool, in xsk_pool_set_rxq_info()
86 static inline void xsk_pool_fill_cb(struct xsk_buff_pool *pool, in xsk_pool_fill_cb()
92 static inline void xsk_pool_dma_unmap(struct xsk_buff_pool *pool, in xsk_pool_dma_unmap()
98 static inline int xsk_pool_dma_map(struct xsk_buff_pool *pool, in xsk_pool_dma_map()
120 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc()
[all …]
/linux/net/core/
H A Dpage_pool.c46 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument
48 #define recycle_stat_inc(pool, __stat) \ argument
54 #define recycle_stat_add(pool, __stat, val) \ argument
88 page_pool_get_stats(const struct page_pool * pool,struct page_pool_stats * stats) page_pool_get_stats() argument
159 page_pool_producer_lock(struct page_pool * pool) page_pool_producer_lock() argument
172 page_pool_producer_unlock(struct page_pool * pool,bool in_softirq) page_pool_producer_unlock() argument
191 page_pool_init(struct page_pool * pool,const struct page_pool_params * params,int cpuid) page_pool_init() argument
319 page_pool_uninit(struct page_pool * pool) page_pool_uninit() argument
343 struct page_pool *pool; page_pool_create_percpu() local
381 page_pool_refill_alloc_cache(struct page_pool * pool) page_pool_refill_alloc_cache() argument
434 __page_pool_get_cached(struct page_pool * pool) __page_pool_get_cached() argument
450 __page_pool_dma_sync_for_device(const struct page_pool * pool,netmem_ref netmem,u32 dma_sync_size) __page_pool_dma_sync_for_device() argument
464 page_pool_dma_sync_for_device(const struct page_pool * pool,netmem_ref netmem,u32 dma_sync_size) page_pool_dma_sync_for_device() argument
478 page_pool_register_dma_index(struct page_pool * pool,netmem_ref netmem,gfp_t gfp) page_pool_register_dma_index() argument
510 __page_pool_unmap_netmem_dma(struct page_pool * pool,netmem_ref netmem) __page_pool_unmap_netmem_dma() argument
546 page_pool_dma_map(struct page_pool * pool,netmem_ref netmem,gfp_t gfp) page_pool_dma_map() argument
585 __page_pool_alloc_page_order(struct page_pool * pool,gfp_t gfp) __page_pool_alloc_page_order() argument
611 __page_pool_alloc_netmems_slow(struct page_pool * pool,gfp_t gfp) __page_pool_alloc_netmems_slow() argument
675 page_pool_alloc_netmems(struct page_pool * pool,gfp_t gfp) page_pool_alloc_netmems() argument
694 page_pool_alloc_pages(struct page_pool * pool,gfp_t gfp) page_pool_alloc_pages() argument
705 page_pool_inflight(const struct page_pool * pool,bool strict) page_pool_inflight() argument
724 page_pool_set_pp_info(struct page_pool * pool,netmem_ref netmem) page_pool_set_pp_info() argument
746 __page_pool_release_netmem_dma(struct page_pool * pool,netmem_ref netmem) __page_pool_release_netmem_dma() argument
766 page_pool_return_netmem(struct page_pool * pool,netmem_ref netmem) page_pool_return_netmem() argument
793 page_pool_recycle_in_ring(struct page_pool * pool,netmem_ref netmem) page_pool_recycle_in_ring() argument
813 page_pool_recycle_in_cache(netmem_ref netmem,struct page_pool * pool) page_pool_recycle_in_cache() argument
840 __page_pool_put_page(struct page_pool * pool,netmem_ref netmem,unsigned int dma_sync_size,bool allow_direct) __page_pool_put_page() argument
885 page_pool_napi_local(const struct page_pool * pool) page_pool_napi_local() argument
912 page_pool_put_unrefed_netmem(struct page_pool * pool,netmem_ref netmem,unsigned int dma_sync_size,bool allow_direct) page_pool_put_unrefed_netmem() argument
928 page_pool_put_unrefed_page(struct page_pool * pool,struct page * page,unsigned int dma_sync_size,bool allow_direct) page_pool_put_unrefed_page() argument
936 page_pool_recycle_ring_bulk(struct page_pool * pool,netmem_ref * bulk,u32 bulk_len) page_pool_recycle_ring_bulk() argument
997 struct page_pool *pool = NULL; page_pool_put_netmem_bulk() local
1035 page_pool_drain_frag(struct page_pool * pool,netmem_ref netmem) page_pool_drain_frag() argument
1053 page_pool_free_frag(struct page_pool * pool) page_pool_free_frag() argument
1066 page_pool_alloc_frag_netmem(struct page_pool * pool,unsigned int * offset,unsigned int size,gfp_t gfp) page_pool_alloc_frag_netmem() argument
1112 page_pool_alloc_frag(struct page_pool * pool,unsigned int * offset,unsigned int size,gfp_t gfp) page_pool_alloc_frag() argument
1120 page_pool_empty_ring(struct page_pool * pool) page_pool_empty_ring() argument
1135 __page_pool_destroy(struct page_pool * pool) __page_pool_destroy() argument
1146 page_pool_empty_alloc_cache_once(struct page_pool * pool) page_pool_empty_alloc_cache_once() argument
1163 page_pool_scrub(struct page_pool * pool) page_pool_scrub() argument
1196 page_pool_release(struct page_pool * pool) page_pool_release() argument
1215 struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); page_pool_release_retry() local
1244 page_pool_use_xdp_mem(struct page_pool * pool,void (* disconnect)(void *),const struct xdp_mem_info * mem) page_pool_use_xdp_mem() argument
1268 page_pool_enable_direct_recycling(struct page_pool * pool,struct napi_struct * napi) page_pool_enable_direct_recycling() argument
1281 page_pool_disable_direct_recycling(struct page_pool * pool) page_pool_disable_direct_recycling() argument
1299 page_pool_destroy(struct page_pool * pool) page_pool_destroy() argument
1323 page_pool_update_nid(struct page_pool * pool,int new_nid) page_pool_update_nid() argument
1346 net_mp_niov_set_page_pool(struct page_pool * pool,struct net_iov * niov) net_mp_niov_set_page_pool() argument
[all...]
H A Dmp_dmabuf_devmem.h22 static inline int mp_dmabuf_devmem_init(struct page_pool *pool) in mp_dmabuf_devmem_init()
28 mp_dmabuf_devmem_alloc_netmems(struct page_pool *pool, gfp_t gfp) in mp_dmabuf_devmem_alloc_netmems()
33 static inline void mp_dmabuf_devmem_destroy(struct page_pool *pool) in mp_dmabuf_devmem_destroy()
38 mp_dmabuf_devmem_release_page(struct page_pool *pool, netmem_ref netmem) in mp_dmabuf_devmem_release_page()
/linux/net/xdp/
H A Dxsk_buff_pool.c15 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk()
25 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()
45 int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs, in xp_alloc_tx_descs()
63 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local
124 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info()
133 void xp_fill_cb(struct xsk_buff_pool *pool, struct xsk_cb_desc *desc) in xp_fill_cb()
145 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc()
164 int xp_assign_dev(struct xsk_buff_pool *pool, in xp_assign_dev()
273 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs, in xp_assign_dev_shared()
[all …]
/linux/drivers/md/
H A Ddm-thin.c232 struct pool { struct
234 struct dm_target *ti; /* Only set if a pool target is bound */ argument
236 struct mapped_device *pool_md; argument
239 struct dm_pool_metadata *pmd; argument
245 struct pool_features pf; argument
246 bool low_water_triggered:1; /* A dm event has been sent */
247 bool suspended:1;
248 bool out_of_data_space:1;
250 struct dm_bio_prison *prison;
251 struct dm_kcopyd_client *copier;
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpool.c23 static void hws_pool_resource_free(struct mlx5hws_pool *pool) in hws_pool_resource_free()
35 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource()
77 static int hws_pool_resource_alloc(struct mlx5hws_pool *pool) in hws_pool_resource_alloc()
112 static int hws_pool_buddy_init(struct mlx5hws_pool *pool) in hws_pool_buddy_init()
136 static int hws_pool_buddy_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_get_chunk()
153 static void hws_pool_buddy_db_put_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_put_chunk()
167 static void hws_pool_buddy_db_uninit(struct mlx5hws_pool *pool) in hws_pool_buddy_db_uninit()
179 static int hws_pool_buddy_db_init(struct mlx5hws_pool *pool) in hws_pool_buddy_db_init()
207 static int hws_pool_bitmap_init(struct mlx5hws_pool *pool) in hws_pool_bitmap_init()
230 static int hws_pool_bitmap_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_bitmap_db_get_chunk()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_mem_pool.c55 static struct xe_tile *pool_to_tile(struct xe_mem_pool *pool) in pool_to_tile()
62 struct xe_mem_pool *pool = arg; in fini_pool_action() local
70 static int pool_shadow_init(struct xe_mem_pool *pool) in pool_shadow_init()
121 struct xe_mem_pool *pool; in xe_mem_pool_init() local
190 void xe_mem_pool_sync(struct xe_mem_pool *pool) in xe_mem_pool_sync()
213 void xe_mem_pool_swap_shadow_locked(struct xe_mem_pool *pool) in xe_mem_pool_swap_shadow_locked()
237 struct xe_mem_pool *pool = node_to_pool(node); in xe_mem_pool_sync_shadow_locked() local
257 u64 xe_mem_pool_gpu_addr(struct xe_mem_pool *pool) in xe_mem_pool_gpu_addr()
268 void *xe_mem_pool_cpu_addr(struct xe_mem_pool *pool) in xe_mem_pool_cpu_addr()
280 struct mutex *xe_mem_pool_bo_swap_guard(struct xe_mem_pool *pool) in xe_mem_pool_bo_swap_guard()
[all …]
/linux/drivers/net/ethernet/ti/
H A Dk3-cppi-desc-pool.c28 void k3_cppi_desc_pool_destroy(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_destroy()
54 struct k3_cppi_desc_pool *pool; in k3_cppi_desc_pool_create_name() local
113 dma_addr_t k3_cppi_desc_pool_virt2dma(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_virt2dma()
120 void *k3_cppi_desc_pool_dma2virt(struct k3_cppi_desc_pool *pool, dma_addr_t dma) in k3_cppi_desc_pool_dma2virt()
126 void *k3_cppi_desc_pool_alloc(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_alloc()
132 void k3_cppi_desc_pool_free(struct k3_cppi_desc_pool *pool, void *addr) in k3_cppi_desc_pool_free()
138 size_t k3_cppi_desc_pool_avail(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_avail()
144 size_t k3_cppi_desc_pool_desc_size(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_desc_size()
150 void *k3_cppi_desc_pool_cpuaddr(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_cpuaddr()
156 void k3_cppi_desc_pool_desc_info_set(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_desc_info_set()
[all …]
/linux/mm/
H A Dmempool.c57 static void poison_error(struct mempool *pool, void *element, size_t size, in poison_error()
74 static void __check_element(struct mempool *pool, void *element, size_t size) in __check_element()
90 static void check_element(struct mempool *pool, void *element) in check_element()
129 static void poison_element(struct mempool *pool, void *element) in poison_element()
160 static __always_inline bool kasan_poison_element(struct mempool *pool, in kasan_poison_element()
171 static void kasan_unpoison_element(struct mempool *pool, void *element) in kasan_unpoison_element()
183 static __always_inline void add_element(struct mempool *pool, void *element) in add_element()
194 static void *remove_element(struct mempool *pool) in remove_element()
217 void mempool_exit(struct mempool *pool) in mempool_exit()
236 void mempool_destroy(struct mempool *pool) in mempool_destroy()
[all …]
H A Dzsmalloc.c343 struct zs_pool *pool; member
441 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
442 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
443 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
531 static struct size_class *zspage_class(struct zs_pool *pool, in zspage_class()
555 static struct size_class *lookup_size_class(struct zs_pool *pool, size_t size) in lookup_size_class()
599 struct zs_pool *pool = s->private; in zs_stats_size_show() local
660 static void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
673 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
687 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
[all …]
H A Dzswap.c194 struct zswap_pool *pool; member
275 struct zswap_pool *pool; in zswap_pool_create() local
363 static void zswap_pool_destroy(struct zswap_pool *pool) in zswap_pool_destroy()
382 struct zswap_pool *pool = container_of(work, typeof(*pool), in __zswap_pool_release() local
399 struct zswap_pool *pool; in __zswap_pool_empty() local
415 static int __must_check zswap_pool_tryget(struct zswap_pool *pool) in zswap_pool_tryget()
424 static void zswap_pool_get(struct zswap_pool *pool) in zswap_pool_get()
429 static void zswap_pool_put(struct zswap_pool *pool) in zswap_pool_put()
436 struct zswap_pool *pool; in __zswap_pool_current() local
454 struct zswap_pool *pool; in zswap_pool_current_get() local
[all …]
/linux/lib/
H A Dgenalloc.c155 struct gen_pool *pool; in gen_pool_create() local
184 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner()
217 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys()
242 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
277 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner()
341 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo()
395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align()
419 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc()
440 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo()
[all …]
H A Dobjpool.c19 objpool_init_percpu_slot(struct objpool_head *pool, in objpool_init_percpu_slot()
48 objpool_init_percpu_slots(struct objpool_head *pool, int nr_objs, in objpool_init_percpu_slots()
105 static void objpool_fini_percpu_slots(struct objpool_head *pool) in objpool_fini_percpu_slots()
118 int objpool_init(struct objpool_head *pool, int nr_objs, int object_size, in objpool_init()
162 void objpool_free(struct objpool_head *pool) in objpool_free()
177 int objpool_drop(void *obj, struct objpool_head *pool) in objpool_drop()
192 void objpool_fini(struct objpool_head *pool) in objpool_fini()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c15 bucket_for_size(struct intel_gt_buffer_pool *pool, size_t sz) in bucket_for_size()
38 static bool pool_free_older_than(struct intel_gt_buffer_pool *pool, long keep) in pool_free_older_than()
90 struct intel_gt_buffer_pool *pool = in pool_free_work() local
103 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local
140 node_create(struct intel_gt_buffer_pool *pool, size_t sz, in node_create()
175 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_get_buffer_pool() local
223 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_init_buffer_pool() local
234 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_flush_buffer_pool() local
244 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_fini_buffer_pool() local
/linux/sound/core/seq/
H 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()
225 static inline void free_cell(struct snd_seq_pool *pool, in free_cell()
235 struct snd_seq_pool *pool; in snd_seq_cell_free() local
267 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc()
339 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup()
426 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait()
436 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init()
473 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing()
482 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c61 struct mlx5_dma_pool *pool; member
102 static void mlx5_dma_pool_destroy(struct mlx5_dma_pool *pool) in mlx5_dma_pool_destroy()
111 struct mlx5_dma_pool *pool; in mlx5_dma_pool_create() local
126 mlx5_dma_pool_page_alloc(struct mlx5_dma_pool *pool) in mlx5_dma_pool_page_alloc()
165 static int mlx5_dma_pool_alloc_from_page(struct mlx5_dma_pool *pool, in mlx5_dma_pool_alloc_from_page()
184 mlx5_dma_pool_alloc(struct mlx5_dma_pool *pool, unsigned long *idx_out) in mlx5_dma_pool_alloc()
207 static void mlx5_dma_pool_free(struct mlx5_dma_pool *pool, in mlx5_dma_pool_free()
230 static void mlx5_dma_pool_debugfs_get_stats(struct mlx5_dma_pool *pool, in mlx5_dma_pool_debugfs_get_stats()
252 struct mlx5_dma_pool *pool) in mlx5_dma_pool_debugfs_stats_print()
318 struct mlx5_dma_pool *pool = node_pools->pools[i]; in mlx5_frag_buf_dma_pools_debugfs_show() local
[all …]
/linux/net/ceph/
H 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/mellanox/mlx5/core/steering/sws/
H A Ddr_icm_pool.c111 dr_icm_pool_mr_create(struct mlx5dr_icm_pool *pool) in dr_icm_pool_mr_create()
262 static int dr_icm_buddy_create(struct mlx5dr_icm_pool *pool) in dr_icm_buddy_create()
321 struct mlx5dr_icm_pool *pool, in dr_icm_chunk_init()
340 static bool dr_icm_pool_is_sync_required(struct mlx5dr_icm_pool *pool) in dr_icm_pool_is_sync_required()
345 static void dr_icm_pool_clear_hot_chunks_arr(struct mlx5dr_icm_pool *pool) in dr_icm_pool_clear_hot_chunks_arr()
364 static int dr_icm_pool_sync_all_buddy_pools(struct mlx5dr_icm_pool *pool) in dr_icm_pool_sync_all_buddy_pools()
385 static int dr_icm_handle_buddies_get_mem(struct mlx5dr_icm_pool *pool, in dr_icm_handle_buddies_get_mem()
434 mlx5dr_icm_alloc_chunk(struct mlx5dr_icm_pool *pool, in mlx5dr_icm_alloc_chunk()
469 struct mlx5dr_icm_pool *pool = buddy->pool; in mlx5dr_icm_free_chunk() local
494 struct mlx5dr_ste_htbl *mlx5dr_icm_pool_alloc_htbl(struct mlx5dr_icm_pool *pool) in mlx5dr_icm_pool_alloc_htbl()
[all …]
/linux/drivers/staging/media/ipu3/
H 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/arch/mips/include/asm/octeon/
H 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/drivers/net/ethernet/marvell/
H A Dmvneta_bm.h33 #define MVNETA_BM_XBAR_POOL_REG(pool) \ argument
35 #define MVNETA_BM_TARGET_ID_OFFS(pool) (((pool) & 1) ? 16 : 0) argument
36 #define MVNETA_BM_TARGET_ID_MASK(pool) \ argument
38 #define MVNETA_BM_TARGET_ID_VAL(pool, id) \ argument
40 #define MVNETA_BM_XBAR_ATTR_OFFS(pool) (((pool) & 1) ? 20 : 4) argument
41 #define MVNETA_BM_XBAR_ATTR_MASK(pool) \ argument
43 #define MVNETA_BM_XBAR_ATTR_VAL(pool, attr) \ argument
47 #define MVNETA_BM_POOL_BASE_REG(pool) (0x10 + ((pool) << 4)) argument
51 #define MVNETA_BM_POOL_READ_PTR_REG(pool) (0x14 + ((pool) << 4)) argument
57 #define MVNETA_BM_POOL_WRITE_PTR_REG(pool) (0x18 + ((pool) << 4)) argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c19 #define MLX5_CRYPTO_DEK_POOL_CALC_FREED(pool) MLX5_CRYPTO_DEK_CALC_FREED(pool) argument
288 mlx5_crypto_dek_bulk_create(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_bulk_create()
334 mlx5_crypto_dek_pool_add_bulk(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_pool_add_bulk()
357 static void mlx5_crypto_dek_pool_remove_bulk(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_pool_remove_bulk()
370 mlx5_crypto_dek_pool_pop(struct mlx5_crypto_dek_pool *pool, u32 *obj_offset) in mlx5_crypto_dek_pool_pop()
420 static bool mlx5_crypto_dek_need_sync(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_need_sync()
426 static int mlx5_crypto_dek_free_locked(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_free_locked()
454 static int mlx5_crypto_dek_pool_push(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_pool_push()
479 static void mlx5_crypto_dek_bulk_reset_synced(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_bulk_reset_synced()
510 static bool mlx5_crypto_dek_bulk_handle_avail(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_bulk_handle_avail()
[all …]
/linux/kernel/
H A Dworkqueue.c272 struct worker_pool *pool; /* I: the associated pool */ global() member
564 for_each_bh_worker_pool(pool,cpu) global() argument
569 for_each_cpu_worker_pool(pool,cpu) global() argument
586 for_each_pool(pool,pi) global() argument
601 for_each_pool_worker(worker,pool) global() argument
726 worker_pool_assign_id(struct worker_pool * pool) worker_pool_assign_id() argument
787 pool_offq_flags(struct worker_pool * pool) pool_offq_flags() argument
952 need_more_worker(struct worker_pool * pool) need_more_worker() argument
958 may_start_working(struct worker_pool * pool) may_start_working() argument
964 keep_working(struct worker_pool * pool) keep_working() argument
970 need_to_create_worker(struct worker_pool * pool) need_to_create_worker() argument
976 too_many_workers(struct worker_pool * pool) too_many_workers() argument
994 struct worker_pool *pool = worker->pool; worker_set_flags() local
1016 struct worker_pool *pool = worker->pool; worker_clr_flags() local
1034 first_idle_worker(struct worker_pool * pool) first_idle_worker() argument
1054 struct worker_pool *pool = worker->pool; worker_enter_idle() local
1087 struct worker_pool *pool = worker->pool; worker_leave_idle() local
1129 find_worker_executing_work(struct worker_pool * pool,struct work_struct * work) find_worker_executing_work() argument
1206 struct worker_pool *pool = worker->pool; assign_work() local
1239 bh_pool_irq_work(struct worker_pool * pool) bh_pool_irq_work() argument
1246 kick_bh_pool(struct worker_pool * pool) kick_bh_pool() argument
1275 kick_pool_pick(struct worker_pool * pool,struct task_struct ** wakep) kick_pool_pick() argument
1338 kick_pool(struct worker_pool * pool) kick_pool() argument
1487 struct worker_pool *pool; wq_worker_sleeping() local
1534 struct worker_pool *pool = worker->pool; wq_worker_tick() local
1609 is_percpu_pool(struct worker_pool * pool) is_percpu_pool() argument
1783 struct worker_pool *pool = pwq->pool; pwq_tryinc_nr_active() local
2019 struct worker_pool *pool = pwq->pool; pwq_dec_nr_active() local
2139 struct worker_pool *pool; try_to_grab_pending() local
2325 struct worker_pool *last_pool, *pool; __queue_work() local
2766 pool_allowed_cpus(struct worker_pool * pool) pool_allowed_cpus() argument
2784 worker_attach_to_pool(struct worker * worker,struct worker_pool * pool) worker_attach_to_pool() argument
2839 struct worker_pool *pool = worker->pool; worker_detach_from_pool() local
2854 format_worker_id(char * buf,size_t size,struct worker * worker,struct worker_pool * pool) format_worker_id() argument
2885 create_worker(struct worker_pool * pool) create_worker() argument
2986 struct worker_pool *pool = worker->pool; set_worker_dying() local
3027 struct worker_pool *pool = timer_container_of(pool, t, idle_timer); idle_worker_timeout() local
3066 struct worker_pool *pool = container_of(work, struct worker_pool, idle_cull_work); idle_cull_fn() local
3125 struct worker_pool *pool = timer_container_of(pool, t, mayday_timer); pool_mayday_timeout() local
3166 maybe_create_worker(struct worker_pool * pool) maybe_create_worker() argument
3198 worker_lock_callback(struct worker_pool * pool) worker_lock_callback() argument
3212 worker_unlock_callback(struct worker_pool * pool) worker_unlock_callback() argument
3217 workqueue_callback_cancel_wait_running(struct worker_pool * pool) workqueue_callback_cancel_wait_running() argument
3225 worker_lock_callback(struct worker_pool * pool) worker_lock_callback() argument
3226 worker_unlock_callback(struct worker_pool * pool) worker_unlock_callback() argument
3227 workqueue_callback_cancel_wait_running(struct worker_pool * pool) workqueue_callback_cancel_wait_running() argument
3255 struct worker_pool *pool = worker->pool; manage_workers() local
3290 struct worker_pool *pool = worker->pool; process_one_work() local
3508 struct worker_pool *pool = worker->pool; worker_thread() local
3581 struct worker_pool *pool = pwq->pool; assign_rescuer_work() local
3688 struct worker_pool *pool = pwq->pool; rescuer_thread() local
3758 struct worker_pool *pool = worker->pool; bh_worker() local
3807 struct worker_pool *pool = workqueue_softirq_action() local
3815 struct worker_pool *pool; global() member
3823 struct worker_pool *pool = dead_work->pool; drain_dead_softirq_workfn() local
3872 struct worker_pool *pool = &per_cpu(bh_worker_pools, cpu)[i]; workqueue_softirq_dead() local
4350 struct worker_pool *pool; start_flush_work() local
4434 struct worker_pool *pool; __flush_work() local
4967 init_worker_pool(struct worker_pool * pool) init_worker_pool() argument
5116 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); rcu_free_pool() local
5134 put_unbound_pool(struct worker_pool * pool) put_unbound_pool() argument
5220 struct worker_pool *pool; get_unbound_pool() local
5276 struct worker_pool *pool = pwq->pool; pwq_release_workfn() local
5326 init_pwq(struct pool_workqueue * pwq,struct workqueue_struct * wq,struct worker_pool * pool) init_pwq() argument
5392 struct worker_pool *pool; alloc_pwq() local
5697 struct worker_pool *pool = get_percpu_pool(wq, cpu); alloc_and_link_percpu_pwqs() local
6380 struct worker_pool *pool; work_busy() local
6473 pr_cont_pool_info(struct worker_pool * pool) pr_cont_pool_info() argument
6488 struct worker_pool *pool = worker->pool; pr_cont_worker_id() local
6545 struct worker_pool *pool = pwq->pool; show_pwq() local
6667 show_one_worker_pool(struct worker_pool * pool) show_one_worker_pool() argument
6720 struct worker_pool *pool; show_all_workqueues() local
6767 struct worker_pool *pool = worker->pool; wq_worker_comm() local
6815 struct worker_pool *pool; unbind_workers() local
6867 rebind_workers(struct worker_pool * pool) rebind_workers() argument
6927 restore_unbound_workers_cpumask(struct worker_pool * pool,int cpu) restore_unbound_workers_cpumask() argument
6947 struct worker_pool *pool; workqueue_prepare_cpu() local
6960 struct worker_pool *pool; workqueue_online_cpu() local
7215 struct worker_pool *pool; workqueue_apply_unbound_cpumask() local
7807 show_pool_no_running_worker(struct worker_pool * pool) show_pool_no_running_worker() argument
7837 show_cpu_pool_busy_workers(struct worker_pool * pool) show_cpu_pool_busy_workers() argument
7890 struct worker_pool *pool; show_cpu_pools_busy_workers() local
7943 struct worker_pool *pool; wq_watchdog_timer_fn() local
8114 init_cpu_worker_pool(struct worker_pool * pool,int cpu,int nice) init_cpu_worker_pool() argument
8191 struct worker_pool *pool; workqueue_init_early() local
8299 struct worker_pool *pool; workqueue_init() local
[all...]
/linux/drivers/tee/amdtee/
H A Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
41 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
49 static void pool_op_destroy_pool(struct tee_shm_pool *pool) in pool_op_destroy_pool()
62 struct tee_shm_pool *pool = kzalloc_obj(*pool); in amdtee_config_shm() local
/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c55 struct ubi_fm_pool *pool) in return_unused_pool_pebs()
111 struct ubi_fm_pool *pool = &ubi->fm_pool; in wait_free_pebs_for_pool() local
171 struct ubi_fm_pool *pool = &ubi->fm_pool; in can_fill_pools() local
188 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_refill_pools_and_lock() local
297 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_wl_get_peb() local
354 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in next_peb_for_wl() local
415 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl() local

1234567891011