Searched refs:sectsz (Results 1 - 5 of 5) sorted by relevance
/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | pci_virtio_block.c | 400 int i, sectsz, sts, sto; local 418 sectsz = blockif_sectsz(bctxt); 470 sc->vbsc_cfg.vbc_blk_size = sectsz; 472 (sts > sectsz) ? (ffsll(sts / sectsz) - 1) : 0; 474 (sto != 0) ? ((sts - sto) / sectsz) : 0; 480 sc->vbsc_cfg.discard_sector_alignment = sectsz / VTBLK_BSIZE;
|
H A D | block_if.c | 412 int extra, fd, i, sectsz; local 494 sectsz = DEV_BSIZE; 499 ioctl(fd, DIOCGSECTORSIZE, §sz)) { 504 assert(sectsz != 0); 537 if (ssopt < sectsz || (ssopt % sectsz) != 0) { 540 ssopt, sectsz); 545 sectsz = ssopt; 563 bc->bc_sectsz = sectsz;
|
H A D | pci_nvme.c | 37 * -s <n>,nvme,devpath,maxq=#,qsz=#,ioslots=#,sectsz=#,ser=A-Z,eui64=#,dsm=<opt> 47 * sectsz = sector size (defaults to blockif sector size) 190 uint32_t sectsz; member in struct:pci_nvme_blockstore 566 nd->nsze = nvstore->size / nvstore->sectsz; 2615 uint32_t sectsz; local 2624 sectsz = 0; 2643 } else if (!strcmp("sectsz", xopts)) { 2644 sectsz = atoi(config); 2659 sc->nvstore.sectsz = 4096; 2700 if (sectsz [all...] |
H A D | pci_ahci.c | 1031 int sectsz, psectsz, psectoff, candelete, ro; local 1037 sectsz = blockif_sectsz(p->bctx); 1038 sectors = blockif_size(p->bctx) / sectsz; 1103 if (psectsz > sectsz) { 1105 ata_ident->pss |= ffsl(psectsz / sectsz) - 1; 1106 ata_ident->lsalign |= (psectoff / sectsz); 1108 if (sectsz > 512) { 1110 ata_ident->lss_1 = sectsz / 2; 1111 ata_ident->lss_2 = ((sectsz / 2) >> 16);
|
/freebsd-12-stable/sys/dev/hyperv/netvsc/ |
H A D | hn_nvs.c | 227 uint32_t status, sectsz; local 269 sectsz = resp->nvs_sectsz; 278 if (sectsz == 0 || sectsz % sizeof(uint32_t) != 0) { 282 if (sectsz == 0) { 287 "buffers, section size: %u\n", sectsz); 295 sc->hn_chim_szmax = sectsz;
|
Completed in 91 milliseconds