# 2.11BSD#431 - /usr/src/sys/pdp/seg.h

##### Functions

    Copy              X
    savemap           X

##### Macros

    ABS               X
    ACCESS            X
    DEC_UISA7         X
    ED                X
    KDSA5             X
    KDSA6             X
    KDSD5             X
    KDSD6             X
    KISA0             X
    KISA1             X
    KISA5             X
    KISA6             X
    KISD1             X
    KISD5             X
    KISD6             X
    NOACC             X
    REMAP_AREA        X
    RO                X
    RW                X
    SDSA0             X
    SDSA5             X
    SDSA6             X
    SDSD0             X
    SDSD5             X
    SDSD6             X
    SEG5              X
    SEG6              X
    SEG7              X
    SISA0             X
    SISD0             X
    SSR3              X
    TX                X
    UDSA              X
    UDSD              X
    UISA              X
    UISD              X
    _SEG_             X
    mapout            X
    mapseg5           X
    normalseg5        X
    restorseg5        X
    saveseg5          X

##### struct's

    segm_reg          X

##### typedef's

    mapinfo           X
    segm              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:  *	@(#)seg.h	1.2 (2.11BSD GTE) 1/1/93
       7:  */
       8:
       9: #ifndef _SEG_
      10: #define _SEG_
      11:
      12: /*
      13:  * Access abilities
      14:  */
      15: #define RO  02      /* Read only */
      16: #define RW  06      /* Read and write */
      17: #define NOACC   0       /* Abort all accesses */
      18: #define ACCESS  07      /* Mask for access field */
      19: #define ED  010     /* Extension direction */
      20: #define TX  020     /* Software: text segment */
      21: #define ABS 040     /* Software: absolute address */
      22:
      23: #ifndef SUPERVISOR
      24: u_short *ka6;           /* nonseparate:  KISA6; separate:  KDSA6 */
      25: u_int   kdsa6;          /* saved KDSA6, if any */
      26: #endif
      27:
      28: /*
      29:  * Addresses and bits for DEC's KT-11
      30:  * and macros for remapping kernel data space.
      31:  */
      32: #define UISD    ((u_short *) 0177600)   /* first user I-space descriptor */
      33: #define UDSD    ((u_short *) 0177620)   /* first user D-space descriptor */
      34:
      35: #ifdef  ENABLE34
      36: #	define DEC_UISA7  ((u_short *) 0177656)
      37:     extern u_short *UISA, *UDSA, *KISA0, *KDSA1, *KDSA2, *KDSA5, *KDSA6;
      38: #else
      39: #	define UISA   ((u_short *) 0177640)   /* first user I-space address */
      40: #	define UDSA   ((u_short *) 0177660)   /* first user D-space address */
      41: #endif
      42:
      43: #ifndef ENABLE34
      44: #	define KISA0  ((u_short *) 0172340)
      45: #	define KISA1  ((u_short *) 0172342)
      46: #	define KISA5  ((u_short *) 0172352)
      47: #	define KISA6  ((u_short *) 0172354)
      48: #	define SSR3   ((u_short *) 0172516)
      49: #endif
      50:
      51: #define SISD0   ((u_short *) 0172200)
      52: #define SDSD0   ((u_short *) 0172220)
      53: #define SISA0   ((u_short *) 0172240)
      54: #define SDSA0   ((u_short *) 0172260)
      55: #define KISD1   ((u_short *) 0172302)
      56: #define KISD5   ((u_short *) 0172312)
      57: #define KISD6   ((u_short *) 0172314)
      58:
      59: #ifdef KERN_NONSEP
      60: #	ifndef ENABLE34
      61: #		define KDSA5 KISA5
      62: #		define KDSA6 KISA6
      63: #	endif !ENABLE34
      64: #	define KDSD5  KISD5
      65: #	define KDSD6  KISD6
      66: #else
      67: #	ifndef ENABLE34
      68: #		define   SDSA5   ((u_short *) 0172272)
      69: #		define   SDSA6   ((u_short *) 0172274)
      70: #		define  KDSA5    ((u_short *) 0172372)
      71: #		define  KDSA6    ((u_short *) 0172374)
      72: #	endif !ENABLE34
      73: #	define SDSD5  ((u_short *) 0172232)
      74: #	define SDSD6  ((u_short *) 0172234)
      75: #	define KDSD5  ((u_short *) 0172332)
      76: #	define KDSD6  ((u_short *) 0172334)
      77: #endif
      78:
      79: /* start of possibly mapped area; see machdep.c */
      80: #ifndef SUPERVISOR
      81: #define REMAP_AREA  ((caddr_t)&proc[0])
      82: #endif
      83: #define SEG5        ((caddr_t) 0120000)
      84: #define SEG6        ((caddr_t) 0140000)
      85: #define SEG7        ((caddr_t) 0160000)
      86:
      87: #ifdef COMMENT
      88:  * Macros for resetting the kernel segmentation registers to map in
      89:  * out-of-address space data.  If KDSA5 is used for kernel data space
      90:  * only proc, file and text tables are allowed in that range.  Routines
      91:  * can repoint KDSA5 to map in data such as buffers or clists without
      92:  * raising processor priority by calling these macros.  Copy (in mch.s) uses
      93:  * two registers, KDSA5 and 6. If KDSA6 is in use, the prototype register
      94:  * kdsa6 will be non-zero, and the kernel will be running on a temporary stack
      95:  * in bss.  Interrupt routines that access any of the structures in this range
      96:  * or the u. must call savemap (in machdep.c) to save the current mapping
      97:  * information in a local structure and restore it before returning.
      98:  *
      99:  * USAGE:
     100:  *  To repoint KDSA5 from the top level,
     101:  *      mapseg5(addr, desc);    /* KDSA5 now points at addr */
     102:  *      ...
     103:  *      normalseg5();       /* normal mapping */
     104:  *
     105:  *  To repoint KDSA5 from interrupt or top level,
     106:  *      segm saveregs;
     107:  *      saveseg5(saveregs); /* save previous mapping of segment 5 */
     108:  *      mapseg5(addr, desc);    /* KDSA5 now points at addr */
     109:  *      ...
     110:  *      restorseg5(saveregs);   /* restore previous mapping */
     111:  *
     112:  *  To access proc, text, file or user structures from interrupt level,
     113:  *      mapinfo map;        /* save ALL mapping information, */
     114:  *      savemap(map);       /* restore normal mapping of KA5 */
     115:  *      ...         /* and 6 */
     116:  *      restormap(map);     /* restore previous mapping */
     117: #endif /* COMMENT */
     118:
     119: /*
     120:  * Structure to hold a saved PAR/PDR pair.
     121:  */
     122: struct segm_reg {
     123:     u_int   se_desc;
     124:     u_int   se_addr;
     125: };
     126: typedef struct segm_reg segm;
     127: typedef struct segm_reg mapinfo[2]; /* KA5, KA6 */
     128:
     129: #ifndef DIAGNOSTIC
     130: #	define    mapout(bp)  normalseg5()
     131: #endif
     132:
     133: /* use segment 5 to access the given address. */
     134: #ifdef SUPERVISOR
     135: #define mapseg5(addr,desc) { \
     136:     *SDSD5 = desc; \
     137:     *SDSA5 = addr; \
     138: }
     139: #else
     140: #define mapseg5(addr,desc) { \
     141:     *KDSD5 = desc; \
     142:     *KDSA5 = addr; \
     143: }
     144: #endif
     145:
     146: /* save the previous contents of KDSA5/KDSD5. */
     147: #ifdef SUPERVISOR
     148: #define saveseg5(save) { \
     149:     save.se_addr = *SDSA5; \
     150:     save.se_desc = *SDSD5; \
     151: }
     152: #else
     153: #define saveseg5(save) { \
     154:     save.se_addr = *KDSA5; \
     155:     save.se_desc = *KDSD5; \
     156: }
     157: #endif
     158:
     159: /* restore normal kernel map for seg5. */
     160:     extern segm seg5;       /* prototype KDSA5, KDSD5 */
     161: #define normalseg5()    restorseg5(seg5)
     162:
     163: /* restore the previous contents of KDSA5/KDSD5. */
     164: #ifdef SUPERVISOR
     165: #define restorseg5(save) { \
     166:     *SDSD5 = save.se_desc; \
     167:     *SDSA5 = save.se_addr; \
     168: }
     169: #else
     170: #define restorseg5(save) { \
     171:     *KDSD5 = save.se_desc; \
     172:     *KDSA5 = save.se_addr; \
     173: }
     174: caddr_t mapin();
     175: #endif
     176: #endif /* _SEG_ */

