Lines Matching refs:count
387 int count;
392 for (d = hd_devices, count = 0; d; d = d->next, count++)
394 grub_snprintf (buf, sizeof (buf), "hd%d", count);
401 for (d = fd_devices, count = 0; d; d = d->next, count++)
403 grub_snprintf (buf, sizeof (buf), "fd%d", count);
409 for (d = cd_devices, count = 0; d; d = d->next, count++)
411 grub_snprintf (buf, sizeof (buf), "cd%d", count);