Home
last modified time | relevance | path

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

/mirbsd/src/sys/kern/
Dtty_tb.c124 register struct tb *tbp; local
129 for (tbp = tb; tbp < &tb[NTB]; tbp++)
130 if (tbp->tbflags == 0)
132 if (tbp >= &tb[NTB])
134 tbp->tbflags = TBTIGER|TBPOINT; /* default */
135 tbp->tbcp = tbp->cbuf;
136 tbp->tbinbuf = 0;
137 bzero((caddr_t)&tbp->tbpos, sizeof (tbp->tbpos));
138 tp->t_sc = (caddr_t)tbp;
164 struct tb *tbp = (struct tb *)tp->t_sc; local
[all …]
Dvfs_cluster.c283 struct buf *tbp; local
323 tbp = getblk(vp, lbn + i, 0, 0, 0);
333 if (tbp->b_bufsize != 0) {
334 caddr_t bdata = tbp->b_data;
340 if (tbp->b_bufsize + size > MAXBSIZE) {
342 if (tbp->b_bufsize > MAXBSIZE)
346 tbp->b_flags |= B_INVAL;
347 brelse(tbp);
350 pagemove(bdata, bdata + tbp->b_bufsize, size);
352 tbp->b_blkno = bn;
[all …]
/mirbsd/src/lib/libcompat/4.1/
Dftime.c68 ftime(tbp) in ftime() argument
69 struct timeb *tbp; in ftime()
78 tbp->millitm = (unsigned short)(t.tv_usec / 1000);
79 tbp->time = t.tv_sec;
84 tbp->timezone = -((lt->tm_isdst ? (lt->tm_gmtoff - 3600) :
86 tbp->dstflag = lt->tm_isdst;
88 tbp->timezone = tz.tz_minuteswest;
89 tbp->dstflag = tz.tz_dsttime;
/mirbsd/src/usr.bin/vi/ex/
Dex_join.c40 char *bp, *p, *tbp; local
92 tbp = bp + clen;
116 *tbp++ = ' ';
120 *tbp++ = ' ';
127 memcpy(tbp, p, len);
128 tbp += len;
154 sp->cno = (tbp - bp) - (1 + extra);
157 sp->cno = (tbp - bp) - len - (1 + extra);
167 if (!first && db_set(sp, from, bp, tbp - bp)) {
Dex_shift.c67 char *p, *bp, *tbp; local
137 for (tbp = bp, newidx = 0;
139 *tbp++ = '\t';
143 *tbp++ = ' ';
146 memcpy(tbp, p + oldidx, len - oldidx);
149 if (db_set(sp, from, bp, (tbp + (len - oldidx)) - bp)) {
/mirbsd/src/usr.bin/telnet/
Dtelnet.c1958 unsigned char *tbp = ttyiring.consume; in telsnd() local
1972 tbp = ttyiring.consume; in telsnd()
1978 c = *tbp++ & 0xff, sc = strip(c), tcc--; count++; in telsnd()
1999 command(0, (char *)tbp, tcc); in telsnd()
2008 --tbp; in telsnd()
2019 if (tcc && strip(*tbp) == escape) { in telsnd()
2020 tbp++; in telsnd()
2025 command(0, (char *)tbp, tcc); in telsnd()
2036 if (tcc > 0 && strip(*tbp) == echoc) { in telsnd()
2037 tcc--; tbp++; count++; in telsnd()