Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:test_hexdump_overflow_set

Proto:static void __init test_hexdump_overflow_set(size_t buflen, bool ascii)

Type:void

Parameter:

TypeParameterName
size_tbuflen
boolascii
210  i = 0
211  rs = ( get_random_int() % 2 + 1) * 16
213  Do
214  gs = 1 << i
215  len = get_random_int() % rs + gs
217  test_hexdump_overflow(buflen, unddown - round down to next specified multiple*@x: the value to round*@y: multiple to round down to* Rounds @x down to next multiple of @y. If @y will always be a power* of 2, consider using the faster round_down().(len, gs), rs, gs, ascii)
218  When i++ < 3 cycle
Caller
NameDescribe
test_hexdump_init