#### Defined functions

Copy defined in line 88; never used
savemap defined in line 88; used 14 times

- in line 114
- in /usr/src/sys/pdp/trap.c line 86
- in /usr/src/sys/pdpuba/dr.c line 176, 301, 307, 326
- in /usr/src/sys/sys/kern_clock.c line 42
- in /usr/src/sys/sys/kern_sig.c line 195
- in /usr/src/sys/sys/kern_synch.c line 297
- in /usr/src/sys/sys/sys_generic.c line 510
- in /usr/src/sys/sys/sys_kern.c line 38, 50
- in /usr/src/sys/sys/tty_conf.c line 133, 145

#### Defined struct's

segm_reg defined in line 122; used 4 times

- in line 126-127(4)

#### Defined typedef's

mapinfo defined in line 127; used 13 times

- in line 113
- in /usr/src/sys/pdp/trap.c line 62
- in /usr/src/sys/pdpuba/dr.c line 156, 295, 324
- in /usr/src/sys/sys/kern_clock.c line 40
- in /usr/src/sys/sys/kern_sig.c line 191
- in /usr/src/sys/sys/kern_synch.c line 291
- in /usr/src/sys/sys/sys_generic.c line 508
- in /usr/src/sys/sys/sys_kern.c line 36, 48
- in /usr/src/sys/sys/tty_conf.c line 130, 142

