Searched refs:blk_size (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | test-string_helpers.c | 330 #define test_string_get_size_one(size, blk_size, exp_result10, exp_result2) \ argument 334 __test_string_get_size((size), (blk_size), (exp_result10), \ 343 const u64 blk_size) in test_string_get_size_check() argument 352 size, blk_size, units); in test_string_get_size_check() 356 static __init void __test_string_get_size(const u64 size, const u64 blk_size, in __test_string_get_size() argument 363 string_get_size(size, blk_size, STRING_UNITS_10, buf10, sizeof(buf10)); in __test_string_get_size() 364 string_get_size(size, blk_size, STRING_UNITS_2, buf2, sizeof(buf2)); in __test_string_get_size() 367 size, blk_size); in __test_string_get_size() 370 size, blk_size); in __test_string_get_size()
|
D | string_helpers.c | 34 void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, in string_get_size() argument 59 if (blk_size == 0) in string_get_size() 75 while (blk_size >> 32) { in string_get_size() 76 do_div(blk_size, divisor[units]); in string_get_size() 87 size *= blk_size; in string_get_size()
|