Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dtty_inq.c72 #define GETBIT(tib,boff) \ argument
73 ((tib)->tib_quotes[(boff) / BMSIZE] & (1 << ((boff) % BMSIZE)))
75 ((tib)->tib_quotes[(boff) / BMSIZE] |= (1 << ((boff) % BMSIZE)))
77 ((tib)->tib_quotes[(boff) / BMSIZE] &= ~(1 << ((boff) % BMSIZE)))
285 unsigned int boff; in ttyinq_write() local
365 while (boff < bend) { in ttyinq_findchar()
366 if (strchr(breakc, tib->tib_data[boff]) && !GETBIT(tib, boff)) { in ttyinq_findchar()
370 boff++; in ttyinq_findchar()
397 unsigned int boff; in ttyinq_peekchar() local
450 unsigned int boff; in ttyinq_line_iterate() local
[all …]
H A Dtty_outq.c284 unsigned int boff; in ttyoutq_write() local
288 boff = to->to_end % TTYOUTQ_DATASIZE; in ttyoutq_write()
299 } else if (boff == 0) { in ttyoutq_write()
312 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write()
314 memcpy(tob->tob_data + boff, cbuf, l); in ttyoutq_write()