Home
last modified time | relevance | path

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

123456789

/drivers/md/
Ddm-thin.c229 struct pool { struct
231 struct dm_target *ti; /* Only set if a pool target is bound */ argument
233 struct mapped_device *pool_md; argument
236 struct dm_pool_metadata *pmd; argument
242 struct pool_features pf; argument
243 bool low_water_triggered:1; /* A dm event has been sent */
244 bool suspended:1;
245 bool out_of_data_space:1;
247 struct dm_bio_prison *prison;
248 struct dm_kcopyd_client *copier;
[all …]
/drivers/dma-buf/heaps/
Dpage_pool.c52 struct page *dmabuf_page_pool_alloc_pages(struct dmabuf_page_pool *pool) in dmabuf_page_pool_alloc_pages()
59 static inline void dmabuf_page_pool_free_pages(struct dmabuf_page_pool *pool, in dmabuf_page_pool_free_pages()
65 static void dmabuf_page_pool_add(struct dmabuf_page_pool *pool, struct page *page) in dmabuf_page_pool_add()
82 static struct page *dmabuf_page_pool_remove(struct dmabuf_page_pool *pool, int index) in dmabuf_page_pool_remove()
101 static struct page *dmabuf_page_pool_fetch(struct dmabuf_page_pool *pool) in dmabuf_page_pool_fetch()
112 struct page *dmabuf_page_pool_alloc(struct dmabuf_page_pool *pool) in dmabuf_page_pool_alloc()
127 void dmabuf_page_pool_free(struct dmabuf_page_pool *pool, struct page *page) in dmabuf_page_pool_free()
136 static int dmabuf_page_pool_total(struct dmabuf_page_pool *pool, bool high) in dmabuf_page_pool_total()
148 struct dmabuf_page_pool *pool = kmalloc(sizeof(*pool), GFP_KERNEL); in dmabuf_page_pool_create() local
170 void dmabuf_page_pool_destroy(struct dmabuf_page_pool *pool) in dmabuf_page_pool_destroy()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dpool.c10 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/
Dintel_gt_buffer_pool.c14 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
101 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local
137 node_create(struct intel_gt_buffer_pool *pool, size_t sz, in node_create()
172 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_get_buffer_pool() local
220 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_init_buffer_pool() local
231 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_flush_buffer_pool() local
241 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_fini_buffer_pool() local
/drivers/net/ethernet/mellanox/mlx5/core/
Dirq_affinity.c8 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, const struct cpumask *req_mask) in irq_pool_request_irq()
84 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_find_least_loaded()
123 mlx5_irq_affinity_request(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in mlx5_irq_affinity_request()
164 struct mlx5_irq_pool *pool = mlx5_irq_pool_get(dev); in mlx5_irq_affinity_irqs_release() local
196 struct mlx5_irq_pool *pool = mlx5_irq_pool_get(dev); in mlx5_irq_affinity_irqs_request_auto() local
Dpci_irq.c29 struct mlx5_irq_pool *pool; member
147 struct mlx5_irq_pool *pool = irq->pool; in irq_release() local
157 struct mlx5_irq_pool *pool = irq->pool; in mlx5_irq_put() local
201 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name()
206 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name()
222 struct mlx5_irq *mlx5_irq_alloc(struct mlx5_irq_pool *pool, int i, in mlx5_irq_alloc()
315 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector()
345 struct mlx5_irq_pool *pool = NULL; in mlx5_irq_pool_get() local
359 struct mlx5_irq_pool *pool = NULL; in ctrl_irq_pool_get() local
402 struct mlx5_irq_pool *pool = ctrl_irq_pool_get(dev); in mlx5_ctrl_irq_request() local
[all …]
/drivers/gpu/drm/ttm/
Dttm_pool.c78 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page()
131 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page()
184 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map()
211 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap()
257 static void ttm_pool_type_init(struct ttm_pool_type *pt, struct ttm_pool *pool, in ttm_pool_type_init()
285 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type()
336 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order()
348 static int ttm_pool_page_allocated(struct ttm_pool *pool, unsigned int order, in ttm_pool_page_allocated()
382 static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_free_range()
418 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc()
[all …]
/drivers/net/ethernet/ti/
Dk3-cppi-desc-pool.c27 void k3_cppi_desc_pool_destroy(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_destroy()
48 struct k3_cppi_desc_pool *pool; in k3_cppi_desc_pool_create_name() local
102 dma_addr_t k3_cppi_desc_pool_virt2dma(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_virt2dma()
108 void *k3_cppi_desc_pool_dma2virt(struct k3_cppi_desc_pool *pool, dma_addr_t dma) in k3_cppi_desc_pool_dma2virt()
113 void *k3_cppi_desc_pool_alloc(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_alloc()
118 void k3_cppi_desc_pool_free(struct k3_cppi_desc_pool *pool, void *addr) in k3_cppi_desc_pool_free()
123 size_t k3_cppi_desc_pool_avail(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_avail()
/drivers/staging/octeon/
Dethernet-mem.c24 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/net/ethernet/marvell/
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 …]
/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
Drmgr_vbuf.c128 int ia_css_rmgr_init_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_init_vbuf()
161 void ia_css_rmgr_uninit_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_uninit_vbuf()
197 void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_push_handle()
225 void rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_pop_handle()
254 void ia_css_rmgr_acq_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_acq_vbuf()
310 void ia_css_rmgr_rel_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_rel_vbuf()
/drivers/staging/media/ipu3/
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()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c91 dr_icm_pool_mr_create(struct mlx5dr_icm_pool *pool) in dr_icm_pool_mr_create()
258 static int dr_icm_buddy_create(struct mlx5dr_icm_pool *pool) in dr_icm_buddy_create()
318 dr_icm_chunk_create(struct mlx5dr_icm_pool *pool, in dr_icm_chunk_create()
348 static bool dr_icm_pool_is_sync_required(struct mlx5dr_icm_pool *pool) in dr_icm_pool_is_sync_required()
360 static int dr_icm_pool_sync_all_buddy_pools(struct mlx5dr_icm_pool *pool) in dr_icm_pool_sync_all_buddy_pools()
389 static int dr_icm_handle_buddies_get_mem(struct mlx5dr_icm_pool *pool, in dr_icm_handle_buddies_get_mem()
438 mlx5dr_icm_alloc_chunk(struct mlx5dr_icm_pool *pool, in mlx5dr_icm_alloc_chunk()
471 struct mlx5dr_icm_pool *pool = buddy->pool; in mlx5dr_icm_free_chunk() local
489 struct mlx5dr_icm_pool *pool; in mlx5dr_icm_pool_create() local
511 void mlx5dr_icm_pool_destroy(struct mlx5dr_icm_pool *pool) in mlx5dr_icm_pool_destroy()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer_debug.c112 struct resource_pool *pool = dc->res_pool; in dcn10_get_hubp_states() local
190 struct resource_pool *pool = dc->res_pool; in dcn10_get_rq_states() local
232 struct resource_pool *pool = dc->res_pool; in dcn10_get_dlg_states() local
289 struct resource_pool *pool = dc->res_pool; in dcn10_get_ttu_states() local
329 struct resource_pool *pool = dc->res_pool; in dcn10_get_cm_states() local
384 struct resource_pool *pool = dc->res_pool; in dcn10_get_mpcc_states() local
415 struct resource_pool *pool = dc->res_pool; in dcn10_get_otg_states() local
490 struct resource_pool *pool = dc->res_pool; in dcn10_clear_otpc_underflow() local
506 struct resource_pool *pool = dc->res_pool; in dcn10_clear_hubp_underflow() local
/drivers/infiniband/sw/rxe/
Drxe_pool.c92 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 void *rxe_alloc(struct rxe_pool *pool) in rxe_alloc()
159 int __rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_elem *elem, in __rxe_add_to_pool()
196 void *rxe_pool_get_index(struct rxe_pool *pool, u32 index) in rxe_pool_get_index()
222 struct rxe_pool *pool = elem->pool; in __rxe_cleanup() local
/drivers/tee/amdtee/
Dshm_pool.c11 static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, in pool_op_alloc()
41 static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) in pool_op_free()
49 static void pool_op_destroy_pool(struct tee_shm_pool *pool) in pool_op_destroy_pool()
62 struct tee_shm_pool *pool = kzalloc(sizeof(*pool), GFP_KERNEL); in amdtee_config_shm() local
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c54 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/tee/
Dtee_shm_pool.c12 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/gpu/drm/amd/display/dc/core/
Ddc_resource.c345 struct resource_pool *pool, in resource_construct()
443 const struct resource_pool *pool, in find_matching_clock_source()
458 const struct resource_pool *pool, in resource_unreference_clock_source()
472 const struct resource_pool *pool, in resource_reference_clock_source()
486 const struct resource_pool *pool, in resource_get_clock_source_reference()
1292 const struct resource_pool *pool, in find_idle_secondary_pipe()
1387 const struct resource_pool *pool, in acquire_free_pipe_for_head()
1421 const struct resource_pool *pool, in acquire_first_split_pipe()
1481 struct resource_pool *pool = dc->res_pool; in dc_add_plane_to_context() local
1728 struct resource_pool *pool = dc->res_pool; in dc_remove_plane_from_context() local
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_xsk.c60 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()
/drivers/mtd/ubi/
Dfastmap-wl.c55 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
288 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in next_peb_for_wl() local
338 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl() local
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c24 struct xsk_buff_pool *pool, in ixgbe_xsk_pool_enable()
67 struct xsk_buff_pool *pool; in ixgbe_xsk_pool_disable() local
90 struct xsk_buff_pool *pool, in ixgbe_xsk_pool_setup()
398 struct xsk_buff_pool *pool = xdp_ring->xsk_pool; in ixgbe_xmit_zc() local
466 struct xsk_buff_pool *pool = tx_ring->xsk_pool; in ixgbe_clean_xdp_tx_irq() local
553 struct xsk_buff_pool *pool = tx_ring->xsk_pool; in ixgbe_xsk_clean_tx_ring() local
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c10 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()
/drivers/soc/ti/
Dknav_qmss_queue.c686 static void kdesc_fill_pool(struct knav_pool *pool) in kdesc_fill_pool()
706 static void kdesc_empty_pool(struct knav_pool *pool) in kdesc_empty_pool()
735 struct knav_pool *pool = ph; in knav_pool_desc_virt_to_dma() local
742 struct knav_pool *pool = ph; in knav_pool_desc_dma_to_virt() local
761 struct knav_pool *pool, *pi = NULL, *iter; in knav_pool_create() local
861 struct knav_pool *pool = ph; in knav_pool_destroy() local
891 struct knav_pool *pool = ph; in knav_pool_desc_get() local
911 struct knav_pool *pool = ph; in knav_pool_desc_put() local
931 struct knav_pool *pool = ph; in knav_pool_desc_map() local
956 struct knav_pool *pool = ph; in knav_pool_desc_unmap() local
[all …]
/drivers/net/ethernet/intel/igc/
Digc_xdp.c39 struct xsk_buff_pool *pool, u16 queue_id) in igc_xdp_enable_pool()
103 struct xsk_buff_pool *pool; in igc_xdp_disable_pool() local
141 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool, in igc_xdp_setup_pool()

123456789