segm defined in line 126; used 42 times

- in line 160-106(2)
- in /usr/src/sys/h/namei.h line 75
- in /usr/src/sys/pdp/genassym.c line 39
- in /usr/src/sys/pdp/machdep2.c line 57
- in /usr/src/sys/pdpif/if_de.c line 590, 628
- in /usr/src/sys/pdpif/if_ec.c line 342, 621
- in /usr/src/sys/pdpif/if_il.c line 467
- in /usr/src/sys/pdpif/if_qe.c line 813
- in /usr/src/sys/pdpif/if_qt.c line 178, 246, 764, 790
- in /usr/src/sys/pdpif/if_vv.c line 313, 420, 562, 746
- in /usr/src/sys/pdpuba/ra.c line 709, 819, 968, 1258
- in /usr/src/sys/pdpuba/tmscp.c line 461, 902, 979
- in /usr/src/sys/pdpuba/tmscpdump.c line 44
- in /usr/src/sys/sys/ingreslock.c line 25
- in /usr/src/sys/sys/subr_log.c line 288
- in /usr/src/sys/sys/tty_subr.c line 35, 94, 168, 218, 280, 339, 402, 437, 457
- in /usr/src/sys/sys/ufs_namei.c line 146, 1214, 1248, 1289

#### Defined macros

ABS defined in line 21; used 6 times

- in /usr/src/sys/pdp/kern_pdp.c line 160, 175-178(2)
- in /usr/src/sys/sys/kern_mman.c line 158, 169, 234

ACCESS defined in line 18; used 1 times

- in /usr/src/sys/sys/kern_mman.c line 243

DEC_UISA7 defined in line 36; never used
ED defined in line 19; used 3 times

- in /usr/src/sys/sys/kern_mman.c line 182-186(2), 234

KDSA5 defined in line 70; used 9 times

- in line 37, 89-93(3), 100-105(2), 142, 154, 172

KDSA6 defined in line 71; used 5 times

- in line 37, 93
- in /usr/src/sys/sys/vm_swap.c line 136-139(3)

KDSD5 defined in line 75; used 3 times

- in line 141, 155, 171

KDSD6 defined in line 76; never used
KISA0 defined in line 44; used 8 times

- in line 37
- in /usr/src/sys/pdpstand/boot.c line 21, 480, 526, 545, 600
- in /usr/src/sys/pdpstand/sys.c line 17, 750

KISA1 defined in line 45; never used
KISA5 defined in line 46; used 1 times

- in line 61

KISA6 defined in line 47; used 1 times

- in line 62

KISD1 defined in line 55; never used
KISD5 defined in line 56; used 1 times

- in line 64

KISD6 defined in line 57; used 1 times

- in line 65

NOACC defined in line 17; used 3 times

- in /usr/src/sys/pdpstand/boot.c line 484, 491, 509

