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

##### Variables

    adjdelta          X
    avenrun           X
    boottime          X
    hostid            X
    hostname          X
    hostnamelen       X
    hz                X
    lbolt             X
    mshz              X
    startnet          X
    time              X
    tz                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:  *	@(#)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

adjdelta defined in line 29; used 8 times

- in /usr/src/sys/sys/kern_clock.c line 129-135(4)
- in /usr/src/sys/sys/kern_time.c line 145-150(4)

avenrun defined in line 35; used 4 times

- in /usr/src/sys/sys/kern_sysctl.c line 440-442(3)
- in /usr/src/sys/sys/vm_sched.c line 300

boottime defined in line 26; used 3 times

- in /usr/src/sys/sys/init_main.c line 200
- in /usr/src/sys/sys/kern_sysctl.c line 251
- in /usr/src/sys/sys/kern_time.c line 101

hostid defined in line 19; used 2 times

- in /usr/src/sys/sys/kern_sysctl.c line 244-246(2)

hostname defined in line 20; used 2 times

- in /usr/src/sys/sys/kern_sysctl.c line 239(2)

hostnamelen defined in line 21; used 1 times

- in /usr/src/sys/sys/kern_sysctl.c line 241

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

- in /usr/src/sys/netinet/ip_icmp.c line 448-452(2)
- in /usr/src/sys/pdpuba/dn.c line 71-72(2)
- in /usr/src/sys/pdpuba/lp.c line 247
- in /usr/src/sys/pdpuba/tm.c line 143
- in /usr/src/sys/sys/kern_clock.c line 131-138(4)
- in /usr/src/sys/sys/kern_synch.c line 36
- in /usr/src/sys/sys/kern_time.c line 37, 103, 134-136(3)
- in /usr/src/sys/sys/sys_generic.c line 384, 399
- in /usr/src/sys/sys/tty.c line 338, 1163, 1240, 1353, 1408, 1437
- in /usr/src/sys/sys/tty_pty.c line 117
- in /usr/src/sys/sys/ufs_alloc.c line 118

mshz defined in line 31; used 10 times

- in /usr/src/sys/sys/kern_resource.c line 261-263(2)
- in /usr/src/sys/sys/kern_sysctl.c line 731
- in /usr/src/sys/sys/kern_time.c line 38, 103, 129-134(2), 149
- in /usr/src/sys/sys/sys_generic.c line 384, 399

startnet defined in line 14; used 5 times

- in /usr/src/sys/pdpif/if_qe.c line 262-264(3)
- in /usr/src/sys/pdpif/if_qt.c line 216-219(2)

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

- in /usr/src/sys/sys/kern_time.c line 45-46(2), 71

#### Usage of this include

kernel.h used 44 times

- in /usr/src/sys/net/if.c line 22
- in /usr/src/sys/netinet/if_ether.c line 31
- in /usr/src/sys/netinet/in_pcb.c line 30
- in /usr/src/sys/netinet/ip_icmp.c line 21
- in /usr/src/sys/netinet/ip_input.c line 23
- in /usr/src/sys/netns/ns_error.c line 22
- in /usr/src/sys/netns/ns_input.c line 25
- in /usr/src/sys/pdp/kern_pdp.c line 16
- in /usr/src/sys/pdpif/if_qe.c line 122
- in /usr/src/sys/pdpif/if_qt.c line 69
- in /usr/src/sys/pdpuba/dh.c line 32
- in /usr/src/sys/pdpuba/dhu.c line 38
- in /usr/src/sys/pdpuba/dhv.c line 45
- in /usr/src/sys/pdpuba/dn.c line 15
- in /usr/src/sys/pdpuba/dr.c line 25
- in /usr/src/sys/pdpuba/dz.c line 28
- in /usr/src/sys/pdpuba/lp.c line 23
- in /usr/src/sys/pdpuba/ra.c line 149
- in /usr/src/sys/pdpuba/tm.c line 23
- in /usr/src/sys/pdpuba/tmscp.c line 263
- in /usr/src/sys/sys/init_main.c line 27
- in /usr/src/sys/sys/kern_acct.c line 19
- in /usr/src/sys/sys/kern_clock.c line 17
- in /usr/src/sys/sys/kern_exit.c line 21
- in /usr/src/sys/sys/kern_fork.c line 22
- in /usr/src/sys/sys/kern_resource.c line 14
- in /usr/src/sys/sys/kern_sig2.c line 59
- in /usr/src/sys/sys/kern_synch.c line 18
- in /usr/src/sys/sys/kern_sysctl.c line 48
- in /usr/src/sys/sys/kern_time.c line 12
- in /usr/src/sys/sys/kern_xxx.c line 13
- in /usr/src/sys/sys/sys_generic.c line 21
- in /usr/src/sys/sys/sys_inode.c line 25
- in /usr/src/sys/sys/tty.c line 18
- in /usr/src/sys/sys/tty_pty.c line 25
- in /usr/src/sys/sys/ufs_alloc.c line 17
- in /usr/src/sys/sys/ufs_inode.c line 17
- in /usr/src/sys/sys/ufs_subr.c line 18
- in /usr/src/sys/sys/ufs_syscalls.c line 17
- in /usr/src/sys/sys/ufs_syscalls2.c line 17
- in /usr/src/sys/sys/uipc_domain.c line 21
- in /usr/src/sys/sys/uipc_mbuf.c line 13
- in /usr/src/sys/sys/vm_proc.c line 14
- in /usr/src/sys/sys/vm_sched.c line 14

Last modified: 1997-02-15 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 838 |