Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__genradix_iter_advance

Proto:static inline void __genradix_iter_advance(struct genradix_iter *iter, size_t obj_size)

Type:void

Parameter:

TypeParameterName
struct genradix_iter *iter
size_tobj_size
186  offset += obj_size
188  If Not s_power_of_2() - check if a value is a power of two*@n: the value to check* Determine whether some value is a power of two, where zero is* *not* considered a power of two.* Return: true if @n is a power of 2, otherwise false. && (offset & PAGE_SIZE - 1 ) + obj_size > PAGE_SIZE Then offset = und_up - round up to next specified power of 2*@x: the value to round*@y: multiple to round up to (must be a power of 2)* Rounds @x up to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding up, use roundup() below.(offset, PAGE_SIZE)
192  pos++