REMAP_AREA defined in line 81; used 1 times

- in /usr/src/sys/pdp/machdep2.c line 82

RO defined in line 15; used 18 times

- in /usr/src/sys/pdp/kern_pdp.c line 126
- in /usr/src/sys/pdp/mem.c line 98
- in /usr/src/sys/pdp/ram.c line 126, 132
- in /usr/src/sys/pdpstand/boot.c line 562-567(2), 577
- in /usr/src/sys/sys/init_main.c line 245, 419
- in /usr/src/sys/sys/kern_exec.c line 561, 592, 620
- in /usr/src/sys/sys/kern_fork.c line 312
- in /usr/src/sys/sys/kern_mman.c line 34, 63
- in /usr/src/sys/sys/kern_sig.c line 668
- in /usr/src/sys/sys/kern_sysctl.c line 989
- in /usr/src/sys/sys/sys_process.c line 136

RW defined in line 16; used 42 times

- in /usr/src/sys/CURLY/param.c line 86
- in /usr/src/sys/GENERIC/param.c line 86
- in /usr/src/sys/QT/param.c line 86
- in /usr/src/sys/conf/param.c line 86
- in /usr/src/sys/pdp/kern_pdp.c line 175-178(2)
- in /usr/src/sys/pdp/machdep2.c line 109, 188, 196, 210, 238, 259, 293-296(4)
- in /usr/src/sys/pdp/mem.c line 48, 118
- in /usr/src/sys/pdp/ram.c line 127-131(2)
- in /usr/src/sys/pdpif/if_de.c line 71
- in /usr/src/sys/pdpif/if_ec.c line 81
- in /usr/src/sys/pdpif/if_il.c line 469
- in /usr/src/sys/pdpif/if_vv.c line 607
- in /usr/src/sys/pdpstand/boot.c line 502-504(2), 575-579(2), 598-601(2)
- in /usr/src/sys/pdpuba/ra.c line 221
- in /usr/src/sys/sys/init_main.c line 426
- in /usr/src/sys/sys/kern_mman.c line 147, 153, 182-186(2)
- in /usr/src/sys/sys/subr_log.c line 166, 336
- in /usr/src/sys/sys/sys_process.c line 133, 167
- in /usr/src/sys/sys/vm_text.c line 216, 232

SDSA0 defined in line 54; used 1 times

- in /usr/src/sys/sys/init_main.c line 424

SDSA5 defined in line 68; used 3 times

- in line 137, 149, 167

SDSA6 defined in line 69; never used
SDSD0 defined in line 52; used 1 times

- in /usr/src/sys/sys/init_main.c line 424

SDSD5 defined in line 73; used 3 times

- in line 136, 150, 166

SDSD6 defined in line 74; never used
SEG5 defined in line 83; used 67 times

- in /usr/src/sys/CURLY/param.c line 125-131(5)
- in /usr/src/sys/GENERIC/param.c line 125-131(5)
- in /usr/src/sys/QT/param.c line 125-131(5)
- in /usr/src/sys/conf/param.c line 125-131(5)
- in /usr/src/sys/pdp/machdep2.c line 82, 211
- in /usr/src/sys/pdp/mem.c line 51
- in /usr/src/sys/pdp/ram.c line 128-133(2)
- in /usr/src/sys/pdpif/if_de.c line 594, 638
- in /usr/src/sys/pdpif/if_ec.c line 356-357(2), 629
- in /usr/src/sys/pdpif/if_il.c line 474
- in /usr/src/sys/pdpif/if_qe.c line 823
- in /usr/src/sys/pdpif/if_qt.c line 177, 245, 765, 794
- in /usr/src/sys/pdpif/if_vv.c line 394, 608
- in /usr/src/sys/pdpuba/hk.c line 193, 320
- in /usr/src/sys/pdpuba/ra.c line 314, 468, 590
- in /usr/src/sys/pdpuba/rl.c line 191, 314
- in /usr/src/sys/pdpuba/tmscp.c line 400
- in /usr/src/sys/pdpuba/xp.c line 247-248(2), 374
- in /usr/src/sys/sys/ingreslock.c line 26
- in /usr/src/sys/sys/init_main.c line 388, 398, 414
- in /usr/src/sys/sys/kern_sysctl.c line 990-992(3)
- in /usr/src/sys/sys/subr_log.c line 362
- in /usr/src/sys/sys/sys_inode.c line 393
- in /usr/src/sys/sys/tty_subr.c line 21
- in /usr/src/sys/sys/ufs_disksubr.c line 235, 284, 326, 345
- in /usr/src/sys/sys/ufs_inode.c line 241, 386
- in /usr/src/sys/sys/ufs_mount.c line 149
- in /usr/src/sys/sys/ufs_syscalls2.c line 65

