Searched refs:VTBLK_BSIZE (Results 1 – 1 of 1) sorted by relevance
69 #define VTBLK_BSIZE 512 macro116 #define VTBLK_MAX_DISCARD_SECT ((16 << 20) / VTBLK_BSIZE) /* 16 MiB */310 io->io_req.br_offset = vbh->vbh_sector * VTBLK_BSIZE; in pci_vtblk_proc()384 io->io_req.br_offset = discard->sector * VTBLK_BSIZE; in pci_vtblk_proc()385 io->io_req.br_resid = discard->num_sectors * VTBLK_BSIZE; in pci_vtblk_proc()424 sc->vbsc_cfg.vbc_capacity = new_size / VTBLK_BSIZE; /* 512-byte units */ in pci_vtblk_resized()509 sc->vbsc_cfg.vbc_capacity = size / VTBLK_BSIZE; /* 512-byte units */ in pci_vtblk_init()533 sc->vbsc_cfg.discard_sector_alignment = MAX(sectsz, sts) / VTBLK_BSIZE; in pci_vtblk_init()