| /kernel/linux/linux-5.10/include/net/ |
| D | xdp_sock_drv.h | 25 static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool) in xsk_pool_get_headroom() 30 static inline u32 xsk_pool_get_chunk_size(struct xsk_buff_pool *pool) in xsk_pool_get_chunk_size() 35 static inline u32 xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool) in xsk_pool_get_rx_frame_size() 40 static inline void xsk_pool_set_rxq_info(struct xsk_buff_pool *pool, in xsk_pool_set_rxq_info() 46 static inline void xsk_pool_dma_unmap(struct xsk_buff_pool *pool, in xsk_pool_dma_unmap() 52 static inline int xsk_pool_dma_map(struct xsk_buff_pool *pool, in xsk_pool_dma_map() 74 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc() 79 static inline bool xsk_buff_can_alloc(struct xsk_buff_pool *pool, u32 count) in xsk_buff_can_alloc() 91 static inline dma_addr_t xsk_buff_raw_get_dma(struct xsk_buff_pool *pool, in xsk_buff_raw_get_dma() 97 static inline void *xsk_buff_raw_get_data(struct xsk_buff_pool *pool, u64 addr) in xsk_buff_raw_get_data() [all …]
|
| /kernel/linux/linux-5.10/net/core/ |
| D | page_pool.c | 24 static int page_pool_init(struct page_pool *pool, in page_pool_init() 83 struct page_pool *pool; in page_pool_create() local 104 static struct page *page_pool_refill_alloc_cache(struct page_pool *pool) in page_pool_refill_alloc_cache() 156 static struct page *__page_pool_get_cached(struct page_pool *pool) in __page_pool_get_cached() 171 static void page_pool_dma_sync_for_device(struct page_pool *pool, in page_pool_dma_sync_for_device() 185 static struct page *__page_pool_alloc_pages_slow(struct page_pool *pool, in __page_pool_alloc_pages_slow() 247 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_pages() 267 static s32 page_pool_inflight(struct page_pool *pool) in page_pool_inflight() 286 void page_pool_release_page(struct page_pool *pool, struct page *page) in page_pool_release_page() 314 static void page_pool_return_page(struct page_pool *pool, struct page *page) in page_pool_return_page() [all …]
|
| /kernel/linux/linux-5.10/net/xdp/ |
| D | xsk_buff_pool.c | 11 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk() 23 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk() 35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy() 47 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local 94 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info() 103 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc() 122 static int __xp_assign_dev(struct xsk_buff_pool *pool, in __xp_assign_dev() 195 int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev, in xp_assign_dev() 201 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem, in xp_assign_dev_shared() 217 void xp_clear_dev(struct xsk_buff_pool *pool) in xp_clear_dev() [all …]
|
| /kernel/linux/linux-4.19/net/core/ |
| D | page_pool.c | 17 static int page_pool_init(struct page_pool *pool, in page_pool_init() 51 struct page_pool *pool; in page_pool_create() local 69 static struct page *__page_pool_get_cached(struct page_pool *pool) in __page_pool_get_cached() 111 static struct page *__page_pool_alloc_pages_slow(struct page_pool *pool, in __page_pool_alloc_pages_slow() 159 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_pages() 175 static void __page_pool_clean_page(struct page_pool *pool, in __page_pool_clean_page() 188 static void __page_pool_return_page(struct page_pool *pool, struct page *page) in __page_pool_return_page() 198 static bool __page_pool_recycle_into_ring(struct page_pool *pool, in __page_pool_recycle_into_ring() 217 struct page_pool *pool) in __page_pool_recycle_direct() 227 void __page_pool_put_page(struct page_pool *pool, in __page_pool_put_page() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
| D | rxe_pool.c | 81 static inline const char *pool_name(struct rxe_pool *pool) in pool_name() 86 static int rxe_pool_init_index(struct rxe_pool *pool, u32 max, u32 min) in rxe_pool_init_index() 116 struct rxe_pool *pool, in rxe_pool_init() 160 struct rxe_pool *pool = container_of(kref, struct rxe_pool, ref_cnt); in rxe_pool_release() local 166 static void rxe_pool_put(struct rxe_pool *pool) in rxe_pool_put() 171 void rxe_pool_cleanup(struct rxe_pool *pool) in rxe_pool_cleanup() 185 static u32 alloc_index(struct rxe_pool *pool) in alloc_index() 200 static void insert_index(struct rxe_pool *pool, struct rxe_pool_entry *new) in insert_index() 227 static void insert_key(struct rxe_pool *pool, struct rxe_pool_entry *new) in insert_key() 261 struct rxe_pool *pool = elem->pool; in rxe_add_key() local [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/sw/rxe/ |
| D | rxe_pool.c | 105 static inline const char *pool_name(struct rxe_pool *pool) in pool_name() 110 static inline struct kmem_cache *pool_cache(struct rxe_pool *pool) in pool_cache() 161 static int rxe_pool_init_index(struct rxe_pool *pool, u32 max, u32 min) in rxe_pool_init_index() 191 struct rxe_pool *pool, in rxe_pool_init() 235 struct rxe_pool *pool = container_of(kref, struct rxe_pool, ref_cnt); in rxe_pool_release() local 241 static void rxe_pool_put(struct rxe_pool *pool) in rxe_pool_put() 246 int rxe_pool_cleanup(struct rxe_pool *pool) in rxe_pool_cleanup() 262 static u32 alloc_index(struct rxe_pool *pool) in alloc_index() 277 static void insert_index(struct rxe_pool *pool, struct rxe_pool_entry *new) in insert_index() 304 static void insert_key(struct rxe_pool *pool, struct rxe_pool_entry *new) in insert_key() [all …]
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-thin.c | 229 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/android/ion/ |
| D | ion_page_pool.c | 15 static inline struct page *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages() 22 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 28 static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 44 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 64 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 83 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 90 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 100 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 136 struct ion_page_pool *pool = kmalloc(sizeof(*pool), GFP_KERNEL); in ion_page_pool_create() local 152 void ion_page_pool_destroy(struct ion_page_pool *pool) in ion_page_pool_destroy()
|
| /kernel/linux/linux-4.19/drivers/staging/android/ion/ |
| D | ion_page_pool.c | 15 static inline struct page *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages() 22 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 28 static void ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 44 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 64 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 83 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 90 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 100 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 136 struct ion_page_pool *pool = kmalloc(sizeof(*pool), GFP_KERNEL); in ion_page_pool_create() local 152 void ion_page_pool_destroy(struct ion_page_pool *pool) in ion_page_pool_destroy()
|
| /kernel/linux/linux-4.19/drivers/md/ |
| D | dm-thin.c | 229 struct pool { struct 231 struct dm_target *ti; /* Only set if a pool target is bound */ argument 233 struct mapped_device *pool_md; argument 235 struct dm_pool_metadata *pmd; argument 241 struct pool_features pf; argument 242 bool low_water_triggered:1; /* A dm event has been sent */ 243 bool suspended:1; 244 bool out_of_data_space:1; 246 struct dm_bio_prison *prison; 247 struct dm_kcopyd_client *copier; [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | mempool.c | 25 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() 42 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() 58 static void check_element(mempool_t *pool, void *element) in check_element() 81 static void poison_element(mempool_t *pool, void *element) in poison_element() 96 static inline void check_element(mempool_t *pool, void *element) in check_element() 99 static inline void poison_element(mempool_t *pool, void *element) in poison_element() 104 static __always_inline void kasan_poison_element(mempool_t *pool, void *element) in kasan_poison_element() 112 static void kasan_unpoison_element(mempool_t *pool, void *element) in kasan_unpoison_element() 120 static __always_inline void add_element(mempool_t *pool, void *element) in add_element() 128 static void *remove_element(mempool_t *pool) in remove_element() [all …]
|
| D | zbud.c | 129 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() 145 struct zbud_pool *pool; in zbud_zpool_create() local 155 static void zbud_zpool_destroy(void *pool) in zbud_zpool_destroy() 160 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc() 165 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free() 170 static int zbud_zpool_shrink(void *pool, unsigned int pages, in zbud_zpool_shrink() 189 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map() 194 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap() 199 static u64 zbud_zpool_total_size(void *pool) in zbud_zpool_total_size() 309 struct zbud_pool *pool; in zbud_create_pool() local [all …]
|
| /kernel/linux/linux-4.19/mm/ |
| D | mempool.c | 25 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() 42 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() 58 static void check_element(mempool_t *pool, void *element) in check_element() 82 static void poison_element(mempool_t *pool, void *element) in poison_element() 98 static inline void check_element(mempool_t *pool, void *element) in check_element() 101 static inline void poison_element(mempool_t *pool, void *element) in poison_element() 106 static __always_inline void kasan_poison_element(mempool_t *pool, void *element) in kasan_poison_element() 114 static void kasan_unpoison_element(mempool_t *pool, void *element) in kasan_unpoison_element() 122 static __always_inline void add_element(mempool_t *pool, void *element) in add_element() 130 static void *remove_element(mempool_t *pool) in remove_element() [all …]
|
| D | zbud.c | 128 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() 144 struct zbud_pool *pool; in zbud_zpool_create() local 154 static void zbud_zpool_destroy(void *pool) in zbud_zpool_destroy() 159 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc() 164 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free() 169 static int zbud_zpool_shrink(void *pool, unsigned int pages, in zbud_zpool_shrink() 188 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map() 193 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap() 198 static u64 zbud_zpool_total_size(void *pool) in zbud_zpool_total_size() 307 struct zbud_pool *pool; in zbud_create_pool() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_gt_buffer_pool.c | 12 static struct intel_gt *to_gt(struct intel_gt_buffer_pool *pool) in to_gt() 18 bucket_for_size(struct intel_gt_buffer_pool *pool, size_t sz) in bucket_for_size() 41 static bool pool_free_older_than(struct intel_gt_buffer_pool *pool, long keep) in pool_free_older_than() 93 struct intel_gt_buffer_pool *pool = in pool_free_work() local 128 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local 148 node_create(struct intel_gt_buffer_pool *pool, size_t sz) in node_create() 179 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_get_buffer_pool() local 224 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_init_buffer_pool() local 235 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_flush_buffer_pool() local 245 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_fini_buffer_pool() local
|
| /kernel/liteos_a/kernel/base/mem/tlsf/ |
| D | los_memory.c | 147 VOID *pool; member 167 #define MEM_LOCK(pool, state) LOS_SpinLockSave(&(pool)->spinlock, &(state)) argument 168 #define MEM_UNLOCK(pool, state) LOS_SpinUnlockRestore(&(pool)->spinlock, (state)) argument 208 #define OS_MEM_FIRST_NODE(pool) \ argument 210 #define OS_MEM_END_NODE(pool, size) \ argument 234 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) in OsMemWaterUsedRecord() 242 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) in OsMemWaterUsedRecord() 310 STATIC INLINE struct OsMemNodeHead *PreSentinelNodeGet(const VOID *pool, const struct OsMemNodeHead… in PreSentinelNodeGet() 344 STATIC INLINE BOOL TryShrinkPool(const VOID *pool, const struct OsMemNodeHead *node) in TryShrinkPool() 379 STATIC INLINE INT32 OsMemPoolExpandSub(VOID *pool, UINT32 size, UINT32 intSave) in OsMemPoolExpandSub() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | genalloc.c | 154 struct gen_pool *pool; in gen_pool_create() local 183 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner() 216 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 241 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 276 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 340 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 361 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 394 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() 418 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc() 439 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo() [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | coh901318_lli.c | 19 #define DEBUGFS_POOL_COUNTER_RESET(pool) (pool->debugfs_pool_counter = 0) argument 20 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) (pool->debugfs_pool_counter += add) argument 22 #define DEBUGFS_POOL_COUNTER_RESET(pool) argument 23 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) argument 35 int coh901318_pool_create(struct coh901318_pool *pool, in coh901318_pool_create() 47 int coh901318_pool_destroy(struct coh901318_pool *pool) in coh901318_pool_destroy() 55 coh901318_lli_alloc(struct coh901318_pool *pool, unsigned int len) in coh901318_lli_alloc() 112 void coh901318_lli_free(struct coh901318_pool *pool, in coh901318_lli_free() 142 coh901318_lli_fill_memcpy(struct coh901318_pool *pool, in coh901318_lli_fill_memcpy() 175 coh901318_lli_fill_single(struct coh901318_pool *pool, in coh901318_lli_fill_single() [all …]
|
| /kernel/linux/linux-4.19/drivers/dma/ |
| D | coh901318_lli.c | 19 #define DEBUGFS_POOL_COUNTER_RESET(pool) (pool->debugfs_pool_counter = 0) argument 20 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) (pool->debugfs_pool_counter += add) argument 22 #define DEBUGFS_POOL_COUNTER_RESET(pool) argument 23 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) argument 35 int coh901318_pool_create(struct coh901318_pool *pool, in coh901318_pool_create() 47 int coh901318_pool_destroy(struct coh901318_pool *pool) in coh901318_pool_destroy() 55 coh901318_lli_alloc(struct coh901318_pool *pool, unsigned int len) in coh901318_lli_alloc() 112 void coh901318_lli_free(struct coh901318_pool *pool, in coh901318_lli_free() 142 coh901318_lli_fill_memcpy(struct coh901318_pool *pool, in coh901318_lli_fill_memcpy() 175 coh901318_lli_fill_single(struct coh901318_pool *pool, in coh901318_lli_fill_single() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| 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() 78 struct xsk_buff_pool *pool, u16 ix) in mlx5e_xsk_enable_locked() 157 struct xsk_buff_pool *pool = mlx5e_xsk_get_pool(&priv->channels.params, in mlx5e_xsk_disable_locked() local 183 static int mlx5e_xsk_enable_pool(struct mlx5e_priv *priv, struct xsk_buff_pool *pool, in mlx5e_xsk_enable_pool() 206 int mlx5e_xsk_setup_pool(struct net_device *dev, struct xsk_buff_pool *pool, u16 qid) in mlx5e_xsk_setup_pool()
|
| /kernel/linux/linux-4.19/sound/core/seq/ |
| D | seq_memory.c | 36 static inline int snd_seq_pool_available(struct snd_seq_pool *pool) in snd_seq_pool_available() 41 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok() 177 static inline void free_cell(struct snd_seq_pool *pool, in free_cell() 188 struct snd_seq_pool *pool; in snd_seq_cell_free() local 221 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc() 293 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup() 374 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait() 383 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init() 424 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing() 436 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done() [all …]
|
| /kernel/linux/linux-5.10/sound/core/seq/ |
| 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() 163 static inline void free_cell(struct snd_seq_pool *pool, in free_cell() 174 struct snd_seq_pool *pool; in snd_seq_cell_free() local 207 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc() 279 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup() 360 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait() 369 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init() 409 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing() 421 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done() [all …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | genalloc.c | 155 struct gen_pool *pool; in gen_pool_create() local 183 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_virt() 215 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 240 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 272 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() 290 unsigned long gen_pool_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo() 347 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 375 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free() 413 void gen_pool_for_each_chunk(struct gen_pool *pool, in gen_pool_for_each_chunk() 414 void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), in gen_pool_for_each_chunk() [all …]
|
| /kernel/liteos_m/kernel/src/mm/ |
| D | los_memory.c | 156 VOID *pool; member 182 #define MEM_LOCK(pool, state) do { \ argument 187 #define MEM_UNLOCK(pool, state) do { \ argument 269 #define OS_MEM_FIRST_NODE(pool) \ argument 271 #define OS_MEM_END_NODE(pool, size) \ argument 313 STATIC VOID OsAllMemNodeDoHandle(VOID *pool, VOID (*handle)(struct OsMemNodeHead *curNode, VOID *ar… in OsAllMemNodeDoHandle() 367 VOID OsTaskMemUsed(VOID *pool, UINT32 *tskMemInfoBuf, UINT32 tskMemInfoCnt) 376 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) 384 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) 456 STATIC INLINE struct OsMemNodeHead *PreSentinelNodeGet(const VOID *pool, const struct OsMemNodeHead… [all …]
|
| /kernel/linux/linux-4.19/net/ceph/ |
| D | msgpool.c | 14 struct ceph_msgpool *pool = arg; in msgpool_alloc() local 29 struct ceph_msgpool *pool = arg; in msgpool_free() local 37 int ceph_msgpool_init(struct ceph_msgpool *pool, int type, in ceph_msgpool_init() 50 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy() 56 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, in ceph_msgpool_get() 75 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
|