函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__roundup_pow_of_two() - round up to nearest power of two*@n: value to round up

函数原型:static inline __attribute__((const)) unsigned long __roundup_pow_of_two(unsigned long n)

返回类型:unsigned long

参数:

类型参数名称
unsigned longn
57  返回:1UL左移fls_long(n - 1)位