Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c1651 int media_num; in devinfo_storage_foreach_nick() local
1654 media_num = hal_device_property_get_int (d, "storage.solaris.legacy.media_num"); in devinfo_storage_foreach_nick()
1656 (media_num >= 0)) { in devinfo_storage_foreach_nick()
1657 en->nums = g_slist_prepend (en->nums, GINT_TO_POINTER(media_num)); in devinfo_storage_foreach_nick()
1663 devinfo_storage_append_nickname (HalDevice *d, const char *media_type, int media_num) in devinfo_storage_append_nickname() argument
1667 if (media_num == 0) { in devinfo_storage_append_nickname()
1670 snprintf(buf, sizeof (buf), "%s%d", media_type, media_num); in devinfo_storage_append_nickname()
1679 int media_num; in devinfo_storage_set_nicknames() local
1695 for (media_num = 0; ; media_num++) { in devinfo_storage_set_nicknames()
1697 if (GPOINTER_TO_INT (i->data) == media_num) { in devinfo_storage_set_nicknames()
[all …]