Function report | 
Source Code:kernel\bpf\btf.c | 
Create Date:2022-07-28 13:18:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:btf_int128_shift
Proto:static void btf_int128_shift(u64 *print_num, u16 left_shift_bits, u16 right_shift_bits)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u64 * | print_num | |
| u16 | left_shift_bits | |
| u16 | right_shift_bits | 
| 1435 | If left_shift_bits >= 64 Then | 
| 1436 | upper_num = lower_num << left_shift_bits - 64 | 
| 1437 | lower_num = 0 | 
| 1438 | Else | 
| 1439 | upper_num = upper_num << left_shift_bits | lower_num >> 64 - left_shift_bits | 
| 1441 | lower_num = lower_num << left_shift_bits | 
| 1444 | If right_shift_bits >= 64 Then | 
| 1445 | lower_num = upper_num >> right_shift_bits - 64 | 
| 1446 | upper_num = 0 | 
| 1447 | Else | 
| 1448 | lower_num = lower_num >> right_shift_bits | upper_num << 64 - right_shift_bits | 
| 1450 | upper_num = upper_num >> right_shift_bits | 
| Name | Describe | 
|---|---|
| btf_bitfield_seq_show | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |