Searched refs:sc_tail (Results 1 – 3 of 3) sorted by relevance
99 int sc_tail; member281 next = (sc->sc_tail + 1) % HIDRAW_BUFFER_SIZE; in hidraw_intr()285 bcopy(buf, sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize, len); in hidraw_intr()289 bzero(sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize + len, in hidraw_intr()292 sc->sc_qlen[sc->sc_tail] = len; in hidraw_intr()293 sc->sc_tail = next; in hidraw_intr()377 sc->sc_head = sc->sc_tail = 0; in hidraw_open()395 sc->sc_tail = sc->sc_head = 0; in hidraw_dtor()439 while (sc->sc_tail == sc->sc_head && !sc->sc_state.flush) { in hidraw_read()457 while (sc->sc_tail != sc->sc_head && uio->uio_resid > 0) { in hidraw_read()[all …]
55 off_t sc_tail; member
358 if (bp->bio_offset + bp->bio_length > sc->sc_tail) in g_cache_start()532 sc->sc_tail = BNO2OFF(OFF2BNO(newpp->mediasize, sc), sc); in g_cache_create()987 (uintmax_t)sc->sc_tail); in g_cache_dumpconf()