/linux/net/core/ |
H A D | page_pool.c | 43 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument 45 #define recycle_stat_inc(pool, __stat) \ argument 51 #define recycle_stat_add(pool, __stat, val) \ argument 82 bool page_pool_get_stats(const struct page_pool *pool, in page_pool_get_stats() 153 #define alloc_stat_inc(pool, __stat) argument 154 #define recycle_stat_inc(pool, __stat) argument 155 #define recycle_stat_add(pool, __stat, val) argument 158 static bool page_pool_producer_lock(struct page_pool *pool) in page_pool_producer_lock() 171 static void page_pool_producer_unlock(struct page_pool *pool, in page_pool_producer_unlock() 190 static int page_pool_init(struct page_pool *pool, in page_pool_init() [all …]
|
H A D | page_pool_user.c | 40 struct page_pool *pool; in netdev_nl_page_pool_get_do() local 86 struct page_pool *pool; in netdev_nl_page_pool_get_dump() local 112 page_pool_nl_stats_fill(struct sk_buff *rsp, const struct page_pool *pool, in page_pool_nl_stats_fill() 214 page_pool_nl_fill(struct sk_buff *rsp, const struct page_pool *pool, in page_pool_nl_fill() 258 static void netdev_nl_page_pool_event(const struct page_pool *pool, u32 cmd) in netdev_nl_page_pool_event() 307 int page_pool_list(struct page_pool *pool) in page_pool_list() 335 void page_pool_detached(struct page_pool *pool) in page_pool_detached() 343 void page_pool_unlist(struct page_pool *pool) in page_pool_unlist() 357 struct page_pool *pool; in page_pool_check_memory_provider() local 379 struct page_pool *pool; in page_pool_unreg_netdev_wipe() local [all …]
|
/linux/net/xdp/ |
H A D | xsk_buff_pool.c | 11 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk() argument 23 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 59 struct xsk_buff_pool *pool; xp_create_and_assign_umem() local 118 xp_set_rxq_info(struct xsk_buff_pool * pool,struct xdp_rxq_info * rxq) xp_set_rxq_info() argument 127 xp_fill_cb(struct xsk_buff_pool * pool,struct xsk_cb_desc * desc) xp_fill_cb() argument 139 xp_disable_drv_zc(struct xsk_buff_pool * pool) xp_disable_drv_zc() argument 162 xp_assign_dev(struct xsk_buff_pool * pool,struct net_device * netdev,u16 queue_id,u16 flags) xp_assign_dev() argument 247 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 264 xp_clear_dev(struct xsk_buff_pool * pool) xp_clear_dev() argument 277 struct xsk_buff_pool *pool = container_of(work, struct xsk_buff_pool, xp_release_deferred() local 298 xp_get_pool(struct xsk_buff_pool * pool) xp_get_pool() argument 303 xp_put_pool(struct xsk_buff_pool * pool) xp_put_pool() argument 317 xp_find_dma_map(struct xsk_buff_pool * pool) xp_find_dma_map() argument 377 xp_dma_unmap(struct xsk_buff_pool * pool,unsigned long attrs) xp_dma_unmap() argument 413 xp_init_dma_info(struct xsk_buff_pool * pool,struct xsk_dma_map * dma_map) xp_init_dma_info() argument 439 xp_dma_map(struct xsk_buff_pool * pool,struct device * dev,unsigned long attrs,struct page ** pages,u32 nr_pages) xp_dma_map() argument 484 xp_addr_crosses_non_contig_pg(struct xsk_buff_pool * pool,u64 addr) xp_addr_crosses_non_contig_pg() argument 490 xp_check_unaligned(struct xsk_buff_pool * pool,u64 * addr) xp_check_unaligned() argument 500 xp_check_aligned(struct xsk_buff_pool * pool,u64 * addr) xp_check_aligned() argument 506 xp_get_xskb(struct xsk_buff_pool * pool,u64 addr) xp_get_xskb() argument 522 __xp_alloc(struct xsk_buff_pool * pool) __xp_alloc() argument 553 xp_alloc(struct xsk_buff_pool * pool) xp_alloc() argument 579 xp_alloc_new_from_fq(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_new_from_fq() argument 615 xp_alloc_reused(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 nb_entries) xp_alloc_reused() argument 635 xp_alloc_slow(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_slow() argument 653 xp_alloc_batch(struct xsk_buff_pool * pool,struct xdp_buff ** xdp,u32 max) xp_alloc_batch() argument 677 xp_can_alloc(struct xsk_buff_pool * pool,u32 count) xp_can_alloc() argument 703 xp_raw_get_data(struct xsk_buff_pool * pool,u64 addr) xp_raw_get_data() argument 710 xp_raw_get_dma(struct xsk_buff_pool * pool,u64 addr) xp_raw_get_dma() argument [all...] |
/linux/drivers/md/ |
H A D | dm-thin.c | 232 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/include/net/page_pool/ |
H A D | helpers.h | 92 static inline struct page *page_pool_dev_alloc_pages(struct page_pool *pool) in page_pool_dev_alloc_pages() 110 static inline struct page *page_pool_dev_alloc_frag(struct page_pool *pool, in page_pool_dev_alloc_frag() 119 static inline struct page *page_pool_alloc(struct page_pool *pool, in page_pool_alloc() 161 static inline struct page *page_pool_dev_alloc(struct page_pool *pool, in page_pool_dev_alloc() 170 static inline void *page_pool_alloc_va(struct page_pool *pool, in page_pool_alloc_va() 196 static inline void *page_pool_dev_alloc_va(struct page_pool *pool, in page_pool_dev_alloc_va() 212 page_pool_get_dma_dir(const struct page_pool *pool) in page_pool_get_dma_dir() 311 static inline void page_pool_put_netmem(struct page_pool *pool, in page_pool_put_netmem() 340 static inline void page_pool_put_page(struct page_pool *pool, in page_pool_put_page() 349 static inline void page_pool_put_full_netmem(struct page_pool *pool, in page_pool_put_full_netmem() [all …]
|
/linux/mm/ |
H A D | mempool.c | 24 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() argument 41 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() argument 57 static void check_element(mempool_t *pool, void *element) in check_element() argument 86 poison_element(mempool_t * pool,void * element) poison_element() argument 107 check_element(mempool_t * pool,void * element) check_element() argument 110 poison_element(mempool_t * pool,void * element) poison_element() argument 115 kasan_poison_element(mempool_t * pool,void * element) kasan_poison_element() argument 125 kasan_unpoison_element(mempool_t * pool,void * element) kasan_unpoison_element() argument 137 add_element(mempool_t * pool,void * element) add_element() argument 145 remove_element(mempool_t * pool) remove_element() argument 166 mempool_exit(mempool_t * pool) mempool_exit() argument 185 mempool_destroy(mempool_t * pool) mempool_destroy() argument 195 mempool_init_node(mempool_t * 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 243 mempool_init(mempool_t * pool,int min_nr,mempool_alloc_t * alloc_fn,mempool_free_t * free_fn,void * pool_data) mempool_init() argument 280 mempool_t *pool; mempool_create_node() local 314 mempool_resize(mempool_t * pool,int new_min_nr) mempool_resize() argument 390 mempool_alloc(mempool_t * pool,gfp_t gfp_mask) mempool_alloc() argument 472 mempool_alloc_preallocated(mempool_t * pool) mempool_alloc_preallocated() argument 504 mempool_free(void * element,mempool_t * pool) mempool_free() argument [all...] |
H A D | dmapool.c | 74 struct dma_pool *pool; in pools_show() local 95 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, in pool_check_block() 120 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() 133 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in pool_block_err() 159 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page() 164 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, in pool_check_block() 169 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in pool_block_err() 176 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page() 181 static struct dma_block *pool_block_pop(struct dma_pool *pool) in pool_block_pop() 192 static void pool_block_push(struct dma_pool *pool, struct dma_block *block, in pool_block_push() [all …]
|
H A D | zbud.c | 202 struct zbud_pool *pool; zbud_create_pool() local 222 zbud_destroy_pool(struct zbud_pool * pool) zbud_destroy_pool() argument 246 zbud_alloc(struct zbud_pool * pool,size_t size,gfp_t gfp,unsigned long * handle) zbud_alloc() argument 311 zbud_free(struct zbud_pool * pool,unsigned long handle) zbud_free() argument 353 zbud_map(struct zbud_pool * pool,unsigned long handle) zbud_map() argument 363 zbud_unmap(struct zbud_pool * pool,unsigned long handle) zbud_unmap() argument 374 zbud_get_pool_size(struct zbud_pool * pool) zbud_get_pool_size() argument 388 zbud_zpool_destroy(void * pool) zbud_zpool_destroy() argument 393 zbud_zpool_malloc(void * pool,size_t size,gfp_t gfp,unsigned long * handle) zbud_zpool_malloc() argument 398 zbud_zpool_free(void * pool,unsigned long handle) zbud_zpool_free() argument 403 zbud_zpool_map(void * pool,unsigned long handle,enum zpool_mapmode mm) zbud_zpool_map() argument 408 zbud_zpool_unmap(void * pool,unsigned long handle) zbud_zpool_unmap() argument 413 zbud_zpool_total_size(void * pool) zbud_zpool_total_size() argument [all...] |
H A D | zsmalloc.c | 290 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage); in kick_deferred_free() argument 292 static void kick_deferred_free(struct zs_pool *pool) {} in SetZsPageMovable() argument 257 struct zs_pool *pool; global() member 291 init_deferred_free(struct zs_pool * pool) init_deferred_free() argument 295 create_cache(struct zs_pool * pool) create_cache() argument 323 destroy_cache(struct zs_pool * pool) destroy_cache() argument 329 cache_alloc_handle(struct zs_pool * pool,gfp_t gfp) cache_alloc_handle() argument 335 cache_free_handle(struct zs_pool * pool,unsigned long handle) cache_free_handle() argument 340 cache_alloc_zspage(struct zs_pool * pool,gfp_t flags) cache_alloc_zspage() argument 346 cache_free_zspage(struct zs_pool * pool,struct zspage * zspage) cache_free_zspage() argument 371 zs_zpool_destroy(void * pool) zs_zpool_destroy() argument 376 zs_zpool_malloc(void * pool,size_t size,gfp_t gfp,unsigned long * handle) zs_zpool_malloc() argument 385 zs_zpool_free(void * pool,unsigned long handle) zs_zpool_free() argument 390 zs_zpool_map(void * pool,unsigned long handle,enum zpool_mapmode mm) zs_zpool_map() argument 410 zs_zpool_unmap(void * pool,unsigned long handle) zs_zpool_unmap() argument 415 zs_zpool_total_pages(void * pool) zs_zpool_total_pages() argument 494 zspage_class(struct zs_pool * pool,struct zspage * zspage) zspage_class() argument 557 struct zs_pool *pool = s->private; zs_stats_size_show() local 619 zs_pool_stat_create(struct zs_pool * pool,const char * name) zs_pool_stat_create() argument 632 zs_pool_stat_destroy(struct zs_pool * pool) zs_pool_stat_destroy() argument 646 zs_pool_stat_create(struct zs_pool * pool,const char * name) zs_pool_stat_create() argument 650 zs_pool_stat_destroy(struct zs_pool * pool) zs_pool_stat_destroy() argument 840 __free_zspage(struct zs_pool * pool,struct size_class * class,struct zspage * zspage) __free_zspage() argument 867 free_zspage(struct zs_pool * pool,struct size_class * class,struct zspage * zspage) free_zspage() argument 968 alloc_zspage(struct zs_pool * pool,struct size_class * class,gfp_t gfp) alloc_zspage() argument 1152 zs_lookup_class_index(struct zs_pool * pool,unsigned int size) zs_lookup_class_index() argument 1162 zs_get_total_pages(struct zs_pool * pool) zs_get_total_pages() argument 1183 zs_map_object(struct zs_pool * pool,unsigned long handle,enum zs_mapmode mm) zs_map_object() argument 1245 zs_unmap_object(struct zs_pool * pool,unsigned long handle) zs_unmap_object() argument 1292 zs_huge_class_size(struct zs_pool * pool) zs_huge_class_size() argument 1298 obj_malloc(struct zs_pool * pool,struct zspage * zspage,unsigned long handle) obj_malloc() argument 1351 zs_malloc(struct zs_pool * pool,size_t size,gfp_t gfp) zs_malloc() argument 1436 zs_free(struct zs_pool * pool,unsigned long handle) zs_free() argument 1571 migrate_zspage(struct zs_pool * pool,struct zspage * src_zspage,struct zspage * dst_zspage) migrate_zspage() argument 1767 struct zs_pool *pool; zs_page_migrate() local 1865 struct zs_pool *pool = container_of(work, struct zs_pool, async_free_zspage() local 1891 kick_deferred_free(struct zs_pool * pool) kick_deferred_free() argument 1896 zs_flush_migration(struct zs_pool * pool) zs_flush_migration() argument 1901 init_deferred_free(struct zs_pool * pool) init_deferred_free() argument 1906 SetZsPageMovable(struct zs_pool * pool,struct zspage * zspage) SetZsPageMovable() argument 1917 zs_flush_migration(struct zs_pool * pool) zs_flush_migration() argument 1940 __zs_compact(struct zs_pool * pool,struct size_class * class) __zs_compact() argument 2002 zs_compact(struct zs_pool * pool) zs_compact() argument 2030 zs_pool_stats(struct zs_pool * pool,struct zs_pool_stats * stats) zs_pool_stats() argument 2040 struct zs_pool *pool = shrinker->private_data; zs_shrinker_scan() local 2058 struct zs_pool *pool = shrinker->private_data; zs_shrinker_count() local 2071 zs_unregister_shrinker(struct zs_pool * pool) zs_unregister_shrinker() argument 2076 zs_register_shrinker(struct zs_pool * pool) zs_register_shrinker() argument 2126 struct zs_pool *pool; zs_create_pool() local 2237 zs_destroy_pool(struct zs_pool * pool) zs_destroy_pool() argument [all...] |
H A D | z3fold.c | 86 unsigned long pool; /* back link */ member 114 struct z3fold_pool *pool; member 194 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots() 310 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle() local 320 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page() 441 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page() local 472 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list() local 494 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work() local 539 static inline void add_to_unbuddied(struct z3fold_pool *pool, in add_to_unbuddied() 597 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in compact_single_buddy() local [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | k3-cppi-desc-pool.c | 28 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 114 dma_addr_t k3_cppi_desc_pool_virt2dma(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_virt2dma() 121 void *k3_cppi_desc_pool_dma2virt(struct k3_cppi_desc_pool *pool, dma_addr_t dma) in k3_cppi_desc_pool_dma2virt() 127 void *k3_cppi_desc_pool_alloc(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_alloc() 133 void k3_cppi_desc_pool_free(struct k3_cppi_desc_pool *pool, void *addr) in k3_cppi_desc_pool_free() 139 size_t k3_cppi_desc_pool_avail(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_avail() 145 size_t k3_cppi_desc_pool_desc_size(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_desc_size() 151 void *k3_cppi_desc_pool_cpuaddr(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_cpuaddr() 157 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 D | genalloc.c | 155 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 D | objpool.c | 19 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/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | pool.c | 10 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() 79 struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_enable_locked() 165 struct xsk_buff_pool *pool = mlx5e_xsk_get_pool(&priv->channels.params, in mlx5e_xsk_disable_locked() local 197 static int mlx5e_xsk_enable_pool(struct mlx5e_priv *priv, struct xsk_buff_pool *pool, in mlx5e_xsk_enable_pool() 220 int mlx5e_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) in mlx5e_xsk_setup_pool()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_buffer_pool.c | 14 bucket_for_size(struct intel_gt_buffer_pool *pool, size_t sz) in bucket_for_size() 37 static bool pool_free_older_than(struct intel_gt_buffer_pool *pool, long keep) in pool_free_older_than() 89 struct intel_gt_buffer_pool *pool = in pool_free_work() local 102 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local 139 node_create(struct intel_gt_buffer_pool *pool, size_t sz, in node_create() 174 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_get_buffer_pool() local 222 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_init_buffer_pool() local 233 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_flush_buffer_pool() local 243 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_fini_buffer_pool() local
|
/linux/sound/core/seq/ |
H A D | seq_memory.c | 22 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() 435 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init() 474 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing() 483 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | page_alloc.c | 33 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() 130 static struct hyp_page *__hyp_extract_page(struct hyp_pool *pool, in __hyp_extract_page() 153 static void __hyp_put_page(struct hyp_pool *pool, struct hyp_page *p) in __hyp_put_page() 166 void hyp_put_page(struct hyp_pool *pool, void *addr) in hyp_put_page() 175 void hyp_get_page(struct hyp_pool *pool, void *addr) in hyp_get_page() 198 void *hyp_alloc_pages(struct hyp_pool *pool, unsigned short order) in hyp_alloc_pages() 223 int hyp_pool_init(struct hyp_pool *pool, u64 pfn, unsigned int nr_pages, in hyp_pool_init()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | irq_affinity.c | 8 static void cpu_put(struct mlx5_irq_pool *pool, int cpu) in cpu_put() 13 static void cpu_get(struct mlx5_irq_pool *pool, int cpu) in cpu_get() 19 static int cpu_get_least_loaded(struct mlx5_irq_pool *pool, in cpu_get_least_loaded() 48 irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in irq_pool_request_irq() 86 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_find_least_loaded() 126 mlx5_irq_affinity_request(struct mlx5_core_dev *dev, struct mlx5_irq_pool *pool, in mlx5_irq_affinity_request() 178 struct mlx5_irq_pool *pool = mlx5_irq_pool_get(dev); in mlx5_irq_affinity_irq_release() local
|
H A D | pci_irq.c | 34 struct mlx5_irq_pool *pool; member 156 struct mlx5_irq_pool *pool = irq->pool; in mlx5_system_free_irq() local 179 struct mlx5_irq_pool *pool = irq->pool; in irq_release() local 189 struct mlx5_irq_pool *pool = irq->pool; in mlx5_irq_put() local 233 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name() 238 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name() 255 struct mlx5_irq *mlx5_irq_alloc(struct mlx5_irq_pool *pool, int i, in mlx5_irq_alloc() 385 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() 416 struct mlx5_irq_pool *pool = NULL; in mlx5_irq_pool_get() local 430 struct mlx5_irq_pool *pool = NULL; in ctrl_irq_pool_get() local [all …]
|
/linux/net/ceph/ |
H A D | msgpool.c | 14 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/gpu/drm/panthor/ |
H A D | panthor_heap.c | 110 static int panthor_get_heap_ctx_offset(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx_offset() 115 static void *panthor_get_heap_ctx(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx() 221 panthor_heap_destroy_locked(struct panthor_heap_pool *pool, u32 handle) in panthor_heap_destroy_locked() 240 int panthor_heap_destroy(struct panthor_heap_pool *pool, u32 handle) in panthor_heap_destroy() 267 int panthor_heap_create(struct panthor_heap_pool *pool, in panthor_heap_create() 364 int panthor_heap_return_chunk(struct panthor_heap_pool *pool, in panthor_heap_return_chunk() 425 int panthor_heap_grow(struct panthor_heap_pool *pool, in panthor_heap_grow() 487 struct panthor_heap_pool *pool = in panthor_heap_pool_release() local 498 void panthor_heap_pool_put(struct panthor_heap_pool *pool) in panthor_heap_pool_put() 511 panthor_heap_pool_get(struct panthor_heap_pool *pool) in panthor_heap_pool_get() [all …]
|
/linux/drivers/staging/octeon/ |
H A D | ethernet-mem.c | 24 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/gpu/drm/ttm/ |
H A D | ttm_pool.c | 80 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page() 133 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() 186 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map() 213 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap() 259 static void ttm_pool_type_init(struct ttm_pool_type *pt, struct ttm_pool *pool, in ttm_pool_type_init() 287 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type() 346 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order() 358 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated() 392 static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_free_range() 428 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-fpa.h | 106 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 D | ipu3-css-pool.c | 25 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()
|