Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:A commonly used alloc and free fn.

Proto:void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data)

Type:void

Parameter:

TypeParameterName
gfp_tgfp_mask
void *pool_data
511  mem = pool_data
512  VM_BUG_ON(ctor)
513  Return kmem_cache_alloc(mem, gfp_mask)