Searched refs:sectsz (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/usr.sbin/bhyve/
H A Dpci_virtio_block.c298 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 Dblock_if.c400 int extra, fd, i, sectsz; local
463 sectsz = DEV_BSIZE;
468 ioctl(fd, DIOCGSECTORSIZE, &sectsz)) {
473 assert(sectsz != 0);
501 if (ssopt < sectsz || (ssopt % sectsz) != 0) {
504 ssopt, sectsz);
509 sectsz = ssopt;
527 bc->bc_sectsz = sectsz;
H A Dpci_ahci.c988 int sectsz, psectsz, psectoff, candelete, ro; local
994 sectsz = blockif_sectsz(p->bctx);
995 sectors = blockif_size(p->bctx) / sectsz;
1060 if (psectsz > sectsz) {
1062 buf[106] |= ffsl(psectsz / sectsz) - 1;
1063 buf[209] |= (psectoff / sectsz);
1065 if (sectsz > 512) {
1067 buf[117] = sectsz / 2;
1068 buf[118] = ((sectsz / 2) >> 16);
/freebsd-10-stable/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c225 uint32_t status, sectsz; local
267 sectsz = resp->nvs_sectsz;
276 if (sectsz == 0 || sectsz % sizeof(uint32_t) != 0) {
280 if (sectsz == 0) {
285 "buffers, section size: %u\n", sectsz);
293 sc->hn_chim_szmax = sectsz;

Completed in 61 milliseconds