函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_string_get_size

函数原型:static __init void test_string_get_size(void)

返回类型:void

参数:

376  test_string_get_size_one(0, 512, "0 B", "0 B")
377  test_string_get_size_one(1, 512, "512 B", "512 B")
378  test_string_get_size_one(1100, 1, "1.10 kB", "1.07 KiB")
381  test_string_get_size_one(16384, 512, "8.39 MB", "8.00 MiB")
382  test_string_get_size_one(500118192, 512, "256 GB", "238 GiB")
383  test_string_get_size_one(8192, 4096, "33.6 MB", "32.0 MiB")
386  test_string_get_size_one(3000, 1900, "5.70 MB", "5.44 MiB")
389  test_string_get_size_one(U64_MAX, 4096, "75.6 ZB", "64.0 ZiB")
390  test_string_get_size_one(4096, U64_MAX, "75.6 ZB", "64.0 ZiB")
调用者
名称描述
test_string_helpers_init