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_handle

Proto:static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp)

Type:unsigned long

Parameter:

TypeParameterName
struct zs_pool *pool
gfp_tgfp
353  Return kmem_cache_alloc(handle_cachep, gfp & ~(__GFP_HIGHMEM | ZONE_MOVABLE allowed ))
Caller
NameDescribe
zs_malloczs_malloc - Allocate block of given size from pool.*@pool: pool to allocate from*@size: size of block to allocate*@gfp: gfp flags when allocating object* On success, handle to the allocated object is returned,* otherwise 0.