Searched refs:MAX_STRING_SZ (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 154 #define MAX_STRING_SZ 256 macro 166 char buf[MAX_STRING_SZ]; in libhal_volume_policy_compute_size_as_string() 176 snprintf (buf, MAX_STRING_SZ, "%.01f%s", in libhal_volume_policy_compute_size_as_string() 180 … snprintf (buf, MAX_STRING_SZ, "%llu%s", (long long unsigned int) size / cur, sizes_str[cur_str]); in libhal_volume_policy_compute_size_as_string() 216 char buf[MAX_STRING_SZ]; in libhal_drive_policy_compute_display_name() 239 snprintf (buf, MAX_STRING_SZ, "%s %s", vendor, model); in libhal_drive_policy_compute_display_name() 301 snprintf (buf, MAX_STRING_SZ, _("External %s%s Drive"), first, second); in libhal_drive_policy_compute_display_name() 304 snprintf (buf, MAX_STRING_SZ, _("%s%s Drive"), first, second); in libhal_drive_policy_compute_display_name() 322 snprintf (buf, MAX_STRING_SZ, _("%s External Hard Drive"), size_str); in libhal_drive_policy_compute_display_name() 325 snprintf (buf, MAX_STRING_SZ, _("%s Hard Drive"), size_str); in libhal_drive_policy_compute_display_name() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | sysevent.h | 79 #define MAX_STRING_SZ 1024 macro
|
/titanic_50/usr/src/uts/common/os/ |
H A D | log_sysevent.c | 626 if (strlen((char *)se_value->value.sv_string) >= MAX_STRING_SZ) in sysevent_add_attr()
|