Lines Matching defs:up
68 shm_start, /* start up driver */
188 struct shmunit *up;
196 up = (struct shmunit *) emalloc(sizeof(*up));
197 if (up == NULL)
199 memset((char *)up, 0, sizeof(*up));
200 pp->unitptr = (caddr_t)up;
202 up->shm = getShmTime(unit);
208 if (up->shm != 0) {
209 up->shm->precision = PRECISION;
210 peer->precision = up->shm->precision;
211 up->shm->valid=0;
212 up->shm->nsamples=NSAMPLES;
232 struct shmunit *up;
235 up = (struct shmunit *)pp->unitptr;
238 (void) shmdt ((char *)up->shm);
240 UnmapViewOfFile (up->shm);
300 struct shmunit *up;
308 up = (struct shmunit*)pp->unitptr;
309 up->ticks++;
310 if (up->shm == 0) {
313 up->shm = getShmTime(unit);
315 shm = up->shm;
370 up->clash++;
376 up->notready++;
381 up->bad++;
384 up->good++;
397 struct shmunit *up;
401 up = (struct shmunit*)pp->unitptr;
406 up->ticks, up->good, up->notready, up->bad, up->clash);
409 up->ticks = up->good = up->notready =up->bad = up->clash = 0;