函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mul_u32_u32

函数原型:static inline u64 mul_u32_u32(u32 a, u32 b)

返回类型:u64

参数:

类型参数名称
u32a
u32b
67  asm("mull %[b]":"=a"(low), "=d"(high):[a]"a"(a), [b]"rm"(b))
70  返回:low按位或high左移32位
调用者
名称描述
__calc_deltadelta_exec * weight / lw.weight* OR* (delta_exec * (weight * lw->inv_weight)) >> WMULT_SHIFT* Either weight := NICE_0_LOAD and lw \e sched_prio_to_wmult[], in which case* we're guaranteed shift stays positive because inv_weight is guaranteed to
mul_u64_u32_shr
mul_u64_u64_shr
mul_u64_u32_div