函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:swap_words_32 - swap two elements in 32-bit chunks*@a: pointer to the first element to swap*@b: pointer to the second element to swap*@n: element size (must be a multiple of 4)* Exchange the two objects in memory. This exploits base+index addressing,

函数原型:static void swap_words_32(void *a, void *b, size_t n)

返回类型:void

参数:

类型参数名称
void *a
void *b
size_tn
60  循环
61  t等于*an减等于4的差的和
62  *an的和等于*bn的和
63  *bn的和等于t
64 n循环
调用者
名称描述
do_swapThe function pointer is last to make tail calls most efficient if the* compiler decides not to inline this function.