| /drivers/md/ |
| A D | dm-thin.c | 232 struct pool { struct 234 struct dm_target *ti; /* Only set if a pool target is bound */ argument 239 struct dm_pool_metadata *pmd; argument 245 struct pool_features pf; argument 247 bool suspended:1; 262 spinlock_t lock; 287 mempool_t mapping_pool; argument 290 static void metadata_operation_failed(struct pool *pool, const char *op, int r); argument 327 struct pool *pool; member 346 struct pool *pool; member [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | pool.c | 23 static void hws_pool_resource_free(struct mlx5hws_pool *pool) in hws_pool_resource_free() 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() 178 static int hws_pool_buddy_db_init(struct mlx5hws_pool *pool) in hws_pool_buddy_db_init() 206 static int hws_pool_bitmap_init(struct mlx5hws_pool *pool) in hws_pool_bitmap_init() 296 static int hws_pool_db_init(struct mlx5hws_pool *pool, in hws_pool_db_init() 315 static void hws_pool_db_unint(struct mlx5hws_pool *pool) in hws_pool_db_unint() 320 int mlx5hws_pool_chunk_alloc(struct mlx5hws_pool *pool, in mlx5hws_pool_chunk_alloc() 334 void mlx5hws_pool_chunk_free(struct mlx5hws_pool *pool, in mlx5hws_pool_chunk_free() 347 struct mlx5hws_pool *pool; in mlx5hws_pool_create() local [all …]
|
| /drivers/net/ethernet/ti/ |
| 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 …]
|
| /drivers/gpu/drm/panthor/ |
| A D | panthor_heap.c | 124 static void panthor_free_heap_chunk(struct panthor_heap_pool *pool, in panthor_free_heap_chunk() 139 static int panthor_alloc_heap_chunk(struct panthor_heap_pool *pool, in panthor_alloc_heap_chunk() 273 int panthor_heap_create(struct panthor_heap_pool *pool, in panthor_heap_create() 369 int panthor_heap_return_chunk(struct panthor_heap_pool *pool, in panthor_heap_return_chunk() 431 int panthor_heap_grow(struct panthor_heap_pool *pool, in panthor_heap_grow() 493 struct panthor_heap_pool *pool = in panthor_heap_pool_release() local 504 void panthor_heap_pool_put(struct panthor_heap_pool *pool) in panthor_heap_pool_put() 517 panthor_heap_pool_get(struct panthor_heap_pool *pool) in panthor_heap_pool_get() 540 struct panthor_heap_pool *pool; in panthor_heap_pool_create() local 594 void panthor_heap_pool_destroy(struct panthor_heap_pool *pool) in panthor_heap_pool_destroy() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| 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()
|
| /drivers/gpu/drm/i915/gt/ |
| 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
|
| /drivers/gpu/drm/ttm/ |
| A D | ttm_pool.c | 106 struct ttm_pool *pool; member 241 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map() 264 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap() 338 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type() 700 static int __ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in __ttm_pool_alloc() 809 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc() 883 void ttm_pool_free(struct ttm_pool *pool, struct ttm_tt *tt) in ttm_pool_free() 964 long ttm_pool_backup(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_backup() 1066 void ttm_pool_init(struct ttm_pool *pool, struct device *dev, in ttm_pool_init() 1113 void ttm_pool_fini(struct ttm_pool *pool) in ttm_pool_fini() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| 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 390 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() 423 struct mlx5_irq_pool *pool = NULL; in mlx5_irq_table_get_comp_irq_pool() local 437 struct mlx5_irq_pool *pool = NULL; in ctrl_irq_pool_get() local 472 struct mlx5_irq_pool *pool = ctrl_irq_pool_get(dev); in mlx5_ctrl_irq_request() local 517 struct mlx5_irq_pool *pool; in mlx5_irq_request() local 556 struct mlx5_irq_pool *pool = table->pcif_pool; in mlx5_irq_request_vector() local [all …]
|
| 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() 97 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_find_least_loaded() 137 mlx5_irq_affinity_request(struct mlx5_core_dev *dev, struct mlx5_irq_pool *pool, in mlx5_irq_affinity_request() 189 struct mlx5_irq_pool *pool = mlx5_irq_get_pool(irq); in mlx5_irq_affinity_irq_release() local
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| 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 509 struct mlx5dr_icm_pool *pool; in mlx5dr_icm_pool_create() local [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| 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() 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() 591 struct mlx5_crypto_dek_pool *pool = in mlx5_crypto_dek_sync_work_fn() local 672 struct mlx5_crypto_dek_pool *pool = in mlx5_crypto_dek_destroy_work_fn() local 684 struct mlx5_crypto_dek_pool *pool; in mlx5_crypto_dek_pool_create() local [all …]
|
| /drivers/net/ethernet/marvell/ |
| 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 …]
|
| /drivers/staging/octeon/ |
| 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()
|
| /drivers/gpu/drm/amd/display/dc/core/ |
| A D | dc_resource.c | 398 struct resource_pool *pool, in resource_construct() 496 const struct resource_pool *pool, in find_matching_clock_source() 511 const struct resource_pool *pool, in resource_unreference_clock_source() 525 const struct resource_pool *pool, in resource_reference_clock_source() 539 const struct resource_pool *pool, in resource_get_clock_source_reference() 1711 const struct resource_pool *pool, in resource_find_free_secondary_pipe_legacy() 1818 const struct resource_pool *pool) in recource_find_free_pipe_not_used_in_cur_res_ctx() 1841 const struct resource_pool *pool) in recource_find_free_pipe_used_as_otg_master_in_cur_res_ctx() 1864 const struct resource_pool *pool) in resource_find_free_pipe_used_as_cur_sec_dpp() 2970 struct resource_pool *pool) in acquire_secondary_dpp_pipes_and_add_plane() [all …]
|
| /drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
| A D | rmgr_vbuf.c | 119 int ia_css_rmgr_init_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_init_vbuf() 152 void ia_css_rmgr_uninit_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_uninit_vbuf() 188 void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_push_handle() 216 void rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_pop_handle() 245 void ia_css_rmgr_acq_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_acq_vbuf() 301 void ia_css_rmgr_rel_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_rel_vbuf()
|
| /drivers/staging/media/ipu3/ |
| 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()
|
| /drivers/gpu/drm/ttm/tests/ |
| A D | ttm_pool_test.c | 79 struct ttm_pool *pool; in ttm_pool_pre_populated() local 140 struct ttm_pool *pool; in ttm_pool_alloc_basic() local 201 struct ttm_pool *pool; in ttm_pool_alloc_basic_dma_addr() local 241 struct ttm_pool *pool; in ttm_pool_alloc_order_caching_match() local 269 struct ttm_pool *pool; in ttm_pool_alloc_caching_mismatch() local 303 struct ttm_pool *pool; in ttm_pool_alloc_order_mismatch() local 339 struct ttm_pool *pool; in ttm_pool_free_dma_alloc() local 370 struct ttm_pool *pool; in ttm_pool_free_no_dma_alloc() local 398 struct ttm_pool *pool; in ttm_pool_fini_basic() local
|
| /drivers/gpu/drm/amd/display/dc/dcn10/ |
| 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 493 struct resource_pool *pool = dc->res_pool; in dcn10_clear_otpc_underflow() local 510 struct resource_pool *pool = dc->res_pool; in dcn10_clear_hubp_underflow() local
|
| /drivers/mtd/ubi/ |
| A D | fastmap-wl.c | 55 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
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| 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
|
| /drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_xsk.c | 17 int otx2_xsk_pool_alloc_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_xsk_pool_alloc_buf() 95 struct otx2_pool *pool; in otx2_clean_up_rq() local 119 int otx2_xsk_pool_enable(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qidx) in otx2_xsk_pool_enable() 143 struct xsk_buff_pool *pool; in otx2_xsk_pool_disable() local 161 int otx2_xsk_pool_setup(struct otx2_nic *pf, struct xsk_buff_pool *pool, u16 qidx) in otx2_xsk_pool_setup() 228 void otx2_zc_napi_handler(struct otx2_nic *pfvf, struct xsk_buff_pool *pool, in otx2_zc_napi_handler()
|
| /drivers/md/dm-vdo/ |
| A D | data-vio.c | 129 struct data_vio_pool *pool; member 230 static bool check_for_drain_complete_locked(struct data_vio_pool *pool) in check_for_drain_complete_locked() 659 static void schedule_releases(struct data_vio_pool *pool) in schedule_releases() 671 static void reuse_or_release_resources(struct data_vio_pool *pool, in reuse_or_release_resources() 700 struct data_vio_pool *pool = as_data_vio_pool(completion); in process_release_callback() local 846 struct data_vio_pool *pool; in make_data_vio_pool() local 897 void free_data_vio_pool(struct data_vio_pool *pool) in free_data_vio_pool() 961 void vdo_launch_bio(struct data_vio_pool *pool, struct bio *bio) in vdo_launch_bio() 1040 void dump_data_vio_pool(struct data_vio_pool *pool, bool dump_vios) in dump_data_vio_pool() 1083 data_vio_count_t get_data_vio_pool_request_limit(struct data_vio_pool *pool) in get_data_vio_pool_request_limit() [all …]
|
| /drivers/tee/amdtee/ |
| 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
|
| /drivers/tee/ |
| 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
|
| /drivers/infiniband/sw/rxe/ |
| 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
|