函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:genradix_alloc_node

函数原型:static inline struct genradix_node *genradix_alloc_node(gfp_t gfp_mask)

返回类型:struct genradix_node

参数:

类型参数名称
gfp_tgfp_mask
83  node等于__get_free_page(gfp_mask | __GFP_ZERO)
90  kmemleak_alloc - register a newly allocated object*@ptr: pointer to beginning of the object*@size: size of the object*@min_count: minimum number of references to this object. If during memory* scanning a number of references less than @min_count is found,
91  返回:node
调用者
名称描述
__genradix_ptr_allocReturns pointer to the specified byte @offset within @radix, allocating it if* necessary - newly allocated slots are always zeroed out: