Home
last modified time | relevance | path

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

12345678910>>...12

/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
85 page_pool_get_stats(const struct page_pool * pool,struct page_pool_stats * stats) page_pool_get_stats() argument
161 page_pool_producer_lock(struct page_pool * pool) page_pool_producer_lock() argument
174 page_pool_producer_unlock(struct page_pool * pool,bool in_softirq) page_pool_producer_unlock() argument
193 page_pool_init(struct page_pool * pool,const struct page_pool_params * params,int cpuid) page_pool_init() argument
321 page_pool_uninit(struct page_pool * pool) page_pool_uninit() argument
345 struct page_pool *pool; page_pool_create_percpu() local
383 page_pool_refill_alloc_cache(struct page_pool * pool) page_pool_refill_alloc_cache() argument
436 __page_pool_get_cached(struct page_pool * pool) __page_pool_get_cached() argument
452 __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
466 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
480 page_pool_register_dma_index(struct page_pool * pool,netmem_ref netmem,gfp_t gfp) page_pool_register_dma_index() argument
505 page_pool_release_dma_index(struct page_pool * pool,netmem_ref netmem) page_pool_release_dma_index() argument
530 page_pool_dma_map(struct page_pool * pool,netmem_ref netmem,gfp_t gfp) page_pool_dma_map() argument
569 __page_pool_alloc_page_order(struct page_pool * pool,gfp_t gfp) __page_pool_alloc_page_order() argument
595 __page_pool_alloc_netmems_slow(struct page_pool * pool,gfp_t gfp) __page_pool_alloc_netmems_slow() argument
659 page_pool_alloc_netmems(struct page_pool * pool,gfp_t gfp) page_pool_alloc_netmems() argument
678 page_pool_alloc_pages(struct page_pool * pool,gfp_t gfp) page_pool_alloc_pages() argument
689 page_pool_inflight(const struct page_pool * pool,bool strict) page_pool_inflight() argument
708 page_pool_set_pp_info(struct page_pool * pool,netmem_ref netmem) page_pool_set_pp_info() argument
730 __page_pool_release_netmem_dma(struct page_pool * pool,netmem_ref netmem) __page_pool_release_netmem_dma() argument
758 page_pool_return_netmem(struct page_pool * pool,netmem_ref netmem) page_pool_return_netmem() argument
785 page_pool_recycle_in_ring(struct page_pool * pool,netmem_ref netmem) page_pool_recycle_in_ring() argument
805 page_pool_recycle_in_cache(netmem_ref netmem,struct page_pool * pool) page_pool_recycle_in_cache() argument
832 __page_pool_put_page(struct page_pool * pool,netmem_ref netmem,unsigned int dma_sync_size,bool allow_direct) __page_pool_put_page() argument
877 page_pool_napi_local(const struct page_pool * pool) page_pool_napi_local() argument
904 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
920 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
928 page_pool_recycle_ring_bulk(struct page_pool * pool,netmem_ref * bulk,u32 bulk_len) page_pool_recycle_ring_bulk() argument
989 struct page_pool *pool = NULL; page_pool_put_netmem_bulk() local
1027 page_pool_drain_frag(struct page_pool * pool,netmem_ref netmem) page_pool_drain_frag() argument
1045 page_pool_free_frag(struct page_pool * pool) page_pool_free_frag() argument
1058 page_pool_alloc_frag_netmem(struct page_pool * pool,unsigned int * offset,unsigned int size,gfp_t gfp) page_pool_alloc_frag_netmem() argument
1103 page_pool_alloc_frag(struct page_pool * pool,unsigned int * offset,unsigned int size,gfp_t gfp) page_pool_alloc_frag() argument
1111 page_pool_empty_ring(struct page_pool * pool) page_pool_empty_ring() argument
1126 __page_pool_destroy(struct page_pool * pool) __page_pool_destroy() argument
1137 page_pool_empty_alloc_cache_once(struct page_pool * pool) page_pool_empty_alloc_cache_once() argument
1154 page_pool_scrub(struct page_pool * pool) page_pool_scrub() argument
1186 page_pool_release(struct page_pool * pool) page_pool_release() argument
1205 struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); page_pool_release_retry() local
1234 page_pool_use_xdp_mem(struct page_pool * pool,void (* disconnect)(void *),const struct xdp_mem_info * mem) page_pool_use_xdp_mem() argument
1258 page_pool_enable_direct_recycling(struct page_pool * pool,struct napi_struct * napi) page_pool_enable_direct_recycling() argument
1271 page_pool_disable_direct_recycling(struct page_pool * pool) page_pool_disable_direct_recycling() argument
1289 page_pool_destroy(struct page_pool * pool) page_pool_destroy() argument
1313 page_pool_update_nid(struct page_pool * pool,int new_nid) page_pool_update_nid() argument
1336 net_mp_niov_set_page_pool(struct page_pool * pool,struct net_iov * niov) net_mp_niov_set_page_pool() argument
[all...]
H A Dpage_pool_user.c42 struct page_pool *pool; in netdev_nl_page_pool_get_do() local
88 struct page_pool *pool; netdev_nl_page_pool_get_dump() local
114 page_pool_nl_stats_fill(struct sk_buff * rsp,const struct page_pool * pool,const struct genl_info * info) page_pool_nl_stats_fill() argument
216 page_pool_nl_fill(struct sk_buff * rsp,const struct page_pool * pool,const struct genl_info * info) page_pool_nl_fill() argument
262 netdev_nl_page_pool_event(const struct page_pool * pool,u32 cmd) netdev_nl_page_pool_event() argument
311 page_pool_list(struct page_pool * pool) page_pool_list() argument
337 page_pool_detached(struct page_pool * pool) page_pool_detached() argument
345 page_pool_unlist(struct page_pool * pool) page_pool_unlist() argument
359 struct page_pool *pool; page_pool_check_memory_provider() local
381 struct page_pool *pool; page_pool_unreg_netdev_wipe() local
394 struct page_pool *pool, *last; page_pool_unreg_netdev() local
[all...]
/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() argument
25 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk() argument
35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy() argument
45 xp_alloc_tx_descs(struct xsk_buff_pool * pool,struct xdp_sock * xs) xp_alloc_tx_descs() argument
58 struct xsk_buff_pool *pool; xp_create_and_assign_umem() local
119 xp_set_rxq_info(struct xsk_buff_pool * pool,struct xdp_rxq_info * rxq) xp_set_rxq_info() argument
128 xp_fill_cb(struct xsk_buff_pool * pool,struct xsk_cb_desc * desc) xp_fill_cb() argument
140 xp_disable_drv_zc(struct xsk_buff_pool * pool) xp_disable_drv_zc() argument
159 xp_assign_dev(struct xsk_buff_pool * pool,struct net_device * netdev,u16 queue_id,u16 flags) xp_assign_dev() argument
268 xp_assign_dev_shared(struct xsk_buff_pool * pool,struct xdp_sock * umem_xs,struct net_device * dev,u16 queue_id) xp_assign_dev_shared() argument
285 xp_clear_dev(struct xsk_buff_pool * pool) xp_clear_dev() argument
302 struct xsk_buff_pool *pool = container_of(work, struct xsk_buff_pool, xp_release_deferred() local
323 xp_get_pool(struct xsk_buff_pool * pool) xp_get_pool() argument
328 xp_put_pool(struct xsk_buff_pool * pool) xp_put_pool() argument
342 xp_find_dma_map(struct xsk_buff_pool * pool) xp_find_dma_map() argument
402 xp_dma_unmap(struct xsk_buff_pool * pool,unsigned long attrs) xp_dma_unmap() argument
437 xp_init_dma_info(struct xsk_buff_pool * pool,struct xsk_dma_map * dma_map) xp_init_dma_info() argument
464 xp_dma_map(struct xsk_buff_pool * pool,struct device * dev,unsigned long attrs,struct page ** pages,u32 nr_pages) xp_dma_map() argument
509 xp_addr_crosses_non_contig_pg(struct xsk_buff_pool * pool,u64 addr) xp_addr_crosses_non_contig_pg() argument
515 xp_check_unaligned(struct xsk_buff_pool * pool,u64 * addr) xp_check_unaligned() argument
525 xp_check_aligned(struct xsk_buff_pool * pool,u64 * addr) xp_check_aligned() argument
531 xp_get_xskb(struct xsk_buff_pool * pool,u64 addr) xp_get_xskb() argument
547 __xp_alloc(struct xsk_buff_pool * pool) __xp_alloc() argument
578 xp_alloc(struct xsk_buff_pool * pool) xp_alloc() argument
604 xp_alloc_new_from_fq(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_new_from_fq() argument
640 xp_alloc_reused(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 nb_entries) xp_alloc_reused() argument
660 xp_alloc_slow(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_slow() argument
678 xp_alloc_batch(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_batch() argument
702 xp_can_alloc(struct xsk_buff_pool * pool,u32 count) xp_can_alloc() argument
728 __xp_raw_get_addr(const struct xsk_buff_pool * pool,u64 addr) __xp_raw_get_addr() argument
733 __xp_raw_get_data(const struct xsk_buff_pool * pool,u64 addr) __xp_raw_get_data() argument
738 xp_raw_get_data(struct xsk_buff_pool * pool,u64 addr) xp_raw_get_data() argument
744 __xp_raw_get_dma(const struct xsk_buff_pool * pool,u64 addr) __xp_raw_get_dma() argument
751 xp_raw_get_dma(struct xsk_buff_pool * pool,u64 addr) xp_raw_get_dma() argument
769 xp_raw_get_ctx(const struct xsk_buff_pool * pool,u64 addr) xp_raw_get_ctx() argument
[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/mm/
H A Dmempool.c41 static void poison_error(struct mempool *pool, void *element, size_t size, in poison_error() argument
58 static void __check_element(struct mempool *pool, void *element, size_t size) in __check_element() argument
74 static void check_element(struct mempool *pool, void *element) in check_element() argument
113 poison_element(struct mempool * pool,void * element) poison_element() argument
144 check_element(struct mempool * pool,void * element) check_element() argument
147 poison_element(struct mempool * pool,void * element) poison_element() argument
152 kasan_poison_element(struct mempool * pool,void * element) kasan_poison_element() argument
163 kasan_unpoison_element(struct mempool * pool,void * element) kasan_unpoison_element() argument
175 add_element(struct mempool * pool,void * element) add_element() argument
183 remove_element(struct mempool * pool) remove_element() argument
204 mempool_exit(struct mempool * pool) mempool_exit() argument
223 mempool_destroy(struct mempool * pool) mempool_destroy() argument
233 mempool_init_node(struct mempool * pool,int min_nr,mempool_alloc_t * alloc_fn,mempool_free_t * free_fn,void * pool_data,gfp_t gfp_mask,int node_id) mempool_init_node() argument
285 mempool_init_noprof(struct mempool * pool,int min_nr,mempool_alloc_t * alloc_fn,mempool_free_t * free_fn,void * pool_data) mempool_init_noprof() argument
317 struct mempool *pool; mempool_create_node_noprof() local
351 mempool_resize(struct mempool * pool,int new_min_nr) mempool_resize() argument
412 mempool_alloc_from_pool(struct mempool * pool,void ** elems,unsigned int count,unsigned int allocated,gfp_t gfp_mask) mempool_alloc_from_pool() argument
492 mempool_alloc_bulk_noprof(struct mempool * pool,void ** elems,unsigned int count,unsigned int allocated) mempool_alloc_bulk_noprof() argument
552 mempool_alloc_noprof(struct mempool * pool,gfp_t gfp_mask) mempool_alloc_noprof() argument
604 mempool_alloc_preallocated(struct mempool * pool) mempool_alloc_preallocated() argument
627 mempool_free_bulk(struct mempool * pool,void ** elems,unsigned int count) mempool_free_bulk() argument
708 mempool_free(void * element,struct mempool * pool) mempool_free() argument
[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/kernel/cgroup/
H A Ddmem.c113 static void dmemcg_pool_get(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_get()
118 static bool dmemcg_pool_tryget(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_tryget()
123 static void dmemcg_pool_put(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_put()
133 struct dmem_cgroup_pool_state *pool = container_of(rcu, typeof(*pool), rcu); in dmemcg_pool_free_rcu() local
141 static void free_cg_pool(struct dmem_cgroup_pool_state *pool) in free_cg_pool()
148 set_resource_min(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_min()
154 set_resource_low(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_low()
160 set_resource_max(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_max()
165 static u64 get_resource_low(struct dmem_cgroup_pool_state *pool) in get_resource_low()
170 static u64 get_resource_min(struct dmem_cgroup_pool_state *pool) in get_resource_min()
[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/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/panthor/
H A Dpanthor_heap.c114 static int panthor_get_heap_ctx_offset(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx_offset() argument
119 static void *panthor_get_heap_ctx(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx() argument
125 static void panthor_free_heap_chunk(struct panthor_heap_pool *pool, in panthor_free_heap_chunk() argument
140 panthor_alloc_heap_chunk(struct panthor_heap_pool * pool,struct panthor_heap * heap,bool initial_chunk) panthor_alloc_heap_chunk() argument
202 panthor_free_heap_chunks(struct panthor_heap_pool * pool,struct panthor_heap * heap) panthor_free_heap_chunks() argument
211 panthor_alloc_heap_chunks(struct panthor_heap_pool * pool,struct panthor_heap * heap,u32 chunk_count) panthor_alloc_heap_chunks() argument
228 panthor_heap_destroy_locked(struct panthor_heap_pool * pool,u32 handle) panthor_heap_destroy_locked() argument
247 panthor_heap_destroy(struct panthor_heap_pool * pool,u32 handle) panthor_heap_destroy() argument
274 panthor_heap_create(struct panthor_heap_pool * pool,u32 initial_chunk_count,u32 chunk_size,u32 max_chunks,u32 target_in_flight,u64 * heap_ctx_gpu_va,u64 * first_chunk_gpu_va) panthor_heap_create() argument
370 panthor_heap_return_chunk(struct panthor_heap_pool * pool,u64 heap_gpu_va,u64 chunk_gpu_va) panthor_heap_return_chunk() argument
432 panthor_heap_grow(struct panthor_heap_pool * pool,u64 heap_gpu_va,u32 renderpasses_in_flight,u32 pending_frag_count,u64 * new_chunk_gpu_va) panthor_heap_grow() argument
494 struct panthor_heap_pool *pool = panthor_heap_pool_release() local
505 panthor_heap_pool_put(struct panthor_heap_pool * pool) panthor_heap_pool_put() argument
518 panthor_heap_pool_get(struct panthor_heap_pool * pool) panthor_heap_pool_get() argument
541 struct panthor_heap_pool *pool; panthor_heap_pool_create() local
595 panthor_heap_pool_destroy(struct panthor_heap_pool * pool) panthor_heap_pool_destroy() argument
626 panthor_heap_pool_size(struct panthor_heap_pool * pool) panthor_heap_pool_size() argument
[all...]
/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() argument
27 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok() argument
225 static inline void free_cell(struct snd_seq_pool *pool, in free_cell() argument
235 struct snd_seq_pool *pool; snd_seq_cell_free() local
267 snd_seq_cell_alloc(struct snd_seq_pool * pool,struct snd_seq_event_cell ** cellp,int nonblock,struct file * file,struct mutex * mutexp) snd_seq_cell_alloc() argument
339 snd_seq_event_dup(struct snd_seq_pool * pool,struct snd_seq_event * event,struct snd_seq_event_cell ** cellp,int nonblock,struct file * file,struct mutex * mutexp) snd_seq_event_dup() argument
426 snd_seq_pool_poll_wait(struct snd_seq_pool * pool,struct file * file,poll_table * wait) snd_seq_pool_poll_wait() argument
436 snd_seq_pool_init(struct snd_seq_pool * pool) snd_seq_pool_init() argument
473 snd_seq_pool_mark_closing(struct snd_seq_pool * pool) snd_seq_pool_mark_closing() argument
482 snd_seq_pool_done(struct snd_seq_pool * pool) snd_seq_pool_done() argument
516 struct snd_seq_pool *pool; snd_seq_pool_new() local
540 struct snd_seq_pool *pool = *ppool; snd_seq_pool_delete() local
553 snd_seq_info_pool(struct snd_info_buffer * buffer,struct snd_seq_pool * pool,char * space) snd_seq_info_pool() argument
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dirq_affinity.c8 static void cpu_put(struct mlx5_irq_pool *pool, int cpu) in cpu_put() argument
13 static void cpu_get(struct mlx5_irq_pool *pool, int cpu) in cpu_get() argument
19 static int cpu_get_least_loaded(struct mlx5_irq_pool *pool, in cpu_get_least_loaded() argument
48 irq_pool_request_irq(struct mlx5_irq_pool * pool,struct irq_affinity_desc * af_desc) irq_pool_request_irq() argument
97 irq_pool_find_least_loaded(struct mlx5_irq_pool * pool,const struct cpumask * req_mask) irq_pool_find_least_loaded() argument
137 mlx5_irq_affinity_request(struct mlx5_core_dev * dev,struct mlx5_irq_pool * pool,struct irq_affinity_desc * af_desc) mlx5_irq_affinity_request() argument
189 struct mlx5_irq_pool *pool = mlx5_irq_get_pool(irq); mlx5_irq_affinity_irq_release() local
[all...]
H A Dpci_irq.c34 struct mlx5_irq_pool *pool; member
156 struct mlx5_irq_pool *pool = irq->pool; mlx5_system_free_irq() local
179 struct mlx5_irq_pool *pool = irq->pool; irq_release() local
189 struct mlx5_irq_pool *pool = irq->pool; mlx5_irq_put() local
233 irq_sf_set_name(struct mlx5_irq_pool * pool,char * name,int vecidx) irq_sf_set_name() argument
238 irq_set_name(struct mlx5_irq_pool * pool,char * name,int vecidx) irq_set_name() argument
255 mlx5_irq_alloc(struct mlx5_irq_pool * pool,int i,struct irq_affinity_desc * af_desc,struct cpu_rmap ** rmap) mlx5_irq_alloc() argument
388 irq_pool_request_vector(struct mlx5_irq_pool * pool,int vecidx,struct irq_affinity_desc * af_desc,struct cpu_rmap ** rmap) irq_pool_request_vector() argument
421 struct mlx5_irq_pool *pool = NULL; mlx5_irq_table_get_comp_irq_pool() local
435 struct mlx5_irq_pool *pool = NULL; ctrl_irq_pool_get() local
470 struct mlx5_irq_pool *pool = ctrl_irq_pool_get(dev); mlx5_ctrl_irq_request() local
515 struct mlx5_irq_pool *pool; mlx5_irq_request() local
554 struct mlx5_irq_pool *pool = table->pcif_pool; mlx5_irq_request_vector() local
581 struct mlx5_irq_pool *pool = kvzalloc_obj(*pool); irq_pool_alloc() local
600 irq_pool_free(struct mlx5_irq_pool * pool) irq_pool_free() argument
695 mlx5_irq_pool_free_irqs(struct mlx5_irq_pool * pool) mlx5_irq_pool_free_irqs() argument
[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/staging/octeon/
H A Dethernet-mem.c24 cvm_oct_fill_hw_skbuff(int pool,int size,int elements) cvm_oct_fill_hw_skbuff() argument
47 cvm_oct_free_hw_skbuff(int pool,int size,int elements) cvm_oct_free_hw_skbuff() argument
77 cvm_oct_fill_hw_memory(int pool,int size,int elements) cvm_oct_fill_hw_memory() argument
114 cvm_oct_free_hw_memory(int pool,int size,int elements) cvm_oct_free_hw_memory() argument
137 cvm_oct_mem_fill_fpa(int pool,int size,int elements) cvm_oct_mem_fill_fpa() argument
148 cvm_oct_mem_empty_fpa(int pool,int size,int elements) cvm_oct_mem_empty_fpa() argument
[all...]
/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() argument
262 dr_icm_buddy_create(struct mlx5dr_icm_pool * pool) dr_icm_buddy_create() argument
321 dr_icm_chunk_init(struct mlx5dr_icm_chunk * chunk,struct mlx5dr_icm_pool * pool,enum mlx5dr_icm_chunk_size chunk_size,struct mlx5dr_icm_buddy_mem * buddy_mem_pool,unsigned int seg) dr_icm_chunk_init() argument
340 dr_icm_pool_is_sync_required(struct mlx5dr_icm_pool * pool) dr_icm_pool_is_sync_required() argument
345 dr_icm_pool_clear_hot_chunks_arr(struct mlx5dr_icm_pool * pool) dr_icm_pool_clear_hot_chunks_arr() argument
364 dr_icm_pool_sync_all_buddy_pools(struct mlx5dr_icm_pool * pool) dr_icm_pool_sync_all_buddy_pools() argument
385 dr_icm_handle_buddies_get_mem(struct mlx5dr_icm_pool * pool,enum mlx5dr_icm_chunk_size chunk_size,struct mlx5dr_icm_buddy_mem ** buddy,unsigned int * seg) dr_icm_handle_buddies_get_mem() argument
434 mlx5dr_icm_alloc_chunk(struct mlx5dr_icm_pool * pool,enum mlx5dr_icm_chunk_size chunk_size) mlx5dr_icm_alloc_chunk() argument
469 struct mlx5dr_icm_pool *pool = buddy->pool; mlx5dr_icm_free_chunk() local
494 mlx5dr_icm_pool_alloc_htbl(struct mlx5dr_icm_pool * pool) mlx5dr_icm_pool_alloc_htbl() argument
499 mlx5dr_icm_pool_free_htbl(struct mlx5dr_icm_pool * pool,struct mlx5dr_ste_htbl * htbl) mlx5dr_icm_pool_free_htbl() argument
508 struct mlx5dr_icm_pool *pool; mlx5dr_icm_pool_create() local
562 mlx5dr_icm_pool_destroy(struct mlx5dr_icm_pool * pool) mlx5dr_icm_pool_destroy() argument
[all...]
/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/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/drivers/gpu/drm/ttm/
H A Dttm_pool.c107 struct ttm_pool *pool; member
136 static int ttm_pool_nid(struct ttm_pool *pool) in ttm_pool_nid()
147 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page()
218 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page()
271 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
294 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap()
357 static void ttm_pool_type_init(struct ttm_pool_type *pt, struct ttm_pool *pool, in ttm_pool_type_init()
407 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type()
457 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order()
473 static void ttm_pool_split_for_swap(struct ttm_pool *pool, struct page *p) in ttm_pool_split_for_swap()
[all …]
/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 …]

12345678910>>...12