Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sort.c Create Date:2022-07-28 06:19:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swap_words_64 - swap two elements in 64-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 8)* Exchange the two objects in memory

Proto:static void swap_words_64(void *a, void *b, size_t n)

Type:void

Parameter:

TypeParameterName
void *a
void *b
size_tn
85  Do
92  t = *(a + (n -= 4))
93  *(a + n) = *(b + n)
94  *(b + n) = t
96  t = *(a + (n -= 4))
97  *(a + n) = *(b + n)
98  *(b + n) = t
100  When n cycle
Caller
NameDescribe
do_swapThe function pointer is last to make tail calls most efficient if the* compiler decides not to inline this function.