函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:btf_int128_shift

函数原型:static void btf_int128_shift(u64 *print_num, u16 left_shift_bits, u16 right_shift_bits)

返回类型:void

参数:

类型参数名称
u64 *print_num
u16left_shift_bits
u16right_shift_bits
1430  upper_num等于print_num[1]
1431  lower_num等于print_num[0]
1435  如果left_shift_bits大于等于64则
1436  upper_num等于lower_num左移left_shift_bits减64位
1437  lower_num等于0
1438  否则
1439  upper_num等于upper_num左移left_shift_bits位按位或lower_num右移64减left_shift_bits
1441  lower_num等于lower_num左移left_shift_bits
1444  如果right_shift_bits大于等于64则
1445  lower_num等于upper_num右移right_shift_bits减64位
1446  upper_num等于0
1447  否则
1448  lower_num等于lower_num右移right_shift_bits位按位或upper_num左移64减right_shift_bits
1450  upper_num等于upper_num右移right_shift_bits
1457  print_num[0]等于lower_num
1458  print_num[1]等于upper_num
调用者
名称描述
btf_bitfield_seq_show