Home
last modified time | relevance | path

Searched defs:pool (Results 26 – 50 of 343) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/include/net/
H A Dpage_pool.h136 static inline struct page *page_pool_dev_alloc_pages(struct page_pool *pool) in page_pool_dev_alloc_pages()
147 inline enum dma_data_direction page_pool_get_dma_dir(struct page_pool *pool) in page_pool_get_dma_dir()
159 static inline void page_pool_destroy(struct page_pool *pool) in page_pool_destroy()
163 static inline void page_pool_use_xdp_mem(struct page_pool *pool, in page_pool_use_xdp_mem()
167 static inline void page_pool_release_page(struct page_pool *pool, in page_pool_release_page()
177 static inline void page_pool_put_full_page(struct page_pool *pool, in page_pool_put_full_page()
189 static inline void page_pool_recycle_direct(struct page_pool *pool, in page_pool_recycle_direct()
219 static inline bool page_pool_put(struct page_pool *pool) in page_pool_put()
226 static inline void page_pool_nid_changed(struct page_pool *pool, int new_nid) in page_pool_nid_changed()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c141 int ia_css_rmgr_init_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_init_vbuf()
174 void ia_css_rmgr_uninit_vbuf(struct ia_css_rmgr_vbuf_pool *pool) in ia_css_rmgr_uninit_vbuf()
212 void rmgr_push_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_push_handle()
240 void rmgr_pop_handle(struct ia_css_rmgr_vbuf_pool *pool, in rmgr_pop_handle()
268 void ia_css_rmgr_acq_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_acq_vbuf()
316 void ia_css_rmgr_rel_vbuf(struct ia_css_rmgr_vbuf_pool *pool, in ia_css_rmgr_rel_vbuf()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsbufferpool.c53 gst_kms_buffer_pool_get_options (GstBufferPool * pool) in gst_kms_buffer_pool_get_options()
64 gst_kms_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) in gst_kms_buffer_pool_set_config()
133 gst_kms_buffer_pool_alloc_buffer (GstBufferPool * pool, GstBuffer ** buffer, in gst_kms_buffer_pool_alloc_buffer()
184 GstKMSBufferPool *pool; in gst_kms_buffer_pool_finalize() local
197 gst_kms_buffer_pool_init (GstKMSBufferPool * pool) in gst_kms_buffer_pool_init()
221 GstBufferPool *pool; in gst_kms_buffer_pool_new() local
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Ddmapool.h41 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 Dgenalloc.h101 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 Dmempool.h28 static inline bool mempool_initialized(mempool_t *pool) in mempool_initialized()
60 mempool_init_slab_pool(mempool_t *pool, int min_nr, struct kmem_cache *kc) in mempool_init_slab_pool()
80 static inline int mempool_init_kmalloc_pool(mempool_t *pool, int min_nr, size_t size) in mempool_init_kmalloc_pool()
99 static inline int mempool_init_page_pool(mempool_t *pool, int min_nr, int order) in mempool_init_page_pool()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_dynamic_pool.c36 static unsigned int get_pages_from_dynamic_pool(void *pool, in get_pages_from_dynamic_pool()
73 static void free_pages_to_dynamic_pool(void *pool, in free_pages_to_dynamic_pool()
140 static int hmm_dynamic_pool_init(void **pool, unsigned int pool_size) in hmm_dynamic_pool_init()
171 static void hmm_dynamic_pool_exit(void **pool) in hmm_dynamic_pool_exit()
218 static int hmm_dynamic_pool_inited(void *pool) in hmm_dynamic_pool_inited()
H A Dhmm_reserved_pool.c35 static unsigned int get_pages_from_reserved_pool(void *pool, in get_pages_from_reserved_pool()
65 static void free_pages_to_reserved_pool(void *pool, in free_pages_to_reserved_pool()
112 static int hmm_reserved_pool_init(void **pool, unsigned int pool_size) in hmm_reserved_pool_init()
194 static void hmm_reserved_pool_exit(void **pool) in hmm_reserved_pool_exit()
237 static int hmm_reserved_pool_inited(void *pool) in hmm_reserved_pool_inited()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_icm_pool.c12 struct mlx5dr_icm_pool *pool; member
61 struct mlx5dr_icm_pool *pool; member
98 dr_icm_pool_mr_create(struct mlx5dr_icm_pool *pool) in dr_icm_pool_mr_create()
210 struct mlx5dr_icm_pool *pool = bucket->pool; in dr_icm_chunks_create() local
293 static void dr_icm_bucket_init(struct mlx5dr_icm_pool *pool, in dr_icm_bucket_init()
329 static u64 dr_icm_hot_mem_size(struct mlx5dr_icm_pool *pool) in dr_icm_hot_mem_size()
341 static bool dr_icm_reuse_hot_entries(struct mlx5dr_icm_pool *pool, in dr_icm_reuse_hot_entries()
374 static void dr_icm_chill_buckets_start(struct mlx5dr_icm_pool *pool, in dr_icm_chill_buckets_start()
398 static void dr_icm_chill_buckets_end(struct mlx5dr_icm_pool *pool, in dr_icm_chill_buckets_end()
420 static void dr_icm_chill_buckets_abort(struct mlx5dr_icm_pool *pool, in dr_icm_chill_buckets_abort()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_page_alloc_dma.c150 struct dma_pool *pool; member
265 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
285 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
298 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
343 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
352 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
369 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
403 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free()
500 struct dma_pool *pool; in ttm_dma_free_pool() local
542 struct dma_pool *pool = *(struct dma_pool **)res; in ttm_dma_pool_release() local
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dzswap.c166 struct zswap_pool *pool; member
236 struct zswap_pool *pool; in zswap_update_total_size() local
417 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_prepare() local
435 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_dead() local
451 struct zswap_pool *pool; in __zswap_pool_current() local
469 struct zswap_pool *pool; in zswap_pool_current_get() local
484 struct zswap_pool *pool, *last = NULL; in zswap_pool_last_get() local
503 struct zswap_pool *pool; in zswap_pool_find_get() local
523 struct zswap_pool *pool = container_of(w, typeof(*pool), in shrink_worker() local
533 struct zswap_pool *pool; in zswap_pool_create() local
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dworkqueue.c206 struct worker_pool *pool; /* I: the associated pool */ member
384 #define for_each_cpu_worker_pool(pool, cpu) \ argument
401 #define for_each_pool(pool, pi) \ argument
416 #define for_each_pool_worker(worker, pool) \ argument
541 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
772 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
785 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
791 static bool may_start_working(struct worker_pool *pool) in may_start_working()
797 static bool keep_working(struct worker_pool *pool) in keep_working()
804 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A 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
172 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_pool_fini() local
189 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_alloc() local
230 struct mlxsw_sp_counter_pool *pool = mlxsw_sp->counter_pool; in mlxsw_sp_counter_free() local
/OK3568_Linux_fs/kernel/kernel/dma/
H A Dpool.c82 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand()
148 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize()
168 struct gen_pool *pool; in __dma_atomic_pool_init() local
244 struct gen_pool *pool, void **cpu_addr, in __dma_alloc_from_pool()
272 struct gen_pool *pool = NULL; in dma_alloc_from_pool() local
288 struct gen_pool *pool = NULL; in dma_free_from_pool() local
/OK3568_Linux_fs/kernel/net/rds/
H A Dib_rdma.c198 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
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_mem_pool.h31 #define mpp_mem_pool_deinit(pool) mpp_mem_pool_deinit_f(__FUNCTION__, pool); argument
33 #define mpp_mem_pool_get(pool) mpp_mem_pool_get_f(__FUNCTION__, pool) argument
34 #define mpp_mem_pool_put(pool, p) mpp_mem_pool_put_f(__FUNCTION__, pool, p) argument
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_mem.c41 int kutf_mempool_init(struct kutf_mempool *pool) in kutf_mempool_init()
55 void kutf_mempool_destroy(struct kutf_mempool *pool) in kutf_mempool_destroy()
78 void *kutf_mempool_alloc(struct kutf_mempool *pool, size_t size) in kutf_mempool_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/
H A Dkutf_mem.c37 int kutf_mempool_init(struct kutf_mempool *pool) in kutf_mempool_init()
50 void kutf_mempool_destroy(struct kutf_mempool *pool) in kutf_mempool_destroy()
70 void *kutf_mempool_alloc(struct kutf_mempool *pool, size_t size) in kutf_mempool_alloc()
/OK3568_Linux_fs/kernel/drivers/atm/
H A Dambassador.c672 static int rx_give (amb_dev * dev, rx_in * rx, unsigned char pool) { in rx_give()
697 static int rx_take (amb_dev * dev, unsigned char pool) { in rx_take()
730 static void drain_rx_pool (amb_dev * dev, unsigned char pool) { in drain_rx_pool()
757 unsigned char pool; in drain_rx_pools() local
765 static void fill_rx_pool (amb_dev * dev, unsigned char pool, in fill_rx_pool()
803 unsigned char pool; in fill_rx_pools() local
852 unsigned char pool; in interrupt_handler() local
1011 unsigned char pool = -1; // hush gcc in amb_open() local
1250 unsigned char pool = vcc->rx_info.pool; in amb_close() local
1412 unsigned char pool; in amb_proc_read() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c280 struct resource_pool *pool, in resource_construct()
358 const struct resource_pool *pool, in find_matching_clock_source()
373 const struct resource_pool *pool, in resource_unreference_clock_source()
387 const struct resource_pool *pool, in resource_reference_clock_source()
401 const struct resource_pool *pool, in resource_get_clock_source_reference()
1258 const struct resource_pool *pool, in find_idle_secondary_pipe()
1353 const struct resource_pool *pool, in acquire_free_pipe_for_head()
1384 const struct resource_pool *pool, in acquire_first_split_pipe()
1425 struct resource_pool *pool = dc->res_pool; in dc_add_plane_to_context() local
1503 struct resource_pool *pool = dc->res_pool; in dc_remove_plane_from_context() local
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/include/nvhe/
H A Dgfp.h27 struct hyp_pool *pool = hyp_page_to_pool(p); in hyp_page_ref_inc() local
36 struct hyp_pool *pool = hyp_page_to_pool(p); in hyp_page_ref_dec_and_test() local
49 struct hyp_pool *pool = hyp_page_to_pool(p); in hyp_set_page_refcounted() local

12345678910>>...14