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: * @(#)kernel.h 1.3 (2.11BSD GTE) 1997/2/14
7: */
8:
9: /*
10: * Global variables for the kernel
11: */
12:
13: #ifdef SUPERVISOR
14: long startnet; /* start of network data space */
15: #else
16: memaddr malloc();
17:
18: /* 1.1 */
19: long hostid;
20: char hostname[MAXHOSTNAMELEN];
21: int hostnamelen;
22:
23: /* 1.2 */
24: #include <sys/time.h>
25:
26: struct timeval boottime;
27: struct timeval time;
28: struct timezone tz; /* XXX */
29: int adjdelta;
30: int hz;
31: int mshz; /* # milliseconds per hz */
32: int lbolt; /* awoken once a second */
33: int realitexpire();
34:
35: short avenrun[3];
36: #endif
Defined variables
hz
defined in line
30; used 62 times
- in /usr/src/sys/net/if.c line
212,
221
- in /usr/src/sys/netinet/if_ether.c line
86,
464
- in /usr/src/sys/netinet/ip_icmp.c line
448-452(2)
- in /usr/src/sys/pdpuba/dh.c line
142,
619,
638
- in /usr/src/sys/pdpuba/dr.c line
75,
315
- in /usr/src/sys/pdpuba/dz.c line
111,
561
- in /usr/src/sys/pdpuba/lp.c line
94,
285,
296
- in /usr/src/sys/pdpuba/ra.c line
377,
419
- in /usr/src/sys/pdpuba/tm.c line
169,
586
- in /usr/src/sys/pdpuba/tmscp.c line
662,
707,
836
- in /usr/src/sys/sys/kern_acct.c line
40-41(2)
- in /usr/src/sys/sys/kern_clock.c line
110,
137-138(2),
253,
355-357(3)
- in /usr/src/sys/sys/kern_resource.c line
168-175(4),
199-201(2),
260-263(4)
- in /usr/src/sys/sys/kern_synch.c line
72
- in /usr/src/sys/sys/kern_sysctl.c line
730-733(3)
- in /usr/src/sys/sys/kern_time.c line
129,
135-136(2),
148-149(2),
181-182(2),
228-233(4),
251-252(2)
- in /usr/src/sys/sys/tty.c line
1303
- in /usr/src/sys/sys/uipc_domain.c line
165,
177
lbolt
defined in line
32; used 26 times
mshz
defined in line
31; used 10 times
time
defined in line
27; used 61 times
- in /usr/src/sys/netinet/ip_icmp.c line
447-450(2)
- in /usr/src/sys/netinet/ip_input.c line
65,
79
- in /usr/src/sys/netns/ns_error.c line
270(2)
- in /usr/src/sys/netns/ns_input.c line
60,
67
- in /usr/src/sys/sys/init_main.c line
197-200(3)
- in /usr/src/sys/sys/kern_acct.c line
42
- in /usr/src/sys/sys/kern_clock.c line
139,
352-355(3)
- in /usr/src/sys/sys/kern_fork.c line
78
- in /usr/src/sys/sys/kern_time.c line
37,
94,
101-103(3),
133-137(2)
- in /usr/src/sys/sys/sys_generic.c line
384-385(2),
398(2)
- in /usr/src/sys/sys/sys_inode.c line
321(2),
404-408(3)
- in /usr/src/sys/sys/ufs_alloc.c line
79
- in /usr/src/sys/sys/ufs_inode.c line
328(2),
351(2),
392,
401,
583(2)
- in /usr/src/sys/sys/ufs_subr.c line
100(2)
- in /usr/src/sys/sys/ufs_syscalls.c line
265(2),
852(2),
926(2),
1123(2),
1203(2),
1213(2)
- in /usr/src/sys/sys/ufs_syscalls2.c line
154,
190(2),
275
- in /usr/src/sys/sys/vm_sched.c line
178
tz
defined in line
28; used 3 times
Usage of this include