Lines Matching refs:iodev
198 struct iodevinfo *iodev;
277 for (iodev = firstiodev; iodev; iodev = iodev->next) {
278 if (write(fp, iodev, sizeof (struct iodevinfo)) !=
300 for (iodev = firstiodev; iodev; iodev = iodev->next) {
301 if (write(fp, iodev, sizeof (struct iodevinfo)) !=
598 struct iodevinfo *iodev, *previodev, *comp;
601 iodev = &zeroiodev;
614 previodev = iodev;
615 if (iodev->next)
616 iodev = iodev->next;
618 safe_zalloc((void **) &iodev->next,
620 iodev = iodev->next;
621 iodev->next = NULL;
623 iodev->ksp = ksp;
624 iodev->ks = *ksp;
625 memset((void *)&iodev->kios, 0, sizeof (kstat_io_t));
626 iodev->kios.wlastupdate = iodev->ks.ks_crtime;
627 iodev->kios.rlastupdate = iodev->ks.ks_crtime;
633 while (kscmp(&iodev->ks, &comp->next->ks) > 0)
636 previodev->next = iodev->next;
637 iodev->next = comp->next;
638 comp->next = iodev;
639 iodev = previodev;
650 lastiodev = iodev;
651 snip = iodev->next;
652 iodev->next = NULL;
660 struct iodevinfo *iodev;
662 for (iodev = firstiodev; iodev; iodev = iodev->next) {
663 if (kstat_read(kc, iodev->ksp, (void *) &iodev->kios) == -1)