Lines Matching refs:dkinfo
223 struct dk_cinfo dkinfo; in slice_get_stats() local
232 ioctl(fd, DKIOCINFO, &dkinfo) >= 0) { in slice_get_stats()
233 snum = dkinfo.dki_partition; in slice_get_stats()
404 struct dk_cinfo dkinfo; in get_attrs() local
434 if (ioctl(fd, DKIOCINFO, &dkinfo) >= 0) { in get_attrs()
435 snum = dkinfo.dki_partition; in get_attrs()
532 struct dk_cinfo dkinfo; in get_attrs() local
535 if (ioctl(sfd, DKIOCINFO, &dkinfo) >= 0) { in get_attrs()
536 sp->slice_num = dkinfo.dki_partition; in get_attrs()
721 struct dk_cinfo dkinfo; in get_slice_num() local
722 if (ioctl(fd, DKIOCINFO, &dkinfo) >= 0) { in get_slice_num()
723 devp->slice_num = dkinfo.dki_partition; in get_slice_num()