SEG6 defined in line 84; used 7 times

- in /usr/src/sys/pdp/ram.c line 122-123(2), 140
- in /usr/src/sys/sys/kern_subr.c line 40, 58, 210-212(2)

SEG7 defined in line 85; never used
SISA0 defined in line 53; used 1 times

- in /usr/src/sys/sys/init_main.c line 417

SISD0 defined in line 51; used 2 times

- in /usr/src/sys/pdp/machdep2.c line 295
- in /usr/src/sys/sys/init_main.c line 417

SSR3 defined in line 48; never used
TX defined in line 20; used 4 times

- in /usr/src/sys/sys/kern_mman.c line 114, 120, 233, 242

UDSA defined in line 40; used 3 times

- in line 37
- in /usr/src/sys/sys/kern_subr.c line 197
- in /usr/src/sys/sys/vm_swp.c line 181

UDSD defined in line 33; used 1 times

- in /usr/src/sys/sys/kern_subr.c line 196

UISA defined in line 39; used 17 times

- in line 37
- in /usr/src/sys/pdp/machdep2.c line 111, 258
- in /usr/src/sys/pdp/mem.c line 95-100(3), 115-120(3)
- in /usr/src/sys/pdpstand/sys.c line 756
- in /usr/src/sys/sys/kern_mman.c line 229, 258, 292-294(2)
- in /usr/src/sys/sys/kern_subr.c line 193, 201
- in /usr/src/sys/sys/vm_swp.c line 181

UISD defined in line 32; used 14 times

- in /usr/src/sys/pdp/machdep2.c line 109, 259
- in /usr/src/sys/pdp/mem.c line 96-101(3), 116-121(3)
- in /usr/src/sys/sys/kern_mman.c line 230, 259-260(2), 287
- in /usr/src/sys/sys/kern_subr.c line 192, 200

_SEG_ defined in line 10; used 1 times

- in line 9

mapout defined in line 130; used 35 times

- in /usr/src/sys/sys/kern_exec.c line 242, 264, 274, 320, 342, 379
- in /usr/src/sys/sys/kern_sysctl.c line 1018
- in /usr/src/sys/sys/sys_inode.c line 277
- in /usr/src/sys/sys/ufs_alloc.c line 67, 86, 217, 265
- in /usr/src/sys/sys/ufs_bmap.c line 135, 154
- in /usr/src/sys/sys/ufs_disksubr.c line 100, 183, 190
- in /usr/src/sys/sys/ufs_inode.c line 237, 413, 509, 644, 674, 680, 689, 709
- in /usr/src/sys/sys/ufs_mount.c line 221
- in /usr/src/sys/sys/ufs_namei.c line 410, 434, 533, 578, 794, 837, 988, 1032
- in /usr/src/sys/sys/ufs_syscalls2.c line 156

mapseg5 defined in line 140; used 74 times

- in line 101, 108
- in /usr/src/sys/h/quota.h line 162
- in /usr/src/sys/pdp/mem.c line 47
- in /usr/src/sys/pdp/ram.c line 126-131(2)
- in /usr/src/sys/pdpif/if_de.c line 593, 637
- in /usr/src/sys/pdpif/if_ec.c line 355, 628
- in /usr/src/sys/pdpif/if_il.c line 473
- in /usr/src/sys/pdpif/if_qe.c line 822
- in /usr/src/sys/pdpif/if_qt.c line 201, 289, 768, 793
- in /usr/src/sys/pdpif/if_vv.c line 393, 607
- in /usr/src/sys/pdpuba/hk.c line 192, 319
- in /usr/src/sys/pdpuba/ra.c line 412, 467, 589, 723, 758, 854, 885, 972, 1291
- in /usr/src/sys/pdpuba/rl.c line 190, 313
- in /usr/src/sys/pdpuba/tmscp.c line 519, 575, 691, 906, 1018, 1034, 1170
- in /usr/src/sys/pdpuba/tmscpdump.c line 61
- in /usr/src/sys/pdpuba/xp.c line 246, 373
- in /usr/src/sys/sys/init_main.c line 309, 387, 397, 413
- in /usr/src/sys/sys/kern_sysctl.c line 989
- in /usr/src/sys/sys/subr_log.c line 166, 336
- in /usr/src/sys/sys/sys_inode.c line 392
- in /usr/src/sys/sys/tty_subr.c line 41, 102, 185, 226, 286, 348, 405, 440, 463
- in /usr/src/sys/sys/ufs_disksubr.c line 240, 283, 325, 344
- in /usr/src/sys/sys/ufs_inode.c line 240, 385
- in /usr/src/sys/sys/ufs_mount.c line 150
- in /usr/src/sys/sys/ufs_namei.c line 249, 305-310(2), 322, 734, 1217, 1251, 1292
- in /usr/src/sys/sys/ufs_syscalls2.c line 78

