Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__test_bitmap_parselist

Proto:static void __init __test_bitmap_parselist(int is_user)

Type:void

Parameter:

TypeParameterName
intis_user
360  DECLARE_BITMAP(find a block number in a file, 2048)
361  mode = If is_user Then "_user" Else ""
363  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(parselist_tests) cycle
366  If is_user Then
367  orig_fs = get_fs()
368  len = strlen(in)
370  set_fs(KERNEL_DS)
371  time = ktime_get()
374  time = ktime_get() - time
375  set_fs(orig_fs)
376  Else
377  time = ktime_get()
379  time = ktime_get() - time
382  If err != errno Then
383  pr_err("parselist%s: %d: input is %s, errno is %d, expected %d\n", mode, i, in, err, errno)
385  Continue
390  pr_err("parselist%s: %d: input is %s, result is 0x%lx, expected 0x%lx\n", mode, i, in, find a block number in a file, * expected)
393  Continue
396  If flags & PARSE_TIME Then pr_err("parselist%s: %d: input is '%s' OK, Time: %llu\n", mode, i, in, time)
Caller
NameDescribe
test_bitmap_parselist
test_bitmap_parselist_user