Home
last modified time | relevance | path

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

/freebsd/sys/dev/safe/
H A Dsafevar.h98 struct safe_ringentry { struct
151 struct safe_ringentry *sc_ring; /* PE ring */
152 struct safe_ringentry *sc_ringtop; /* PE ring top */
153 struct safe_ringentry *sc_front; /* next free entry */
154 struct safe_ringentry *sc_back; /* next pending entry */
H A Dsafe.c123 static void safe_callback(struct safe_softc *, struct safe_ringentry *);
124 static void safe_feed(struct safe_softc *, struct safe_ringentry *);
144 static int safe_free_entry(struct safe_softc *, struct safe_ringentry *);
154 struct safe_ringentry *);
315 SAFE_MAX_NQUEUE * sizeof (struct safe_ringentry), in safe_attach()
324 sc->sc_ring = (struct safe_ringentry *) sc->sc_ringalloc.dma_vaddr; in safe_attach()
329 bzero(sc->sc_ring, SAFE_MAX_NQUEUE * sizeof(struct safe_ringentry)); in safe_attach()
331 struct safe_ringentry *re = &sc->sc_ring[i]; in safe_attach()
334 offsetof(struct safe_ringentry, re_sa); in safe_attach()
336 offsetof(struct safe_ringentry, re_sastate); in safe_attach()
[all …]