Searched refs:sectsz (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/usr.sbin/bhyve/ |
H A D | pci_virtio_block.c | 298 int i, sectsz, sts, sto; local 316 sectsz = blockif_sectsz(bctxt); 355 sc->vbsc_cfg.vbc_blk_size = sectsz; 357 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; 359 (sto != 0) ? ((sts - sto) / sectsz) : 0;
|
H A D | block_if.c | 400 int extra, fd, i, sectsz; local 463 sectsz = DEV_BSIZE; 468 ioctl(fd, DIOCGSECTORSIZE, §sz)) { 473 assert(sectsz != 0); 501 if (ssopt < sectsz || (ssopt % sectsz) != 0) { 504 ssopt, sectsz); 509 sectsz = ssopt; 527 bc->bc_sectsz = sectsz;
|
H A D | pci_ahci.c | 910 int sectsz, psectsz, psectoff, candelete, ro; local 916 sectsz = blockif_sectsz(p->bctx); 917 sectors = blockif_size(p->bctx) / sectsz; 982 if (psectsz > sectsz) { 984 buf[106] |= ffsl(psectsz / sectsz) - 1; 985 buf[209] |= (psectoff / sectsz); 987 if (sectsz > 512) { 989 buf[117] = sectsz / 2; 990 buf[118] = ((sectsz / 2) >> 16);
|
Completed in 104 milliseconds