函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\math\int_sqrt.c Create Date:2022-07-27 07:40:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_sqrt - computes the integer square root*@x: integer of which to calculate the sqrt* Computes: floor(sqrt(x))

函数原型:unsigned long int_sqrt(unsigned long x)

返回类型:unsigned long

参数:

类型参数名称
unsigned longx
21  y等于0
23  如果x小于等于1则返回:x
26  m等于1UL左移__fls: find last set bit in word*@word: The word to search* Undefined if no set bit exists, so code should check against 0 first.按位与1UL的反的值位
27 m不等于0循环
28  b等于ym
29  y右移等于1位
31  如果x大于等于b
32  x减等于b
33  y加等于m
35  m右移等于2位
38  返回:y
调用者
名称描述
int_sqrt64_sqrt64 - strongly typed int_sqrt function when minimum 64 bit input* is expected.*@x: 64bit integer of which to calculate the sqrt
slow_is_prime_number
init_per_zone_wmark_minInitialise min_free_kbytes
inactive_is_lowThe inactive anon list should be small enough that the VM never has* to do too much work.* The inactive file list should be small enough to leave most memory* to the established workingset on the scan-resistant active list,
rwb_arm_timer