/src/sys/dev/pci/ |
vioscsi.c | 65 u_int32_t sc_seg_max; member in struct:vioscsi_softc 148 sc->sc_seg_max = seg_max; 623 r = bus_dmamap_create(virtio_dmat(vsc), MAXPHYS, sc->sc_seg_max,
|
vioscsi.c | 65 u_int32_t sc_seg_max; member in struct:vioscsi_softc 148 sc->sc_seg_max = seg_max; 623 r = bus_dmamap_create(virtio_dmat(vsc), MAXPHYS, sc->sc_seg_max,
|
ld_virtio.c | 168 uint32_t sc_seg_max; /* max number of segs in xfer */ member in struct:ld_virtio_softc 273 /*nseg*/sc->sc_seg_max, 351 sc->sc_seg_max = virtio_read_device_config_4(vsc, 353 if (sc->sc_seg_max == 0) { 355 "Invalid SEG_MAX %d\n", sc->sc_seg_max); 359 sc->sc_seg_max = 1; 361 "Unknown SEG_MAX, assuming %"PRIu32"\n", sc->sc_seg_max); 368 if (sc->sc_size_max < MAXPHYS/sc->sc_seg_max) { 371 sc->sc_size_max, MAXPHYS/sc->sc_seg_max); 373 sc->sc_size_max = MAXPHYS/sc->sc_seg_max; [all...] |
ld_virtio.c | 168 uint32_t sc_seg_max; /* max number of segs in xfer */ member in struct:ld_virtio_softc 273 /*nseg*/sc->sc_seg_max, 351 sc->sc_seg_max = virtio_read_device_config_4(vsc, 353 if (sc->sc_seg_max == 0) { 355 "Invalid SEG_MAX %d\n", sc->sc_seg_max); 359 sc->sc_seg_max = 1; 361 "Unknown SEG_MAX, assuming %"PRIu32"\n", sc->sc_seg_max); 368 if (sc->sc_size_max < MAXPHYS/sc->sc_seg_max) { 371 sc->sc_size_max, MAXPHYS/sc->sc_seg_max); 373 sc->sc_size_max = MAXPHYS/sc->sc_seg_max; [all...] |