normalseg5 defined in line 161; used 34 times

- in line 103, 130
- in /usr/src/sys/h/quota.h line 163
- in /usr/src/sys/pdp/mem.c line 52
- in /usr/src/sys/pdp/ram.c line 143
- in /usr/src/sys/pdpuba/hk.c line 194, 321
- in /usr/src/sys/pdpuba/ra.c line 417, 469, 591
- in /usr/src/sys/pdpuba/rl.c line 192, 315
- in /usr/src/sys/pdpuba/tmscp.c line 699
- in /usr/src/sys/pdpuba/xp.c line 249, 375
- in /usr/src/sys/sys/ingreslock.c line 131, 142, 172, 274
- in /usr/src/sys/sys/init_main.c line 319, 390, 399, 415
- in /usr/src/sys/sys/kern_sysctl.c line 993
- in /usr/src/sys/sys/subr_log.c line 168
- in /usr/src/sys/sys/sys_inode.c line 435
- in /usr/src/sys/sys/ufs_disksubr.c line 255, 285, 327, 346
- in /usr/src/sys/sys/ufs_inode.c line 242, 394
- in /usr/src/sys/sys/ufs_mount.c line 154
- in /usr/src/sys/sys/ufs_syscalls2.c line 81

restorseg5 defined in line 170; used 53 times

- in line 110, 161
- in /usr/src/sys/pdpif/if_de.c line 596, 647, 654, 662-666(2)
- in /usr/src/sys/pdpif/if_ec.c line 411, 456, 630
- in /usr/src/sys/pdpif/if_il.c line 478
- in /usr/src/sys/pdpif/if_qe.c line 826
- in /usr/src/sys/pdpif/if_qt.c line 222, 297, 771, 797
- in /usr/src/sys/pdpif/if_vv.c line 397, 663, 710
- in /usr/src/sys/pdpuba/ra.c line 725, 753, 869, 907, 982, 1353
- in /usr/src/sys/pdpuba/tmscp.c line 543, 604, 925, 1028, 1180
- in /usr/src/sys/pdpuba/tmscpdump.c line 112
- in /usr/src/sys/sys/subr_log.c line 338
- in /usr/src/sys/sys/tty_subr.c line 75, 108, 151, 199, 263, 292, 305, 319, 380, 426, 442, 492
- in /usr/src/sys/sys/ufs_namei.c line 302-307(2), 319, 329, 357, 759, 1233, 1280, 1295

saveseg5 defined in line 153; used 39 times

- in line 107
- in /usr/src/sys/pdp/machdep2.c line 76
- in /usr/src/sys/pdpif/if_de.c line 592, 636
- in /usr/src/sys/pdpif/if_ec.c line 354, 627
- in /usr/src/sys/pdpif/if_il.c line 472
- in /usr/src/sys/pdpif/if_qe.c line 821
- in /usr/src/sys/pdpif/if_qt.c line 200, 288, 767, 792
- in /usr/src/sys/pdpif/if_vv.c line 392, 566, 748
- in /usr/src/sys/pdpuba/ra.c line 711, 821, 971, 1290
- in /usr/src/sys/pdpuba/tmscp.c line 518, 574, 905, 981
- in /usr/src/sys/pdpuba/tmscpdump.c line 60
- in /usr/src/sys/sys/subr_log.c line 296
- in /usr/src/sys/sys/tty_subr.c line 40, 101, 184, 225, 285, 347, 404, 439, 462
- in /usr/src/sys/sys/ufs_namei.c line 248, 733, 1216, 1250, 1291

