Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\generic-radix-tree.c Create Date:2022-07-28 06:25:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:genradix_depth_shift

Proto:static inline int genradix_depth_shift(unsigned depth)

Type:int

Parameter:

TypeParameterName
unsigneddepth
22  Return PAGE_SHIFT determines the page size + GENRADIX_ARY_SHIFT * depth
Caller
NameDescribe
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