Home
last modified time | relevance | path

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

/openbsd/sys/dev/
H A Dbiovar.h147 uint64_t bv_size; /* size of the disk */ member
H A Dsoftraid.c2589 bv->bv_size = sd->sd_meta->ssdi.ssd_size << DEV_BSHIFT; in sr_ioctl_vol()
2619 bv->bv_size = hotspare->src_meta.scmi.scm_size << DEV_BSHIFT; in sr_ioctl_vol()
/openbsd/sys/dev/ic/
H A Dami.c1951 bv->bv_size = (uint64_t)p->apd[i].adp_size * in ami_vol()
2128 bv->bv_size = 0; in ami_ioctl_vol()
2138 bv->bv_size += p->ald[i].asp[s].ads_length * in ami_ioctl_vol()
2143 bv->bv_size += p->ald[i].asp[s].ads_length; in ami_ioctl_vol()
2147 bv->bv_size += p->ald[i].asp[s].ads_length * in ami_ioctl_vol()
2156 bv->bv_size *= (uint64_t)512; in ami_ioctl_vol()
H A Dcac.c844 bv->bv_size = (off_t)blks * CAC_GET2(dinfo.secsize); in cac_ioctl_vol()
H A Dmfi.c1769 bv->bv_size = sc->sc_ld_details[i].mld_size * 512; /* bytes per block */ in mfi_ioctl_vol()
2271 vdhs->bv_size = pd->mpd_size / 2 * 1024; /* XXX why? */ in mfi_bio_hs()
H A Dciss.c1018 bv->bv_size = blks * (uint64_t)letoh16(ldid->blksize); in ciss_ioctl()
H A Dnvme.c2046 bv->bv_size = nvme_scsi_size(idns) << idns->lbaf[lbaf].lbads; in nvme_bioctl_vol()
H A Dmpi.c3255 bv->bv_size = (uint64_t)lemtoh32(&rpg0->max_lba) * 512; in mpi_ioctl_vol()
/openbsd/sbin/bioctl/
H A Dbioctl.c491 fmt_scaled(bv.bv_size, size); in bio_inq()
494 bv.bv_size); in bio_inq()
/openbsd/sys/dev/pci/
H A Dips.c1136 bv->bv_size = (uint64_t)letoh32(ld->size) * IPS_SECSZ; in ips_ioctl_vol()
1161 sc->sc_dev.dv_xname, vid, ld->state, total, done, bv->bv_size, in ips_ioctl_vol()
H A Dmfii.c3110 bv->bv_size = sc->sc_ld_details[i].mld_size * 512; /* bytes per block */ in mfii_ioctl_vol()
3764 vdhs->bv_size = pd->mpd_size / 2 * 1024; /* XXX why? */ in mfii_bio_hs()
H A Darc.c2123 bv->bv_size = blocks * ARC_BLOCKSIZE; /* XXX */ in arc_bio_vol()
H A Dmpii.c3468 bv->bv_size = letoh64(vpg->max_lba) * lemtoh16(&vpg->block_size); in mpii_ioctl_vol()