#### Usage of this include

seg.h used 64 times

- in /usr/src/sys/CURLY/param.c line 24
- in /usr/src/sys/GENERIC/param.c line 24
- in /usr/src/sys/QT/param.c line 24
- in /usr/src/sys/conf/param.c line 24
- in /usr/src/sys/h/namei.h line 74
- in /usr/src/sys/h/quota.h line 150
- in /usr/src/sys/pdp/genassym.c line 10
- in /usr/src/sys/pdp/in_cksum.c line 9
- in /usr/src/sys/pdp/kern_pdp.c line 11
- in /usr/src/sys/pdp/machdep2.c line 10
- in /usr/src/sys/pdp/mem.c line 10
- in /usr/src/sys/pdp/ram.c line 19
- in /usr/src/sys/pdp/trap.c line 12
- in /usr/src/sys/pdpif/if_acc.c line 18
- in /usr/src/sys/pdpif/if_css.c line 38
- in /usr/src/sys/pdpif/if_de.c line 20
- in /usr/src/sys/pdpif/if_ec.c line 51
- in /usr/src/sys/pdpif/if_il.c line 30
- in /usr/src/sys/pdpif/if_qe.c line 110
- in /usr/src/sys/pdpif/if_qt.c line 58
- in /usr/src/sys/pdpif/if_uba.c line 15
- in /usr/src/sys/pdpif/if_vv.c line 46
- in /usr/src/sys/pdpstand/boot.c line 9
- in /usr/src/sys/pdpstand/sys.c line 11
- in /usr/src/sys/pdpuba/br.c line 40
- in /usr/src/sys/pdpuba/dr.c line 17
- in /usr/src/sys/pdpuba/hk.c line 38
- in /usr/src/sys/pdpuba/ra.c line 132
- in /usr/src/sys/pdpuba/rl.c line 46
- in /usr/src/sys/pdpuba/si.c line 16
- in /usr/src/sys/pdpuba/tmscp.c line 267
- in /usr/src/sys/pdpuba/tmscpdump.c line 19, 25
- in /usr/src/sys/pdpuba/xp.c line 18
- in /usr/src/sys/sys/ingreslock.c line 17
- in /usr/src/sys/sys/init_main.c line 10
- in /usr/src/sys/sys/kern_clock.c line 11
- in /usr/src/sys/sys/kern_exec.c line 11
- in /usr/src/sys/sys/kern_fork.c line 11
- in /usr/src/sys/sys/kern_mman.c line 10
- in /usr/src/sys/sys/kern_sig.c line 10
- in /usr/src/sys/sys/kern_subr.c line 10
- in /usr/src/sys/sys/kern_synch.c line 10
- in /usr/src/sys/sys/kern_sysctl.c line 56
- in /usr/src/sys/sys/subr_log.c line 36
- in /usr/src/sys/sys/subr_prf.c line 11
- in /usr/src/sys/sys/sys_generic.c line 10
- in /usr/src/sys/sys/sys_inode.c line 10
- in /usr/src/sys/sys/sys_kern.c line 10
- in /usr/src/sys/sys/sys_process.c line 12
- in /usr/src/sys/sys/tty_conf.c line 10
- in /usr/src/sys/sys/tty_subr.c line 10
- in /usr/src/sys/sys/ufs_alloc.c line 10
- in /usr/src/sys/sys/ufs_bmap.c line 10
- in /usr/src/sys/sys/ufs_disksubr.c line 46
- in /usr/src/sys/sys/ufs_inode.c line 10
- in /usr/src/sys/sys/ufs_mount.c line 10
- in /usr/src/sys/sys/ufs_namei.c line 9
- in /usr/src/sys/sys/ufs_subr.c line 10
- in /usr/src/sys/sys/ufs_syscalls2.c line 9
- in /usr/src/sys/sys/uipc_syscalls.c line 11
- in /usr/src/sys/sys/vm_swap.c line 10
- in /usr/src/sys/sys/vm_swp.c line 10
- in /usr/src/sys/sys/vm_text.c line 10

Last modified: 1993-01-02 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1239 |