Searched refs:trace_q (Results 1 – 3 of 3) sorted by relevance
88 struct tws_trace_rec *rec = (struct tws_trace_rec *)sc->trace_q.q; in tws_trace()92 head = sc->trace_q.head; in tws_trace()93 tail = sc->trace_q.tail; in tws_trace()104 tail = (tail+1) % sc->trace_q.depth; in tws_trace()107 sc->trace_q.overflow = 1; in tws_trace()108 sc->trace_q.head = (head+1) % sc->trace_q.depth; in tws_trace()110 sc->trace_q.tail = tail; in tws_trace()
420 free(sc->trace_q.q, M_TWS); in tws_detach()652 sc->trace_q.head=0; in tws_init_trace_q()653 sc->trace_q.tail=0; in tws_init_trace_q()654 sc->trace_q.depth=256; in tws_init_trace_q()655 sc->trace_q.overflow=0; in tws_init_trace_q()656 sc->trace_q.q = malloc(sizeof(struct tws_trace_rec)*sc->trace_q.depth, in tws_init_trace_q()
247 struct tws_circular_q trace_q; /* trace q */ member