Searched refs:NB_SUFFIXES (Results 1 – 2 of 2) sorted by relevance
159 #define NB_SUFFIXES 4 macro168 static const char suffixes[NB_SUFFIXES] = "KMGT"; in snapshot_format_size()176 for(i = 0; i < NB_SUFFIXES; i++) { in snapshot_format_size()182 } else if (size < (1000 * base) || i == (NB_SUFFIXES - 1)) { in snapshot_format_size()
1902 #define NB_SUFFIXES 4 macro1906 static const char suffixes[NB_SUFFIXES] = "KMGT"; in get_human_readable_size()1914 for(i = 0; i < NB_SUFFIXES; i++) { in get_human_readable_size()1920 } else if (size < (1000 * base) || i == (NB_SUFFIXES - 1)) { in get_human_readable_size()