函数逻辑报告

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_depth_shift

函数原型:static inline int genradix_depth_shift(unsigned depth)

返回类型:int

参数:

类型参数名称
unsigneddepth
22  返回:PAGE_SHIFT determines the page size GENRADIX_ARY_SHIFTdepth
调用者
名称描述
genradix_depth_sizeReturns size (of data, in bytes) that a tree of a given depth holds:
__genradix_ptrReturns pointer to the specified byte @offset within @radix, or NULL if not* allocated
__genradix_ptr_allocReturns pointer to the specified byte @offset within @radix, allocating it if* necessary - newly allocated slots are always zeroed out:
__genradix_iter_peek