函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\zsmalloc.c Create Date:2022-07-27 18:01:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:zs_zpool_malloc

函数原型:static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, unsigned long *handle)

返回类型:int

参数:

类型参数名称
void *pool
size_tsize
gfp_tgfp
unsigned long *handle
407  handle等于zs_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.
408  返回:如果handle则0否则负1