Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:shuffle_array

Proto:static void shuffle_array(int *arr, int n)

Type:void

Parameter:

TypeParameterName
int *arr
intn
370  When i > 0 cycle
371  get_random_bytes( & rnd, size of rnd )
374  j = rnd % i
377  x = arr[i]
378  arr[i] = arr[j]
379  arr[j] = x
Caller
NameDescribe
test_func