Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__test_string_get_size

Proto:static __init void __test_string_get_size(const u64 size, const u64 blk_size, const char *exp_result10, const char *exp_result2)

Type:void

Parameter:

TypeParameterName
const u64size
const u64blk_size
const char *exp_result10
const char *exp_result2
363  string_get_size - get the size in the specified units*@size: The size to be converted in blocks*@blk_size: Size of the block (use 1 for size in bytes)*@units: units to use (powers of 1000 or 1024)*@buf: buffer to format to*@len: length of buffer* This
364  string_get_size - get the size in the specified units*@size: The size to be converted in blocks*@blk_size: Size of the block (use 1 for size in bytes)*@units: units to use (powers of 1000 or 1024)*@buf: buffer to format to*@len: length of buffer* This
366  test_string_get_size_check("STRING_UNITS_10", exp_result10, buf10, size, blk_size)
369  test_string_get_size_check("STRING_UNITS_2", exp_result2, buf2, size, blk_size)