Home
last modified time | relevance | path

Searched refs:units (Results 1 – 1 of 1) sorted by relevance

/lib/
Dstring_helpers.c25 int string_get_size(u64 size, const enum string_size_units units, in string_get_size() argument
46 if (size >= divisor[units]) { in string_get_size()
47 while (size >= divisor[units] && units_str[units][i]) { in string_get_size()
48 remainder = do_div(size, divisor[units]); in string_get_size()
58 do_div(remainder, divisor[units]); in string_get_size()
66 tmp, units_str[units][i]); in string_get_size()