# 2.11BSD#431 - /usr/src/sys/h/callout.h

##### Variables

    callfree          X
    callout           X
    calltodo          X
    ncallout          X

##### struct's

    callout           X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)callout.h	1.1 (2.10BSD Berkeley) 12/1/86
       7:  */
       8:
       9: /*
      10:  * The callout structure is for
      11:  * a routine arranging
      12:  * to be called by the clock interrupt
      13:  * (clock.c) with a specified argument,
      14:  * in a specified amount of time.
      15:  * Used, for example, to time tab
      16:  * delays on typewriters.
      17:  *
      18:  * The c_time field is stored in terms of ticks.  Therefore, no callout
      19:  * may be scheduled past around 8 minutes on a 60 HZ machine.  This is
      20:  * good as it avoids long operations on clock ticks.  If you are ever
      21:  * forced to use a long, you might as well start doing the real-time
      22:  * timer as a timeout like 4.3BSD.
      23:  */
      24:
      25: struct  callout {
      26:     int c_time;     /* incremental time */
      27:     caddr_t c_arg;      /* argument to routine */
      28:     int (*c_func)();    /* routine */
      29:     struct  callout *c_next;
      30: };
      31: #if defined(KERNEL) && !defined(SUPERVISOR)
      32: struct  callout *callfree, callout[], calltodo;
      33: int ncallout;
      34: #endif

#### Defined variables

callfree defined in line 32; used 7 times

- in /usr/src/sys/pdp/machdep2.c line 254
- in /usr/src/sys/sys/kern_clock.c line 226-227(2), 273-276(2), 307-308(2)

callout defined in line 32; used 9 times

- in /usr/src/new/crash/crash.c line 931-940(6)
- in /usr/src/sys/pdp/machdep2.c line 254-256(3)

calltodo defined in line 32; used 5 times

- in /usr/src/sys/sys/kern_clock.c line 54, 220-225(2), 279, 302

ncallout defined in line 33; used 6 times

- in /usr/src/new/crash/crash.c line 497(2), 931-937(3)
- in /usr/src/sys/pdp/machdep2.c line 255

#### Defined struct's

callout defined in line 25; used 40 times

- in line 29-32(4)
- in /usr/src/new/crash/crash.c line 106(2), 213-216(8), 927-936(10)
- in /usr/src/sys/CURLY/param.c line 70(2)
- in /usr/src/sys/GENERIC/param.c line 70(2)
- in /usr/src/sys/QT/param.c line 70(2)
- in /usr/src/sys/conf/param.c line 70(2)
- in /usr/src/sys/sys/kern_clock.c line 37(2), 214(2), 268(2), 298(2)

#### Usage of this include

callout.h used 7 times

- in /usr/src/new/crash/crash.c line 80
- in /usr/src/sys/CURLY/param.c line 21
- in /usr/src/sys/GENERIC/param.c line 21
- in /usr/src/sys/QT/param.c line 21
- in /usr/src/sys/conf/param.c line 21
- in /usr/src/sys/pdp/machdep2.c line 24
- in /usr/src/sys/sys/kern_clock.c line 15

Last modified: 1988-04-30 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 512 |