Searched refs:pstroke (Results 1 – 1 of 1) sorted by relevance
831 atp_stroke_t *pstroke; in atp_alloc_stroke() local833 pstroke = TAILQ_FIRST(&sc->sc_stroke_free); in atp_alloc_stroke()834 if (pstroke == NULL) in atp_alloc_stroke()837 TAILQ_REMOVE(&sc->sc_stroke_free, pstroke, entry); in atp_alloc_stroke()838 memset(pstroke, 0, sizeof(*pstroke)); in atp_alloc_stroke()839 TAILQ_INSERT_TAIL(&sc->sc_stroke_used, pstroke, entry); in atp_alloc_stroke()843 return (pstroke); in atp_alloc_stroke()847 atp_free_stroke(struct atp_softc *sc, atp_stroke_t *pstroke) in atp_free_stroke() argument849 if (pstroke == NULL) in atp_free_stroke()854 TAILQ_REMOVE(&sc->sc_stroke_used, pstroke, entry); in atp_free_stroke()[all …]