Home
last modified time | relevance | path

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

/openbsd/sys/dev/pv/
H A Dviocon.c176 int maxports = 1; in viocon_attach() local
183 sc->sc_max_ports = maxports; in viocon_attach()
185 vsc->sc_vqs = malloc(2 * (maxports + 1) * sizeof(struct virtqueue), M_DEVBUF, in viocon_attach()
187 sc->sc_ports = malloc(maxports * sizeof(sc->sc_ports[0]), M_DEVBUF, in viocon_attach()
211 free(vsc->sc_vqs, M_DEVBUF, 2 * (maxports + 1) * sizeof(struct virtqueue)); in viocon_attach()
212 free(sc->sc_ports, M_DEVBUF, maxports * sizeof(sc->sc_ports[0])); in viocon_attach()