Home
last modified time | relevance | path

Searched refs:seg_max (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.h62 uint32_t seg_max; member
H A Dvirtio_blk.c688 nsegs += MIN(blkcfg->seg_max, maxphys / PAGE_SIZE + 1); in vtblk_maximum_segments()
1355 VTBLK_GET_CONFIG(dev, VIRTIO_BLK_F_SEG_MAX, seg_max, blkcfg); in vtblk_read_config()
/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsi.h100 uint32_t seg_max; member
H A Dvirtio_scsi.c303 sc->vtscsi_max_nsegs = vtscsi_maximum_segments(sc, scsicfg.seg_max); in vtscsi_attach()
456 VTSCSI_GET_CONFIG(dev, seg_max, scsicfg); in vtscsi_read_config()
470 vtscsi_maximum_segments(struct vtscsi_softc *sc, int seg_max) in vtscsi_maximum_segments() argument
476 if (seg_max > 0) { in vtscsi_maximum_segments()
477 nsegs += MIN(seg_max, maxphys / PAGE_SIZE + 1); in vtscsi_maximum_segments()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_scsi.c93 uint32_t seg_max; member
310 .seg_max = VTSCSI_MAXSEG - 2, in pci_vtscsi_reset()
/freebsd/sys/dev/beri/virtio/
H A Dvirtio_block.c389 cfg->seg_max = htobe32(VTBLK_MAXSEGS); in backend_info()