Searched refs:sizes_str (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c161 char* sizes_str[] = {"K", "M", "G", "T", NULL}; local
173 if (sizes_str[cur_str+1] == NULL || size < cur*step) {
177 ((double)size)/((double)cur), sizes_str[cur_str]);
180 snprintf (buf, MAX_STRING_SZ, "%llu%s", (long long unsigned int) size / cur, sizes_str[cur_str]);

Completed in 24 milliseconds