函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__genradix_prealloc

函数原型:int __genradix_prealloc(struct __genradix *radix, size_t size, gfp_t gfp_mask)

返回类型:int

参数:

类型参数名称
struct __genradix *radix
size_tsize
gfp_tgfp_mask
222 offset小于size循环如果非Returns pointer to the specified byte @offset within @radix, allocating it if* necessary - newly allocated slots are always zeroed out:
224  返回:负ENOMEM
226  返回:0