函数逻辑报告 |
Source Code:arch\x86\include\asm\bitops.h |
Create Date:2022-07-27 06:38:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ls64 - find last set bit in a 64-bit word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffsll, but returns the position of the most significant set bit
函数原型:static __always_inline int fls64(__u64 x)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
__u64 | x |
368 | bitpos等于负1 |
374 | asm("bsrq %1,%q0":"+r"(bitpos):"rm"(x)) |
377 | 返回:bitpos加1 |
名称 | 描述 |
---|---|
int_sqrt64 | _sqrt64 - strongly typed int_sqrt function when minimum 64 bit input* is expected.*@x: 64bit integer of which to calculate the sqrt |
cpu_has_xfeatures | Return whether the system supports a given xfeature.* Also return the name of the (most advanced) feature that the caller requested: |
generic_get_mtrr | |
set_max_threads | set_max_threads |
dma_direct_get_required_mask | |
scale64_check_overflow | Scale base by mult/div checking for overflow |
tnum_range | |
perf_calculate_period | |
add_token_u64 | |
opal_generic_read_write_table | |
fls_long | |
__ilog2_u64 | |
find_next_netdev_feature | Finds the next feature with the highest number of the range of start till 0. |
count_leading_zeros | _leading_zeros - Count the number of zeros from the MSB back*@x: The value* Count the number of leading zeros from the MSB going towards the LSB in @x.* If the MSB of @x is set, the result is 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |