Lines Matching refs:callout
1307 struct callout { struct
1311 struct callout *c_next; argument
1314 static struct callout *callout = NULL; /* Callout list */ variable
1326 struct callout *newp, *p, **pp;
1331 if ((newp = (struct callout *) malloc(sizeof(struct callout))) == NULL)
1346 for (pp = &callout; (p = *pp); pp = &p->c_next)
1364 struct callout **copp, *freep;
1369 for (copp = &callout; (freep = *copp); copp = &freep->c_next)
1384 struct callout *p; in calltimeout()
1386 while (callout != NULL) { in calltimeout()
1387 p = callout; in calltimeout()
1396 callout = p->c_next; in calltimeout()
1411 if (callout == NULL)
1415 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
1416 tvp->tv_usec = callout->c_time.tv_usec - timenow.tv_usec;