1: /*
2: * Copyright (c) 1982, 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: * @(#)kernel.h 7.1 (Berkeley) 6/4/86
7: */
8:
9: /*
10: * Global variables for the kernel
11: */
12:
13: long rmalloc();
14:
15: /* 1.1 */
16: long hostid;
17: char hostname[MAXHOSTNAMELEN];
18: int hostnamelen;
19:
20: /* 1.2 */
21: struct timeval boottime;
22: struct timeval time;
23: struct timezone tz; /* XXX */
24: int hz;
25: int phz; /* alternate clock's frequency */
26: int tick;
27: int lbolt; /* awoken once a second */
28: int realitexpire();
29:
30: double avenrun[3];
31:
32: #ifdef GPROF
33: extern int profiling;
34: extern char *s_lowpc;
35: extern u_long s_textsize;
36: extern u_short *kcount;
37: #endif
Defined variables
hz
defined in line
24; used 59 times
- in /usr/src/sys/net/if.c line
195
- in /usr/src/sys/netimp/if_imp.c line
258
- in /usr/src/sys/netinet/if_ether.c line
70,
424
- in /usr/src/sys/sys/kern_acct.c line
120
- in /usr/src/sys/sys/kern_clock.c line
422-423(2)
- in /usr/src/sys/sys/kern_synch.c line
33,
46,
100
- in /usr/src/sys/sys/kern_xxx.c line
306-307(2)
- in /usr/src/sys/sys/tty.c line
1065
- in /usr/src/sys/sys/uipc_domain.c line
119,
131
- in /usr/src/sys/sys/vm_sched.c line
347
- in /usr/src/sys/vax/clock.c line
40
- in /usr/src/sys/vax/machdep.c line
534
- in /usr/src/sys/vax/sys_machdep.c line
67
- in /usr/src/sys/vax/tu.c line
114,
666-670(2),
701,
729
- in /usr/src/sys/vaxif/if_dmc.c line
225,
937
- in /usr/src/sys/vaxuba/dh.c line
65,
206,
650,
669
- in /usr/src/sys/vaxuba/dhu.c line
267
- in /usr/src/sys/vaxuba/dmf.c line
962
- in /usr/src/sys/vaxuba/dz.c line
51,
135,
616
- in /usr/src/sys/vaxuba/idc.c line
190,
771
- in /usr/src/sys/vaxuba/lp.c line
127,
320,
330
- in /usr/src/sys/vaxuba/rk.c line
163,
702
- in /usr/src/sys/vaxuba/rl.c line
163,
650
- in /usr/src/sys/vaxuba/rx.c line
205,
718
- in /usr/src/sys/vaxuba/tm.c line
257,
757
- in /usr/src/sys/vaxuba/up.c line
196,
972
- in /usr/src/sys/vaxuba/ut.c line
183,
681
- in /usr/src/sys/vaxuba/uu.c line
144,
745,
839
- in /usr/src/sys/vaxuba/va.c line
353
- in /usr/src/sys/vaxuba/vp.c line
301
- in /usr/src/sys/vaxuba/vs.c line
748,
790
lbolt
defined in line
27; used 16 times
phz
defined in line
25; used 5 times
tick
defined in line
26; used 16 times
time
defined in line
22; used 91 times
- in /usr/src/sys/netinet/ip_input.c line
69
- in /usr/src/sys/netns/ns_error.c line
243(2)
- in /usr/src/sys/netns/ns_input.c line
53,
60
- in /usr/src/sys/sys/init_main.c line
142
- in /usr/src/sys/sys/kern_acct.c line
112
- in /usr/src/sys/sys/kern_clock.c line
204,
215,
418-421(3)
- in /usr/src/sys/sys/kern_fork.c line
85
- in /usr/src/sys/sys/kern_time.c line
76-77(2),
168-171(2),
213,
244
- in /usr/src/sys/sys/kern_xxx.c line
154,
160-164(2),
171,
187-188(3),
207-208(2),
214
- in /usr/src/sys/sys/sys_generic.c line
296,
306-307(3)
- in /usr/src/sys/sys/sys_inode.c line
275(2)
- in /usr/src/sys/sys/ufs_alloc.c line
509,
569,
764,
846,
935
- in /usr/src/sys/sys/ufs_inode.c line
295(2),
318(2),
354,
395(2)
- in /usr/src/sys/sys/ufs_subr.c line
68,
80(2),
143(2)
- in /usr/src/sys/sys/ufs_syscalls.c line
269(2),
863(2),
927(2),
1123(2),
1197(2),
1207(2)
- in /usr/src/sys/sys/ufs_xxx.c line
86(2)
- in /usr/src/sys/sys/vm_mon.c line
68(2)
- in /usr/src/sys/sys/vm_sched.c line
312
- in /usr/src/sys/vax/clock.c line
69,
78,
94-99(4),
106,
112,
128
- in /usr/src/sys/vax/ka630.c line
70,
77-81(2),
96,
119
- in /usr/src/sys/vax/machdep.c line
280,
1167
- in /usr/src/sys/vaxif/if_hy.c line
1398
- in /usr/src/sys/vaxuba/kgclock.c line
87-92(3)
- in /usr/src/sys/vaxuba/uba.c line
425-429(2)
tz
defined in line
23; used 5 times
Usage of this include