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 | 749 nsegs += MIN(blkcfg->seg_max, maxphys / PAGE_SIZE + 1); in vtblk_maximum_segments() 1525 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 | 302 sc->vtscsi_max_nsegs = vtscsi_maximum_segments(sc, scsicfg.seg_max); in vtscsi_attach() 455 VTSCSI_GET_CONFIG(dev, seg_max, scsicfg); in vtscsi_read_config() 469 vtscsi_maximum_segments(struct vtscsi_softc *sc, int seg_max) in vtscsi_maximum_segments() argument 475 if (seg_max > 0) { in vtscsi_maximum_segments() 476 nsegs += MIN(seg_max, maxphys / PAGE_SIZE + 1); in vtscsi_maximum_segments()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | pci_virtio_scsi.c | 94 uint32_t seg_max; member 365 .seg_max = VTSCSI_MAXSEG - 2, in pci_vtscsi_reset()
|