Lines Matching refs:tp
118 register struct tbuf *tp; in loop() local
128 for(tp = tbuf; tp < &tbuf[TSIZE]; tp++) in loop()
129 tp->ttime += ibuf.ut_time-dtime; in loop()
175 tp = &tbuf[i]; in loop()
176 update(tp, 0); in loop()
204 register struct tbuf *tp; in upall() local
206 for (tp=tbuf; tp < &tbuf[TSIZE]; tp++) in upall()
207 update(tp, f); in upall()
210 update(tp, f)
211 struct tbuf *tp; variable
221 if (tp->userp) {
222 t1 = t - tp->ttime;
224 tp->userp->utime += t1;
226 tp->ttime = t;
230 tp->userp = 0;
242 tp->userp = up;