Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\log2.h Create Date:2022-07-28 05:34:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__rounddown_pow_of_two() - round down to nearest power of two*@n: value to round down

Proto:static inline __attribute__((const)) unsigned long __rounddown_pow_of_two(unsigned long n)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longn
67  Return 1UL << fls_long(n) - 1