Searched refs:seg_max (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/virtio/block/ |
H A D | virtio_blk.h | 62 uint32_t seg_max; member
|
H A D | virtio_blk.c | 688 nsegs += MIN(blkcfg->seg_max, maxphys / PAGE_SIZE + 1); in vtblk_maximum_segments() 1362 VTBLK_GET_CONFIG(dev, VIRTIO_BLK_F_SEG_MAX, seg_max, blkcfg); in vtblk_read_config()
|
/freebsd/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.h | 100 uint32_t seg_max; member
|
H A D | virtio_scsi.c | 303 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 D | pci_virtio_scsi.c | 93 uint32_t seg_max; member 310 .seg_max = VTSCSI_MAXSEG - 2, in pci_vtscsi_reset()
|