Searched refs:dkm (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/avs/dsbitmap/
H A Ddsbitmap.c165 struct dk_minfo dkm; local
182 rc = ioctl(fd, DKIOCGMEDIAINFO, (void *)&dkm);
184 size = LE_64(dkm.dki_capacity) *
185 dkm.dki_lbsize / 512;
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c584 struct dk_minfo dkm; local
604 rc = ioctl(fd, DKIOCGMEDIAINFO, (void *)&dkm);
606 *size = LE_64(dkm.dki_capacity) *
607 (dkm.dki_lbsize) / 512;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c267 struct dk_minfo *dkm = &dks.ud; local
508 (intptr_t)dkm, FKIOCTL, kcred, NULL)) == 0) {
512 capacity = dkm->dki_capacity - 1;
513 blksz = dkm->dki_lbsize;
H A Dzvol.c1681 struct dk_minfo dkm; local
1683 bzero(&dkm, sizeof (dkm));
1684 dkm.dki_lbsize = 1U << zv->zv_min_bs;
1685 dkm.dki_capacity = zv->zv_volsize >> zv->zv_min_bs;
1686 dkm.dki_media_type = DK_UNKNOWN;
1688 if (ddi_copyout(&dkm, (void *)arg, sizeof (dkm), flag))
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c1478 struct dk_map32 *dkm; local
1500 dkm = &un->un_label.dkl_map[part];
1501 if (dkm->dkl_nblk == 0) {
1699 struct dk_map32 *dkm; local
1709 dkm = &un->un_label.dkl_map[FDPARTITION(bp->b_edev)];
1733 if ((phys_blkno > dkm->dkl_nblk)) {
1736 0, (long)bp->b_blkno, dkm->dkl_nblk));
1745 if (phys_blkno == dkm->dkl_nblk) {
3088 struct dk_map32 *dkm; local
3131 dkm
[all...]

Completed in 106 milliseconds