Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mempool.h Create Date:2022-07-28 05:45:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mempool_create_slab_pool

Proto:static inline mempool_t *mempool_create_slab_pool(int min_nr, struct kmem_cache *kc)

Type:mempool_t

Parameter:

TypeParameterName
intmin_nr
struct kmem_cache *kc
69  Return mempool_create(min_nr, A mempool_alloc_t and mempool_free_t that get the memory from* a slab cache that is passed in through pool_data.* Note: the slab cache may not have a ctor function., mempool_free_slab, (void * )kc)
Caller
NameDescribe
sg_pool_init