函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__genradix_iter_advance

函数原型:static inline void __genradix_iter_advance(struct genradix_iter *iter, size_t obj_size)

返回类型:void

参数:

类型参数名称
struct genradix_iter *iter
size_tobj_size
186  offset加等于obj_size
188  如果非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_SIZEoffset等于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自加