/openbmc/linux/include/linux/ |
H A D | dmapool.h | 41 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()
|
H A D | genalloc.h | 101 static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr, in gen_pool_add_virt() 119 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, in gen_pool_add() 128 static inline unsigned long gen_pool_alloc_owner(struct gen_pool *pool, in gen_pool_alloc_owner() 135 static inline unsigned long gen_pool_alloc_algo(struct gen_pool *pool, in gen_pool_alloc_algo() 151 static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() 169 static inline void gen_pool_free(struct gen_pool *pool, unsigned long addr, in gen_pool_free()
|
H A D | mempool.h | 28 static inline bool mempool_initialized(mempool_t *pool) in mempool_initialized() 33 static inline bool mempool_is_saturated(mempool_t *pool) in mempool_is_saturated() 65 mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) in mempool_init_slab_pool() 85 static inline int mempool_init_kmalloc_pool(mempool_t *pool, int min_nr, size_t size) in mempool_init_kmalloc_pool() 104 static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) in mempool_init_page_pool()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_icm_pool.c | 111 dr_icm_pool_mr_create(struct mlx5dr_icm_pool *pool) in dr_icm_pool_mr_create() 263 static int dr_icm_buddy_create(struct mlx5dr_icm_pool *pool) in dr_icm_buddy_create() 322 struct mlx5dr_icm_pool *pool, in dr_icm_chunk_init() 341 static bool dr_icm_pool_is_sync_required(struct mlx5dr_icm_pool *pool) in dr_icm_pool_is_sync_required() 346 static void dr_icm_pool_clear_hot_chunks_arr(struct mlx5dr_icm_pool *pool) in dr_icm_pool_clear_hot_chunks_arr() 365 static int dr_icm_pool_sync_all_buddy_pools(struct mlx5dr_icm_pool *pool) in dr_icm_pool_sync_all_buddy_pools() 386 static int dr_icm_handle_buddies_get_mem(struct mlx5dr_icm_pool *pool, in dr_icm_handle_buddies_get_mem() 435 mlx5dr_icm_alloc_chunk(struct mlx5dr_icm_pool *pool, in mlx5dr_icm_alloc_chunk() 470 struct mlx5dr_icm_pool *pool = buddy->pool; in mlx5dr_icm_free_chunk() local 495 struct mlx5dr_ste_htbl *mlx5dr_icm_pool_alloc_htbl(struct mlx5dr_icm_pool *pool) in mlx5dr_icm_pool_alloc_htbl() [all …]
|
H A D | dr_arg.c | 31 static int dr_arg_pool_alloc_objs(struct dr_arg_pool *pool) in dr_arg_pool_alloc_objs() 97 static struct mlx5dr_arg_obj *dr_arg_pool_get_arg_obj(struct dr_arg_pool *pool) in dr_arg_pool_get_arg_obj() 122 static void dr_arg_pool_put_arg_obj(struct dr_arg_pool *pool, in dr_arg_pool_put_arg_obj() 133 struct dr_arg_pool *pool; in dr_arg_pool_create() local 156 static void dr_arg_pool_destroy(struct dr_arg_pool *pool) in dr_arg_pool_destroy()
|
/openbmc/linux/drivers/tee/amdtee/ |
H A D | shm_pool.c | 11 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(sizeof(*pool), GFP_KERNEL); in amdtee_config_shm() local
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta_bm.h | 33 #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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | crypto.c | 19 #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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 33 struct mlx5_irq_pool *pool; member 155 struct mlx5_irq_pool *pool = irq->pool; in mlx5_system_free_irq() local 178 struct mlx5_irq_pool *pool = irq->pool; in irq_release() local 188 struct mlx5_irq_pool *pool = irq->pool; in mlx5_irq_put() local 232 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name() 237 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name() 254 struct mlx5_irq *mlx5_irq_alloc(struct mlx5_irq_pool *pool, int i, in mlx5_irq_alloc() 379 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() 410 struct mlx5_irq_pool *pool = NULL; in mlx5_irq_pool_get() local 424 struct mlx5_irq_pool *pool = NULL; in ctrl_irq_pool_get() local [all …]
|
/openbmc/linux/drivers/tee/ |
H A D | tee_shm_pool.c | 12 static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_gen_alloc() 37 static void pool_op_gen_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_gen_free() 44 static void pool_op_gen_destroy_pool(struct tee_shm_pool *pool) in pool_op_gen_destroy_pool() 61 struct tee_shm_pool *pool; in tee_shm_pool_alloc_res_mem() local
|
/openbmc/linux/mm/ |
H A D | zswap.c | 206 struct zswap_pool *pool; member 276 struct zswap_pool *pool; in zswap_update_total_size() local 491 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_prepare() local 530 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_dead() local 549 struct zswap_pool *pool; in __zswap_pool_current() local 567 struct zswap_pool *pool; in zswap_pool_current_get() local 582 struct zswap_pool *pool, *last = NULL; in zswap_pool_last_get() local 601 struct zswap_pool *pool; in zswap_pool_find_get() local 632 static int zswap_reclaim_entry(struct zswap_pool *pool) in zswap_reclaim_entry() 694 struct zswap_pool *pool = container_of(w, typeof(*pool), in shrink_worker() local [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | pool.c | 79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() 145 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize() 165 struct gen_pool *pool; in __dma_atomic_pool_init() local 241 struct gen_pool *pool, void **cpu_addr, in __dma_alloc_from_pool() 269 struct gen_pool *pool = NULL; in dma_alloc_from_pool() local 285 struct gen_pool *pool = NULL; in dma_free_from_pool() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_cnt.c | 54 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_sub_pools_init() local 99 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_sub_pools_fini() local 115 const struct mlxsw_sp_counter_pool *pool = priv; in mlxsw_sp_counter_pool_occ_get() local 124 struct mlxsw_sp_counter_pool *pool; in mlxsw_sp_counter_pool_init() local 169 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_pool_fini() local 186 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_alloc() local 227 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_free() local
|
/openbmc/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 79 struct ttm_pool *pool; in ttm_pool_pre_populated() local 141 struct ttm_pool *pool; in ttm_pool_alloc_basic() local 202 struct ttm_pool *pool; in ttm_pool_alloc_basic_dma_addr() local 242 struct ttm_pool *pool; in ttm_pool_alloc_order_caching_match() local 270 struct ttm_pool *pool; in ttm_pool_alloc_caching_mismatch() local 304 struct ttm_pool *pool; in ttm_pool_alloc_order_mismatch() local 340 struct ttm_pool *pool; in ttm_pool_free_dma_alloc() local 371 struct ttm_pool *pool; in ttm_pool_free_no_dma_alloc() local 399 struct ttm_pool *pool; in ttm_pool_fini_basic() local
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.c | 113 struct resource_pool *pool = dc->res_pool; in dcn10_get_hubp_states() local 191 struct resource_pool *pool = dc->res_pool; in dcn10_get_rq_states() local 233 struct resource_pool *pool = dc->res_pool; in dcn10_get_dlg_states() local 290 struct resource_pool *pool = dc->res_pool; in dcn10_get_ttu_states() local 330 struct resource_pool *pool = dc->res_pool; in dcn10_get_cm_states() local 385 struct resource_pool *pool = dc->res_pool; in dcn10_get_mpcc_states() local 416 struct resource_pool *pool = dc->res_pool; in dcn10_get_otg_states() local 491 struct resource_pool *pool = dc->res_pool; in dcn10_clear_otpc_underflow() local 507 struct resource_pool *pool = dc->res_pool; in dcn10_clear_hubp_underflow() local
|
/openbmc/linux/kernel/ |
H A D | workqueue.c | 228 struct worker_pool *pool; /* I: the associated pool */ member 457 #define for_each_cpu_worker_pool(pool, cpu) \ argument 474 #define for_each_pool(pool, pi) \ argument 489 #define for_each_pool_worker(worker, pool) \ argument 614 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id() 827 static bool need_more_worker(struct worker_pool *pool) in need_more_worker() 833 static bool may_start_working(struct worker_pool *pool) in may_start_working() 839 static bool keep_working(struct worker_pool *pool) in keep_working() 845 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker() 851 static bool too_many_workers(struct worker_pool *pool) in too_many_workers() [all …]
|
/openbmc/linux/net/rds/ |
H A D | ib_rdma.c | 198 struct rds_ib_mr *rds_ib_reuse_mr(struct rds_ib_mr_pool *pool) in rds_ib_reuse_mr() 275 struct rds_ib_mr_pool *pool = ibmr->pool; in rds_ib_teardown_mr() local 281 static inline unsigned int rds_ib_flush_goal(struct rds_ib_mr_pool *pool, int free_all) in rds_ib_flush_goal() 342 int rds_ib_flush_mr_pool(struct rds_ib_mr_pool *pool, in rds_ib_flush_mr_pool() 440 struct rds_ib_mr *rds_ib_try_reuse_ibmr(struct rds_ib_mr_pool *pool) in rds_ib_try_reuse_ibmr() 479 struct rds_ib_mr_pool *pool = container_of(work, struct rds_ib_mr_pool, flush_worker.work); in rds_ib_mr_pool_flush_worker() local 487 struct rds_ib_mr_pool *pool = ibmr->pool; in rds_ib_free_mr() local 634 void rds_ib_destroy_mr_pool(struct rds_ib_mr_pool *pool) in rds_ib_destroy_mr_pool() 646 struct rds_ib_mr_pool *pool; in rds_ib_create_mr_pool() local
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.c | 92 void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool, in rxe_pool_init() 114 void rxe_pool_cleanup(struct rxe_pool *pool) in rxe_pool_cleanup() 119 int __rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_elem *elem, in __rxe_add_to_pool() 153 void *rxe_pool_get_index(struct rxe_pool *pool, u32 index) in rxe_pool_get_index() 179 struct rxe_pool *pool = elem->pool; in __rxe_cleanup() local
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_xsk.c | 60 struct xsk_buff_pool *pool = r_vec->xsk_pool; in nfp_net_xsk_rx_ring_fill_freelist() local 100 struct xsk_buff_pool *pool) in nfp_net_xsk_pool_unmap() 105 static int nfp_net_xsk_pool_map(struct device *dev, struct xsk_buff_pool *pool) in nfp_net_xsk_pool_map() 111 struct xsk_buff_pool *pool, u16 queue_id) in nfp_net_xsk_setup_pool()
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_xdp.c | 22 struct xsk_buff_pool *pool, u16 queue_id) in tsnep_xdp_enable_pool() 60 struct xsk_buff_pool *pool; in tsnep_xdp_disable_pool() local 81 struct xsk_buff_pool *pool, u16 queue_id) in tsnep_xdp_setup_pool()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_pool.c | 23 int sparx5_pool_put(struct sparx5_pool_entry *pool, int size, u32 id) in sparx5_pool_put() 37 int sparx5_pool_get(struct sparx5_pool_entry *pool, int size, u32 *id) in sparx5_pool_get() 55 int sparx5_pool_get_with_idx(struct sparx5_pool_entry *pool, int size, u32 idx, in sparx5_pool_get_with_idx()
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 55 struct ubi_fm_pool *pool) in return_unused_pool_pebs() 134 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_refill_pools() local 233 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_wl_get_peb() local 290 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in next_peb_for_wl() local 351 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl() local
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_xdp.c | 10 struct xsk_buff_pool *pool, u16 queue) in stmmac_xdp_enable_pool() 61 struct xsk_buff_pool *pool; in stmmac_xdp_disable_pool() local 95 int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool, in stmmac_xdp_setup_pool()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 359 struct resource_pool *pool, in resource_construct() 457 const struct resource_pool *pool, in find_matching_clock_source() 472 const struct resource_pool *pool, in resource_unreference_clock_source() 486 const struct resource_pool *pool, in resource_reference_clock_source() 500 const struct resource_pool *pool, in resource_get_clock_source_reference() 1560 const struct resource_pool *pool, in resource_find_free_secondary_pipe_legacy() 1646 const struct resource_pool *pool) in recource_find_free_pipe_not_used_in_cur_res_ctx() 1669 const struct resource_pool *pool) in resource_find_free_pipe_used_as_cur_sec_dpp_in_mpcc_combine() 1692 const struct resource_pool *pool) in resource_find_any_free_pipe() 1798 const struct resource_pool *pool, in acquire_first_split_pipe() [all …]
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_writeq.c | 28 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_new() local 141 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_get_free_size() local 154 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_set_output() local
|