Home
last modified time | relevance | path

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

/netbsd-src/sys/kern/
H A Dtty_subr.c82 clp->c_cn = size; in clalloc()
92 kmem_free(clp->c_cs, clp->c_cn); in clfree()
94 kmem_free(clp->c_cq, QMEM(clp->c_cn)); in clfree()
192 if (i == clp->c_cn) in ndqb()
198 if (i == clp->c_cn) in ndqb()
251 if (clp->c_cc == clp->c_cn) in putc()
259 if (clalloc(clp, clp->c_cn, 1)) { in putc()
340 if (clp->c_cc == clp->c_cn) in b_to_q()
348 if (clalloc(clp, clp->c_cn, 1)) in b_to_q()
355 while (count > 0 && clp->c_cc < clp->c_cn) { in b_to_q()
H A Dtty_pty.c988 nwrite = tp->t_canq.c_cn; in filt_ptcwrite()
991 nwrite = tp->t_canq.c_cn in filt_ptcwrite()
H A Dtty.c1112 *(int *)data = tp->t_outq.c_cn - tp->t_outq.c_cc; in ttioctl()
1627 kn->kn_data = tp->t_outq.c_cn - tp->t_outq.c_cc; in filt_ttywrite()
/netbsd-src/sys/net/
H A Dif_sl.c364 if (tp->t_outq.c_cn < 2 * SLMAX + 2) { in slopen()
365 sc->sc_oldbufsize = tp->t_outq.c_cn; in slopen()
738 if (tp->t_outq.c_cn - tp->t_outq.c_cc < in slintr()
/netbsd-src/sys/dev/qbus/
H A Ddhu.c294 bus_dmamap_create(sc->sc_dmat, tp->t_outq.c_cn, 1, in dhu_attach()
295 tp->t_outq.c_cn, 0, BUS_DMA_ALLOCNOW|BUS_DMA_NOWAIT, in dhu_attach()
298 tp->t_outq.c_cs, tp->t_outq.c_cn, 0, BUS_DMA_NOWAIT); in dhu_attach()
/netbsd-src/sys/sys/
H A Dtty.h91 int c_cn; /* total ring buffer length */ member