Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c137 char **wspeeds; in get_cdrom_properties() local
172 if ((wspeeds = (char **)calloc(n_wspeeds + 1, sizeof (char *))) == NULL) { in get_cdrom_properties()
177 free (wspeeds); in get_cdrom_properties()
182 wspeeds[i] = &wspeeds_mem[i * WSPLEN]; in get_cdrom_properties()
186 snprintf (wspeeds[i], WSPLEN, "%d", sp->val); in get_cdrom_properties()
188 libhal_changeset_set_property_strlist (cs, "storage.cdrom.write_speeds", (const char **)wspeeds); in get_cdrom_properties()
190 free (wspeeds); in get_cdrom_properties()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.h50 intlist_t **wspeeds, int *n_wspeeds, intlist_t **wspeeds_mem);