Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cache_alloc_zspage

Proto:static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags)

Type:struct zspage

Parameter:

TypeParameterName
struct zs_pool *pool
gfp_tflags
364  Return kmem_cache_alloc(zspage_cachep, flags & ~(__GFP_HIGHMEM | ZONE_MOVABLE allowed ))
Caller
NameDescribe
alloc_zspageAllocate a zspage for the given size class