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

##### Variables

    inode             X
    inodeNINODE       X
    ninode            X
    rootdir           X

##### Macros

    IACC              X
    ICHG              X
    IEXEC             X
    IEXLOCK           X
    IFBLK             X
    IFCHR             X
    IFDIR             X
    IFLNK             X
    IFMT              X
    IFREG             X
    IFSOCK            X
    ILOCK             X
    ILOCKED           X
    ILWAIT            X
    IMOD              X
    IMOUNT            X
    IO_APPEND         X
    IO_NDELAY         X
    IO_SYNC           X
    IO_UNIT           X
    IPIPE             X
    IRCOLL            X
    IREAD             X
    IRENAME           X
    ISGID             X
    ISHLOCK           X
    ISUID             X
    ISVTX             X
    ITEXT             X
    ITIMES            X
    IUNLOCK           X
    IUPD              X
    IUPDAT            X
    IWANT             X
    IWCOLL            X
    IWRITE            X
    IXMOD             X
    NADDR             X
    NDADDR            X
    NIADDR            X
    VATTR_NULL        X
    VA_UTIMES_NULL    X
    VNOVAL            X
    cacheinval        X
    cacheinvalall     X
    di_atime          X
    di_ctime          X
    di_gid            X
    di_ic1            X
    di_ic2            X
    di_mode           X
    di_mtime          X
    di_nlink          X
    di_size           X
    di_uid            X
    i_addr            X
    i_atime           X
    i_back            X
    i_ctime           X
    i_db              X
    i_dummy           X
    i_exlockc         X
    i_forw            X
    i_freeb           X
    i_freef           X
    i_gid             X
    i_ib              X
    i_lastr           X
    i_mode            X
    i_mtime           X
    i_nlink           X
    i_rdev            X
    i_rsel            X
    i_shlockc         X
    i_size            X
    i_socket          X
    i_text            X
    i_uid             X
    i_wsel            X

##### struct's

    dinode            X
    icommon1          X
    icommon2          X
    inode             X
    vattr             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:  *	@(#)inode.h	1.4 (2.11BSD GTE) 1995/12/24
       7:  */
       8:
       9: /*
      10:  * The I node is the focus of all file activity in UNIX.
      11:  * There is a unique inode allocated for each active file,
      12:  * each current directory, each mounted-on file, text file, and the root.
      13:  * An inode is 'named' by its dev/inumber pair. (iget/iget.c)
      14:  * Data in icommon1 and icommon2 is read in from permanent inode on volume.
      15:  */
      16:
      17: /*
      18:  * 28 of the di_addr address bytes are used; 7 addresses of 4
      19:  * bytes each: 4 direct (4Kb directly accessible) and 3 indirect.
      20:  */
      21: #define NDADDR  4           /* direct addresses in inode */
      22: #define NIADDR  3           /* indirect addresses in inode */
      23: #define NADDR   (NDADDR + NIADDR)   /* total addresses in inode */
      24:
      25: struct icommon2 {
      26:     time_t  ic_atime;       /* time last accessed */
      27:     time_t  ic_mtime;       /* time last modified */
      28:     time_t  ic_ctime;       /* time created */
      29: };
      30:
      31: struct inode {
      32:     struct  inode *i_chain[2];  /* must be first */
      33:     u_short i_flag;
      34:     u_short i_count;    /* reference count */
      35:     dev_t   i_dev;      /* device where inode resides */
      36:     ino_t   i_number;   /* i number, 1-to-1 with device address */
      37:     u_short i_id;       /* unique identifier */
      38:     struct  fs *i_fs;   /* file sys associated with this inode */
      39:     union {
      40:         struct {
      41:             u_char  I_shlockc;  /* count of shared locks */
      42:             u_char  I_exlockc;  /* count of exclusive locks */
      43:         } i_l;
      44:         struct  proc *I_rsel;   /* pipe read select */
      45:     } i_un0;
      46:     union {
      47:         struct  text *I_text;   /* text entry, if any */
      48:         struct  proc *I_wsel;   /* pipe write select */
      49:     } i_un1;
      50:     union {
      51:         daddr_t I_addr[NADDR];      /* normal file/directory */
      52:         struct {
      53:             daddr_t I_db[NDADDR];   /* normal file/directory */
      54:             daddr_t I_ib[NIADDR];
      55:         } i_f;
      56:         struct {
      57:             /*
      58: 			 * the dummy field is here so that the de/compression
      59: 			 * part of the iget/iput routines works for special
      60: 			 * files.
      61: 			 */
      62:             u_short I_dummy;
      63:             dev_t   I_rdev;     /* dev type */
      64:         } i_d;
      65:     } i_un2;
      66:     union {
      67:         daddr_t if_lastr;   /* last read (read-ahead) */
      68:         struct  socket *is_socket;
      69:         struct  {
      70:             struct inode  *if_freef;    /* free list forward */
      71:             struct inode **if_freeb;    /* free list back */
      72:         } i_fr;
      73:     } i_un3;
      74:     struct icommon1 {
      75:         u_short ic_mode;    /* mode and type of file */
      76:         u_short ic_nlink;   /* number of links to file */
      77:         uid_t   ic_uid;     /* owner's user id */
      78:         gid_t   ic_gid;     /* owner's group id */
      79:         off_t   ic_size;    /* number of bytes in file */
      80:     } i_ic1;
      81: /*
      82:  * Can't afford another 4 bytes and mapping the flags out would be prohibitively
      83:  * expensive.  So, a 'u_short' is used for the flags - see the comments in
      84:  * stat.h for more information.
      85: */
      86:     u_short i_flags;        /* user changeable flags */
      87: #ifndef EXTERNALITIMES
      88:     struct icommon2 i_ic2;
      89: #endif
      90: };
      91:
      92: /*
      93:  * Inode structure as it appears on
      94:  * a disk block.
      95:  */
      96: struct dinode {
      97:     struct  icommon1 di_icom1;
      98:     daddr_t di_addr[7];     /* 7 block addresses 4 bytes each */
      99:     u_short di_reserved[5];     /* pad of 10 to make total size 64 */
     100:     u_short di_flags;
     101:     struct  icommon2 di_icom2;
     102: };
     103:
     104: #define i_mode      i_ic1.ic_mode
     105: #define i_nlink     i_ic1.ic_nlink
     106: #define i_uid       i_ic1.ic_uid
     107: #define i_gid       i_ic1.ic_gid
     108: #define i_size      i_ic1.ic_size
     109: #define i_shlockc   i_un0.i_l.I_shlockc
     110: #define i_exlockc   i_un0.i_l.I_exlockc
     111: #define i_rsel      i_un0.I_rsel
     112: #define i_text      i_un1.I_text
     113: #define i_wsel      i_un1.I_wsel
     114: #define i_db        i_un2.i_f.I_db
     115: #define i_ib        i_un2.i_f.I_ib
     116: #ifndef EXTERNALITIMES
     117: #define i_atime     i_ic2.ic_atime
     118: #define i_mtime     i_ic2.ic_mtime
     119: #define i_ctime     i_ic2.ic_ctime
     120: #endif
     121: #define i_rdev      i_un2.i_d.I_rdev
     122: #define i_addr      i_un2.I_addr
     123: #define i_dummy     i_un2.i_d.I_dummy
     124: #define i_lastr     i_un3.if_lastr
     125: #define i_socket    i_un3.is_socket
     126: #define i_forw      i_chain[0]
     127: #define i_back      i_chain[1]
     128: #define i_freef     i_un3.i_fr.if_freef
     129: #define i_freeb     i_un3.i_fr.if_freeb
     130:
     131: #define di_ic1      di_icom1
     132: #define di_ic2      di_icom2
     133: #define di_mode     di_ic1.ic_mode
     134: #define di_nlink    di_ic1.ic_nlink
     135: #define di_uid      di_ic1.ic_uid
     136: #define di_gid      di_ic1.ic_gid
     137: #define di_size     di_ic1.ic_size
     138: #define di_atime    di_ic2.ic_atime
     139: #define di_mtime    di_ic2.ic_mtime
     140: #define di_ctime    di_ic2.ic_ctime
     141:
     142: #if defined(KERNEL) && !defined(SUPERVISOR)
     143: /*
     144:  * Invalidate an inode. Used by the namei cache to detect stale
     145:  * information. In order to save space and also reduce somewhat the
     146:  * overhead - the i_id field is made into a u_short.  If a pdp-11 can
     147:  * invalidate 100 inodes per second, the cache will have to be invalidated
     148:  * in about 11 minutes.  Ha!
     149:  * Assumes the cacheinvalall routine will map the namei cache.
     150:  */
     151: #define cacheinvalall _cinvall
     152:
     153: #define cacheinval(ip) \
     154:     (ip)->i_id = ++nextinodeid; \
     155:     if (nextinodeid == 0) \
     156:         cacheinvalall();
     157:
     158: u_short nextinodeid;        /* unique id generator */
     159:
     160: #ifdef EXTERNALITIMES
     161: memaddr xitimes;
     162: u_int   xitdesc;
     163: #endif
     164: struct inode inode[];       /* the inode table itself */
     165: struct inode *inodeNINODE;  /* the end of the inode table */
     166: int ninode;         /* the number of slots in the table */
     167:
     168: struct  inode *rootdir;         /* pointer to inode of root directory */
     169:
     170: struct  inode *getinode();
     171: struct  inode *ialloc();
     172: struct  inode *iget();
     173: struct  inode *owner();
     174: struct  inode *maknode();
     175: struct  inode *namei();
     176: #endif
     177:
     178: /* i_flag */
     179: #define ILOCKED     0x1     /* inode is locked */
     180: #define IUPD        0x2     /* file has been modified */
     181: #define IACC        0x4     /* inode access time to be updated */
     182: #define IMOUNT      0x8     /* inode is mounted on */
     183: #define IWANT       0x10        /* some process waiting on lock */
     184: #define ITEXT       0x20        /* inode is pure text prototype */
     185: #define ICHG        0x40        /* inode has been changed */
     186: #define ISHLOCK     0x80        /* file has shared lock */
     187: #define IEXLOCK     0x100       /* file has exclusive lock */
     188: #define ILWAIT      0x200       /* someone waiting on file lock */
     189: #define IMOD        0x400       /* inode has been modified */
     190: #define IRENAME     0x800       /* inode is being renamed */
     191: #define IPIPE       0x1000      /* inode is a pipe */
     192: #define IRCOLL      0x2000      /* read select collision on pipe */
     193: #define IWCOLL      0x4000      /* write select collision on pipe */
     194: #define IXMOD       0x8000      /* inode is text, but impure (XXX) */
     195:
     196: /* i_mode */
     197: #define IFMT        0170000     /* type of file */
     198: #define IFCHR       0020000     /* character special */
     199: #define IFDIR       0040000     /* directory */
     200: #define IFBLK       0060000     /* block special */
     201: #define IFREG       0100000     /* regular */
     202: #define IFLNK       0120000     /* symbolic link */
     203: #define IFSOCK      0140000     /* socket */
     204: #define ISUID       04000       /* set user id on execution */
     205: #define ISGID       02000       /* set group id on execution */
     206: #define ISVTX       01000       /* save swapped text even after use */
     207: #define IREAD       0400        /* read, write, execute permissions */
     208: #define IWRITE      0200
     209: #define IEXEC       0100
     210:
     211: #if defined(KERNEL) && !defined(SUPERVISOR)
     212: /*
     213:  * Flags for va_cflags.
     214:  */
     215: #define VA_UTIMES_NULL  0x01        /* utimes argument was NULL */
     216:
     217: /*
     218:  * Flags for ioflag.
     219:  */
     220: #define IO_UNIT     0x01        /* do I/O as atomic unit */
     221: #define IO_APPEND   0x02        /* append write to end */
     222: #define IO_SYNC     0x04        /* do I/O synchronously */
     223: /* #define	IO_NODELOCKED	0x08		/* not implemented */
     224: #define IO_NDELAY   0x10        /* FNDELAY flag set in file table */
     225:
     226: /*
     227:  * Token indicating no attribute value yet assigned.
     228:  */
     229: #define VNOVAL  (-1)
     230:
     231: #define VATTR_NULL(vp) (vattr_null(vp))
     232:
     233: /*
     234:  * This is a bit of a misnomer.  2.11BSD does not have 'vnodes' but it was
     235:  * easier/simpler to keep the name 'vattr' than changing the name to something
     236:  * like 'iattr'.
     237:  *
     238:  * This structure is a _subset_ of 4.4BSD's vnode attribute structure.  ONLY
     239:  * those attributes which can be *changed by the user* are present.  Since we
     240:  * do not have vnodes why initialize (and carry around) un-used members.
     241:  *
     242:  * NOTE: For reasons of speed the function 'vattr_null()' was written in
     243:  * very compact assembly code and placed in pdp/mch_xxx.s.  If you change
     244:  * the 'vattr' structure be sure and change vattr_null in pdp/mch_xxx.s!
     245: */
     246:
     247:     struct  vattr
     248:         {
     249:         mode_t  va_mode;
     250:         uid_t   va_uid;
     251:         gid_t   va_gid;
     252:         off_t   va_size;
     253:         time_t  va_atime;
     254:         time_t  va_mtime;
     255:         u_short va_flags;
     256:         u_short va_vaflags;
     257:         };
     258:
     259: /*
     260:  * N.B:  If the above structure changes be sure to modify the function
     261:  * vattr_null in pdp/mch_xxx.s!
     262: */
     263: #endif
     264:
     265: #ifndef SUPERVISOR
     266: #define ILOCK(ip) { \
     267:     while ((ip)->i_flag & ILOCKED) { \
     268:         (ip)->i_flag |= IWANT; \
     269:         sleep((caddr_t)(ip), PINOD); \
     270:     } \
     271:     (ip)->i_flag |= ILOCKED; \
     272: }
     273:
     274: #define IUNLOCK(ip) { \
     275:     (ip)->i_flag &= ~ILOCKED; \
     276:     if ((ip)->i_flag&IWANT) { \
     277:         (ip)->i_flag &= ~IWANT; \
     278:         wakeup((caddr_t)(ip)); \
     279:     } \
     280: }
     281:
     282: #define IUPDAT(ip, t1, t2, waitfor) { \
     283:     if (ip->i_flag&(IUPD|IACC|ICHG|IMOD)) \
     284:         iupdat(ip, t1, t2, waitfor); \
     285: }
     286:
     287: #ifdef EXTERNALITIMES
     288: #define ITIMES(ip, t1, t2) { \
     289:     if ((ip)->i_flag&(IUPD|IACC|ICHG)) { \
     290:         struct icommon2 *ic2= &((struct icommon2 *)SEG5)[ip-inode]; \
     291:         mapseg5(xitimes, xitdesc); \
     292:         (ip)->i_flag |= IMOD; \
     293:         if ((ip)->i_flag&IACC) \
     294:             ic2->ic_atime = (t1)->tv_sec; \
     295:         if ((ip)->i_flag&IUPD) \
     296:             ic2->ic_mtime = (t2)->tv_sec; \
     297:         if ((ip)->i_flag&ICHG) \
     298:             ic2->ic_ctime = time.tv_sec; \
     299:         (ip)->i_flag &= ~(IACC|IUPD|ICHG); \
     300:         normalseg5(); \
     301:     } \
     302: }
     303: #else
     304: #define ITIMES(ip, t1, t2) { \
     305:     if ((ip)->i_flag&(IUPD|IACC|ICHG)) { \
     306:         (ip)->i_flag |= IMOD; \
     307:         if ((ip)->i_flag&IACC) \
     308:             (ip)->i_atime = (t1)->tv_sec; \
     309:         if ((ip)->i_flag&IUPD) \
     310:             (ip)->i_mtime = (t2)->tv_sec; \
     311:         if ((ip)->i_flag&ICHG) \
     312:             (ip)->i_ctime = time.tv_sec; \
     313:         (ip)->i_flag &= ~(IACC|IUPD|ICHG); \
     314:     } \
     315: }
     316: #endif
     317: #endif

#### Defined variables

inode defined in line 164; used 34 times

- in line 290
- in /usr/src/new/crash/crash.c line 1090, 1115-1116(2), 1123-1124(3), 1132-1135(2)
- in /usr/src/sys/pdp/machdep2.c line 127
- in /usr/src/sys/sys/kern_sysctl.c line 752, 763
- in /usr/src/sys/sys/quota_kern.c line 762-766(3)
- in /usr/src/sys/sys/quota_sys.c line 226-230(2), 237
- in /usr/src/sys/sys/quota_ufs.c line 97, 194
- in /usr/src/sys/sys/sys_inode.c line 393
- in /usr/src/sys/sys/ufs_inode.c line 43, 194, 241, 318-319(2), 386, 741, 764-765(2)
- in /usr/src/sys/sys/ufs_syscalls.c line 687, 1102, 1190
- in /usr/src/sys/sys/ufs_syscalls2.c line 177

inodeNINODE defined in line 165; used 7 times

- in /usr/src/sys/pdp/machdep2.c line 127
- in /usr/src/sys/sys/kern_sysctl.c line 752, 763
- in /usr/src/sys/sys/quota_kern.c line 762
- in /usr/src/sys/sys/quota_sys.c line 226
- in /usr/src/sys/sys/ufs_inode.c line 741
- in /usr/src/sys/sys/ufs_syscalls2.c line 177

ninode defined in line 166; used 23 times

- in /usr/src/new/crash/crash.c line 273, 504(2), 1115, 1123-1124(2)
- in /usr/src/sys/pdp/machdep2.c line 127, 185, 205-206(2)
- in /usr/src/sys/sys/kern_sysctl.c line 219
- in /usr/src/sys/sys/ufs_inode.c line 55
- in /usr/src/usr.sbin/pstat/pstat.c line 215-223(6), 231-241(5)

rootdir defined in line 168; used 7 times

- in /usr/src/new/crash/crash.c line 256, 510(2)
- in /usr/src/sys/sys/init_main.c line 206-207(2)
- in /usr/src/sys/sys/ufs_namei.c line 175, 804

#### Defined struct's

dinode defined in line 96; used 126 times

- in /usr/src/old/dump/dumpdir.c line 97(2)
- in /usr/src/old/dump/dumpitime.c line 213(2)
- in /usr/src/old/dump/dumptraverse.c line 5(2), 46(2), 90(2), 112(2), 131(2)
- in /usr/src/sbin/dcheck/dcheck.c line 37-42(6), 152(2), 183(2)
- in /usr/src/sbin/dump/dumpdir.c line 106(2)
- in /usr/src/sbin/dump/dumpitime.c line 176(2)
- in /usr/src/sbin/dump/dumptraverse.c line 8(2), 49(2), 95(2), 116(2), 135(2)
- in /usr/src/sbin/icheck/icheck.c line 24(2), 227(2)
- in /usr/src/sbin/mkfs/mkfs.c line 443-444(4), 454(2)
- in /usr/src/sbin/ncheck/ncheck.c line 29-30(4), 46(2), 176(2), 203(2), 233(2)
- in /usr/src/sbin/quotacheck/quotacheck.c line 102(2), 211(2), 469-477(6), 499-501(4)
- in /usr/src/sbin/restor/restor.c line 85(2), 181(2), 446(2), 732(2), 743(2), 1201(2), 1209-1214(6), 1223(4)
- in /usr/src/sys/pdpstand/sys.c line 73(2), 83(2)
- in /usr/src/sys/sys/ufs_alloc.c line 140(2), 204(2)
- in /usr/src/sys/sys/ufs_inode.c line 108(2), 227(2), 369(2), 404(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 75(4), 321(4)
- in /usr/src/usr.sbin/quot/quot.c line 25(2), 104(2), 122(2)

icommon1 defined in line 74; used 2 times

- in line 97(2)

icommon2 defined in line 25; used 16 times

- in line 88(2), 101(2)
- in /usr/src/sys/sys/sys_inode.c line 389-393(4)
- in /usr/src/sys/sys/ufs_inode.c line 110(2), 241(2), 371(2), 386(2)

inode defined in line 31; used 426 times

- in line 32(2), 70-71(4), 164-175(18)
- in /usr/src/new/crash/crash.c line 156(2), 344-350(14), 1090(2), 1115-1116(6), 1123(2)
- in /usr/src/new/crash/crashsubs.c line 633(2)
- in /usr/src/sbin/mkfs/mkfs.c line 269(2), 408(2), 441(2)
- in /usr/src/sys/CURLY/param.c line 68(2)
- in /usr/src/sys/GENERIC/param.c line 68(2)
- in /usr/src/sys/QT/param.c line 68(2)
- in /usr/src/sys/conf/param.c line 68(2)
- in /usr/src/sys/h/mount.h line 56-57(4)
- in /usr/src/sys/h/sysctl.h line 207-208(4)
- in /usr/src/sys/h/user.h line 111-112(4)
- in /usr/src/sys/pdp/genassym.c line 26(2)
- in /usr/src/sys/pdpstand/saio.h line 28(2)
- in /usr/src/sys/pdpstand/sys.c line 138(2), 226(2)
- in /usr/src/sys/sys/init_main.c line 192-195(4), 342(2)
- in /usr/src/sys/sys/kern_descrip.c line 249(2)
- in /usr/src/sys/sys/kern_exec.c line 54(2), 431(2), 479(2)
- in /usr/src/sys/sys/kern_sig.c line 620(2)
- in /usr/src/sys/sys/kern_sysctl.c line 746-748(4)
- in /usr/src/sys/sys/quota_kern.c line 354(2), 583(2), 699(2), 754(2)
- in /usr/src/sys/sys/quota_sys.c line 164(2)
- in /usr/src/sys/sys/quota_ufs.c line 31(2), 88(2), 180(2)
- in /usr/src/sys/sys/sys_inode.c line 42(4), 78(2), 108(2), 332(4), 371(4), 386(2), 448(2), 487(2), 532(4), 606(4), 636(2), 722(2), 729(2)
- in /usr/src/sys/sys/sys_kern.c line 83(2), 92(2), 100(2), 130-132(4)
- in /usr/src/sys/sys/sys_pipe.c line 31-34(4), 105-108(4), 159-163(4), 226(4), 276(4)
- in /usr/src/sys/sys/ufs_alloc.c line 35(2), 132-138(6), 145(2), 242(2), 286(2)
- in /usr/src/sys/sys/ufs_bmap.c line 32(2)
- in /usr/src/sys/sys/ufs_fio.c line 33(2), 121(2)
- in /usr/src/sys/sys/ufs_inode.c line 31-34(4), 43(2), 69-81(8), 99(2), 105(2), 118(2), 145(2), 168(2), 264(2), 271(2), 293(2), 310(2), 364(2), 373(2), 432(2), 438-442(4), 597(2), 700(2), 732(2), 738(2), 780(2), 790(2)
- in /usr/src/sys/sys/ufs_mount.c line 36(2), 162(2), 270(2), 305(2), 327(2)
- in /usr/src/sys/sys/ufs_namei.c line 111(2), 117(2), 134(2), 848(2), 890-894(4), 1012(2), 1045-1046(4), 1068(2), 1106(2), 1155-1158(4)
- in /usr/src/sys/sys/ufs_subr.c line 66(2)
- in /usr/src/sys/sys/ufs_syscalls.c line 38(2), 73-75(4), 126(2), 196(2), 242(2), 300(2), 344(2), 387(2), 436(2), 459(2), 489(2), 513(2), 523(2), 538(2), 566(2), 583(2), 608(2), 639(2), 657(2), 695(2), 716(2), 743(2), 753(2), 794(2), 1084-1090(6), 1156(2), 1269(2), 1345(2), 1353-1359(6)
- in /usr/src/sys/sys/ufs_syscalls2.c line 26(2), 48(2), 172(2), 232(2), 252(2), 267(2)
- in /usr/src/sys/sys/uipc_usrreq.c line 334(2), 355(2)
- in /usr/src/sys/sys/vfs_vnops.c line 69(2), 187(2), 211(4)
- in /usr/src/sys/sys/vm_text.c line 141(2), 347(2)
- in /usr/src/usr.bin/fstat/fstat.c line 315-317(4), 613(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 64(2), 70-72(4), 99(2), 242(2), 315(2), 393(2)
- in /usr/src/usr.sbin/pstat/pstat.c line 212-213(4), 219(4), 231(2)

vattr defined in line 247; used 18 times

- in /usr/src/sys/sys/ufs_fio.c line 122(2)
- in /usr/src/sys/sys/ufs_syscalls.c line 526(2), 543(2), 567(2), 616(2), 640(2), 719(2), 745(2)
- in /usr/src/sys/sys/ufs_syscalls2.c line 271(2)

#### Defined macros

IACC defined in line 181; used 23 times

- in line 283, 289-293(2), 299, 305-307(2), 313
- in /usr/src/sys/sys/sys_inode.c line 131, 176, 401-403(2), 409
- in /usr/src/sys/sys/sys_pipe.c line 86
- in /usr/src/sys/sys/ufs_fio.c line 176
- in /usr/src/sys/sys/ufs_inode.c line 375, 387, 396, 403
- in /usr/src/sys/sys/ufs_syscalls.c line 230, 1106, 1194
- in /usr/src/sys/sys/ufs_syscalls2.c line 186
- in /usr/src/usr.sbin/pstat/pstat.c line 247

ICHG defined in line 185; used 50 times

- in line 283, 289, 297-299(2), 305, 311-313(2)
- in /usr/src/sys/sys/sys_inode.c line 181, 300, 401, 407-409(2)
- in /usr/src/sys/sys/sys_pipe.c line 86
- in /usr/src/sys/sys/ufs_bmap.c line 69, 114
- in /usr/src/sys/sys/ufs_fio.c line 147, 178
- in /usr/src/sys/sys/ufs_inode.c line 325, 375, 391, 400-403(2), 582
- in /usr/src/sys/sys/ufs_namei.c line 531, 559, 990, 1034
- in /usr/src/sys/sys/ufs_subr.c line 99
- in /usr/src/sys/sys/ufs_syscalls.c line 230, 264, 286, 370, 597, 699, 851, 925, 994, 1030, 1053, 1075, 1106, 1131, 1194, 1212, 1227, 1243, 1254, 1321
- in /usr/src/sys/sys/ufs_syscalls2.c line 186
- in /usr/src/usr.sbin/pstat/pstat.c line 251

IEXEC defined in line 209; used 8 times

- in /usr/src/sys/sys/kern_exec.c line 86-91(4)
- in /usr/src/sys/sys/ufs_namei.c line 196
- in /usr/src/sys/sys/ufs_syscalls.c line 47, 90, 406

IEXLOCK defined in line 187; used 4 times

- in /usr/src/sys/sys/sys_inode.c line 549, 588, 623
- in /usr/src/usr.sbin/pstat/pstat.c line 253

IFBLK defined in line 200; used 13 times

- in /usr/src/sbin/icheck/icheck.c line 244
- in /usr/src/sbin/ncheck/ncheck.c line 190
- in /usr/src/sys/pdp/conf.c line 506
- in /usr/src/sys/sys/sys_inode.c line 214, 225, 308, 491, 682
- in /usr/src/sys/sys/ufs_fio.c line 53
- in /usr/src/sys/sys/ufs_inode.c line 769
- in /usr/src/sys/sys/ufs_mount.c line 340
- in /usr/src/usr.sbin/mkproto/mkproto.c line 80
- in /usr/src/usr.sbin/pstat/pstat.c line 267

IFCHR defined in line 198; used 11 times

- in /usr/src/sbin/icheck/icheck.c line 240
- in /usr/src/sbin/ncheck/ncheck.c line 190
- in /usr/src/sys/pdp/conf.c line 517
- in /usr/src/sys/sys/sys_inode.c line 46, 71, 171, 655, 732
- in /usr/src/sys/sys/ufs_fio.c line 52
- in /usr/src/usr.sbin/mkproto/mkproto.c line 80
- in /usr/src/usr.sbin/pstat/pstat.c line 267

IFDIR defined in line 199; used 41 times

- in /usr/src/old/dump/dumpdir.c line 120
- in /usr/src/old/dump/dumptraverse.c line 98-103(2), 144
- in /usr/src/sbin/dcheck/dcheck.c line 158
- in /usr/src/sbin/dump/dumpdir.c line 135
- in /usr/src/sbin/dump/dumptraverse.c line 103-107(2), 148
- in /usr/src/sbin/fsck/dir.c line 493
- in /usr/src/sbin/fsck/pass2.c line 70
- in /usr/src/sbin/icheck/icheck.c line 250
- in /usr/src/sbin/mkfs/mkfs.c line 299, 309
- in /usr/src/sbin/ncheck/ncheck.c line 187, 209, 239
- in /usr/src/sbin/quotacheck/quotacheck.c line 234
- in /usr/src/sbin/restor/restor.c line 416, 473, 751
- in /usr/src/sys/pdpstand/sys.c line 233
- in /usr/src/sys/sys/sys_inode.c line 168, 202, 240
- in /usr/src/sys/sys/ufs_fio.c line 161
- in /usr/src/sys/sys/ufs_mount.c line 50
- in /usr/src/sys/sys/ufs_namei.c line 192, 1170
- in /usr/src/sys/sys/ufs_syscalls.c line 43, 86, 254, 353, 590, 820, 959, 1175, 1287
- in /usr/src/sys/sys/vfs_vnops.c line 127
- in /usr/src/usr.sbin/mkproto/mkproto.c line 80
- in /usr/src/usr.sbin/quot/quot.c line 131

IFLNK defined in line 202; used 11 times

- in /usr/src/old/dump/dumptraverse.c line 103, 144
- in /usr/src/sbin/dump/dumptraverse.c line 107, 148
- in /usr/src/sbin/icheck/icheck.c line 248
- in /usr/src/sbin/quotacheck/quotacheck.c line 234
- in /usr/src/sys/sys/sys_inode.c line 202, 240
- in /usr/src/sys/sys/ufs_namei.c line 769
- in /usr/src/sys/sys/ufs_syscalls.c line 325, 473

IFMT defined in line 197; used 73 times

- in /usr/src/new/crash/crashsubs.c line 639
- in /usr/src/old/dump/dumpdir.c line 119
- in /usr/src/old/dump/dumptraverse.c line 94, 143
- in /usr/src/sbin/badsect/badsect.c line 35
- in /usr/src/sbin/dcheck/dcheck.c line 158, 190
- in /usr/src/sbin/dump/dumpdir.c line 134
- in /usr/src/sbin/dump/dumptraverse.c line 99, 147
- in /usr/src/sbin/fsck/inode.c line 259
- in /usr/src/sbin/fsck/pass1.c line 60(2)
- in /usr/src/sbin/fsck/pass2.c line 69
- in /usr/src/sbin/fsck/utilities.c line 24
- in /usr/src/sbin/icheck/icheck.c line 235
- in /usr/src/sbin/ncheck/ncheck.c line 187-190(3), 209, 239
- in /usr/src/sbin/quotacheck/quotacheck.c line 229
- in /usr/src/sbin/restor/restor.c line 416, 472, 734, 750, 1219
- in /usr/src/sys/pdpstand/sys.c line 233
- in /usr/src/sys/sys/init_main.c line 357
- in /usr/src/sys/sys/kern_exec.c line 90
- in /usr/src/sys/sys/kern_sig.c line 656
- in /usr/src/sys/sys/quota_kern.c line 719
- in /usr/src/sys/sys/sys_inode.c line 46, 58, 71, 122, 335, 374, 457, 488, 643, 732
- in /usr/src/sys/sys/sys_kern.c line 150
- in /usr/src/sys/sys/ufs_fio.c line 52-53(2), 161
- in /usr/src/sys/sys/ufs_inode.c line 769
- in /usr/src/sys/sys/ufs_mount.c line 50, 340
- in /usr/src/sys/sys/ufs_namei.c line 192, 769, 1170
- in /usr/src/sys/sys/ufs_syscalls.c line 43, 86, 218, 254, 353, 473, 590, 820, 959, 1107, 1287
- in /usr/src/sys/sys/vfs_vnops.c line 105, 127
- in /usr/src/usr.bin/fstat/fstat.c line 386
- in /usr/src/usr.sbin/mkproto/mkproto.c line 116, 324
- in /usr/src/usr.sbin/pstat/pstat.c line 267(2)
- in /usr/src/usr.sbin/quot/quot.c line 128-131(3)

IFREG defined in line 201; used 22 times

- in /usr/src/old/dump/dumptraverse.c line 103, 144
- in /usr/src/sbin/dump/dumptraverse.c line 107, 148
- in /usr/src/sbin/fsck/pass1.c line 63
- in /usr/src/sbin/icheck/icheck.c line 252
- in /usr/src/sbin/mkfs/mkfs.c line 426
- in /usr/src/sbin/quotacheck/quotacheck.c line 234
- in /usr/src/sbin/restor/restor.c line 751
- in /usr/src/sys/sys/init_main.c line 357
- in /usr/src/sys/sys/kern_exec.c line 90
- in /usr/src/sys/sys/kern_sig.c line 656
- in /usr/src/sys/sys/quota_kern.c line 719
- in /usr/src/sys/sys/sys_inode.c line 58, 168, 188, 202, 240
- in /usr/src/sys/sys/sys_pipe.c line 85
- in /usr/src/sys/sys/ufs_syscalls.c line 1108
- in /usr/src/usr.sbin/mkproto/mkproto.c line 80
- in /usr/src/usr.sbin/quot/quot.c line 131

IFSOCK defined in line 203; used 5 times

- in /usr/src/sbin/icheck/icheck.c line 254
- in /usr/src/sys/sys/sys_kern.c line 115, 150
- in /usr/src/sys/sys/vfs_vnops.c line 105
- in /usr/src/usr.bin/fstat/fstat.c line 363

ILOCK defined in line 266; used 15 times

- in /usr/src/sys/sys/quota_kern.c line 407, 414, 641, 648
- in /usr/src/sys/sys/sys_inode.c line 47
- in /usr/src/sys/sys/sys_pipe.c line 111, 165, 196, 231
- in /usr/src/sys/sys/ufs_inode.c line 783
- in /usr/src/sys/sys/ufs_namei.c line 179, 321, 653, 805-809(2)

ILOCKED defined in line 179; used 14 times

- in line 267-275(3)
- in /usr/src/sys/sys/ufs_inode.c line 127, 156, 189, 266, 282, 302, 313, 350
- in /usr/src/sys/sys/ufs_syscalls2.c line 185-188(2)
- in /usr/src/usr.sbin/pstat/pstat.c line 245

ILWAIT defined in line 188; used 6 times

- in /usr/src/sys/sys/sys_inode.c line 560, 579, 616, 623-624(2)
- in /usr/src/usr.sbin/pstat/pstat.c line 254

IMOD defined in line 189; used 8 times

- in line 283, 292, 306
- in /usr/src/sys/sys/sys_inode.c line 402
- in /usr/src/sys/sys/ufs_inode.c line 375, 403
- in /usr/src/sys/sys/ufs_syscalls2.c line 186
- in /usr/src/usr.sbin/pstat/pstat.c line 256

IMOUNT defined in line 182; used 4 times

- in /usr/src/sys/sys/ufs_inode.c line 132
- in /usr/src/sys/sys/ufs_mount.c line 233, 308
- in /usr/src/usr.sbin/pstat/pstat.c line 248

IO_APPEND defined in line 221; used 3 times

- in /usr/src/sys/sys/sys_inode.c line 59, 66, 138

IO_NDELAY defined in line 224; used 10 times

- in /usr/src/sys/sys/subr_log.c line 126
- in /usr/src/sys/sys/sys_inode.c line 52, 61
- in /usr/src/sys/sys/tty.c line 1182, 1215, 1334, 1465
- in /usr/src/sys/sys/tty_pty.c line 120, 271, 453

IO_SYNC defined in line 222; used 15 times

- in /usr/src/sys/sys/sys_inode.c line 64, 144-145(2), 169, 219, 286, 309, 320
- in /usr/src/sys/sys/ufs_inode.c line 449
- in /usr/src/sys/sys/ufs_namei.c line 915, 1023, 1053
- in /usr/src/sys/sys/ufs_syscalls.c line 1046, 1223
- in /usr/src/sys/sys/vfs_vnops.c line 140

IO_UNIT defined in line 220; used 27 times

- in /usr/src/sys/sys/init_main.c line 362, 384, 394, 404
- in /usr/src/sys/sys/kern_exec.c line 115, 508, 601
- in /usr/src/sys/sys/kern_sig.c line 664, 670, 676
- in /usr/src/sys/sys/quota_kern.c line 409, 416, 644, 651
- in /usr/src/sys/sys/sys_inode.c line 307
- in /usr/src/sys/sys/ufs_namei.c line 915, 1023, 1053, 1117, 1176
- in /usr/src/sys/sys/ufs_syscalls.c line 329, 478, 1033, 1046, 1223
- in /usr/src/sys/sys/vm_text.c line 222, 236

IPIPE defined in line 191; used 9 times

- in /usr/src/sys/sys/sys_inode.c line 203, 281, 295
- in /usr/src/sys/sys/sys_pipe.c line 86, 280
- in /usr/src/sys/sys/ufs_inode.c line 459
- in /usr/src/usr.sbin/pstat/pstat.c line 255, 261-262(2)

IRCOLL defined in line 192; used 5 times

- in /usr/src/sys/sys/sys_pipe.c line 215-217(2), 242, 285-287(2)

IREAD defined in line 207; used 8 times

- in /usr/src/sys/sys/kern_exec.c line 88
- in /usr/src/sys/sys/kern_sig.c line 635
- in /usr/src/sys/sys/sys_pipe.c line 124, 210-211(2), 295
- in /usr/src/sys/sys/ufs_syscalls.c line 402
- in /usr/src/sys/sys/vfs_vnops.c line 119

IRENAME defined in line 190; used 4 times

- in /usr/src/sys/sys/ufs_syscalls.c line 829, 838, 1055
- in /usr/src/usr.sbin/pstat/pstat.c line 257

ISGID defined in line 205; used 8 times

- in /usr/src/sbin/ncheck/ncheck.c line 191
- in /usr/src/sys/sys/kern_exec.c line 82
- in /usr/src/sys/sys/sys_inode.c line 302
- in /usr/src/sys/sys/ufs_syscalls.c line 592, 703, 1113-1114(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 82

ISHLOCK defined in line 186; used 4 times

- in /usr/src/sys/sys/sys_inode.c line 565, 593, 615
- in /usr/src/usr.sbin/pstat/pstat.c line 252

ISUID defined in line 204; used 5 times

- in /usr/src/sbin/ncheck/ncheck.c line 191
- in /usr/src/sys/sys/kern_exec.c line 80
- in /usr/src/sys/sys/sys_inode.c line 302
- in /usr/src/sys/sys/ufs_syscalls.c line 701
- in /usr/src/usr.sbin/mkproto/mkproto.c line 81

ISVTX defined in line 206; used 6 times

- in /usr/src/sys/sys/sys_process.c line 129
- in /usr/src/sys/sys/ufs_namei.c line 621
- in /usr/src/sys/sys/ufs_syscalls.c line 138, 590, 598, 947

ITEXT defined in line 184; used 8 times

- in /usr/src/sys/sys/kern_exec.c line 472
- in /usr/src/sys/sys/ufs_fio.c line 63-65(2)
- in /usr/src/sys/sys/ufs_syscalls.c line 366, 598
- in /usr/src/sys/sys/vm_text.c line 211, 356
- in /usr/src/usr.sbin/pstat/pstat.c line 250

ITIMES defined in line 304; used 1 times

- in /usr/src/sys/sys/ufs_inode.c line 351

IUNLOCK defined in line 274; used 17 times

- in /usr/src/sys/sys/quota_kern.c line 418, 653, 714
- in /usr/src/sys/sys/sys_inode.c line 72
- in /usr/src/sys/sys/sys_pipe.c line 119, 150, 184, 194, 258
- in /usr/src/sys/sys/ufs_inode.c line 305, 329, 793
- in /usr/src/sys/sys/ufs_mount.c line 235
- in /usr/src/sys/sys/ufs_namei.c line 303, 309, 710, 718

IUPD defined in line 180; used 31 times

- in line 283, 289, 295-299(2), 305-313(3)
- in /usr/src/sys/sys/sys_inode.c line 181, 300, 401-409(3)
- in /usr/src/sys/sys/sys_pipe.c line 86
- in /usr/src/sys/sys/ufs_bmap.c line 69, 114
- in /usr/src/sys/sys/ufs_fio.c line 178
- in /usr/src/sys/sys/ufs_inode.c line 325, 375, 389, 398-403(2), 582
- in /usr/src/sys/sys/ufs_namei.c line 531, 559, 990, 1034
- in /usr/src/sys/sys/ufs_syscalls.c line 230, 1106, 1194
- in /usr/src/sys/sys/ufs_syscalls2.c line 186
- in /usr/src/usr.sbin/pstat/pstat.c line 246

IUPDAT defined in line 282; used 2 times

- in /usr/src/sys/sys/sys_inode.c line 321
- in /usr/src/sys/sys/ufs_inode.c line 328

IWANT defined in line 183; used 6 times

- in line 268, 276-277(2)
- in /usr/src/sys/sys/ufs_inode.c line 128, 267
- in /usr/src/usr.sbin/pstat/pstat.c line 249

IWCOLL defined in line 193; used 5 times

- in /usr/src/sys/sys/sys_pipe.c line 145-147(2), 253, 291-293(2)

IWRITE defined in line 208; used 15 times

- in /usr/src/sys/sys/kern_sig.c line 655
- in /usr/src/sys/sys/sys_kern.c line 145
- in /usr/src/sys/sys/sys_pipe.c line 140-141(2), 193, 295
- in /usr/src/sys/sys/ufs_fio.c line 40, 172
- in /usr/src/sys/sys/ufs_namei.c line 510, 593, 669
- in /usr/src/sys/sys/ufs_syscalls.c line 404, 725, 890
- in /usr/src/sys/sys/vfs_vnops.c line 132

IXMOD defined in line 194; used 1 times

- in /usr/src/usr.sbin/pstat/pstat.c line 258

NADDR defined in line 23; used 46 times

- in line 51
- in /usr/src/old/dump/dumpitime.c line 220, 226
- in /usr/src/old/dump/dumptraverse.c line 50-58(6)
- in /usr/src/sbin/dump/dumpitime.c line 183, 189
- in /usr/src/sbin/dump/dumptraverse.c line 54-59(4)
- in /usr/src/sbin/fsck/pass1.c line 43, 77
- in /usr/src/sbin/icheck/icheck.c line 260-263(2), 275, 287
- in /usr/src/sbin/restor/restor.c line 86, 412, 431, 753, 762-770(3), 861, 872, 885, 900-901(2)
- in /usr/src/sys/pdpstand/sys.c line 88, 151, 165, 191
- in /usr/src/sys/sys/ufs_bmap.c line 52, 71, 84, 100, 113
- in /usr/src/sys/sys/ufs_inode.c line 236, 412
- in /usr/src/usr.sbin/mkproto/mkproto.c line 95, 355

NDADDR defined in line 21; used 25 times

- in line 23, 53
- in /usr/src/sbin/dcheck/dcheck.c line 246-253(3)
- in /usr/src/sbin/fsck/dir.c line 442
- in /usr/src/sbin/fsck/inode.c line 32, 43-47(2)
- in /usr/src/sbin/fsck/pass1.c line 88, 97-103(3)
- in /usr/src/sbin/ncheck/ncheck.c line 368-375(3)
- in /usr/src/sys/sys/ufs_inode.c line 487, 530, 553, 569
- in /usr/src/usr.sbin/mkproto/mkproto.c line 329-337(5)

NIADDR defined in line 22; used 5 times

- in line 23, 54
- in /usr/src/sbin/fsck/inode.c line 43
- in /usr/src/sbin/fsck/pass1.c line 99
- in /usr/src/sys/sys/ufs_inode.c line 439

VATTR_NULL defined in line 231; used 8 times

- in /usr/src/sys/sys/ufs_syscalls.c line 528, 551, 572, 622, 645, 727, 755
- in /usr/src/sys/sys/ufs_syscalls2.c line 273

VA_UTIMES_NULL defined in line 215; used 2 times

- in /usr/src/sys/sys/ufs_fio.c line 171
- in /usr/src/sys/sys/ufs_syscalls2.c line 276

VNOVAL defined in line 229; used 9 times

- in /usr/src/sys/sys/ufs_fio.c line 129, 156-159(3), 167-168(2), 174-177(2), 183

cacheinval defined in line 153; used 6 times

- in /usr/src/sys/sys/ufs_inode.c line 188
- in /usr/src/sys/sys/ufs_mount.c line 234
- in /usr/src/sys/sys/ufs_syscalls.c line 968, 1047, 1322, 1338

cacheinvalall defined in line 151; used 1 times

- in line 156

di_atime defined in line 138; used 4 times

- in /usr/src/sbin/fsck/inode.c line 277-278(2)
- in /usr/src/sbin/restor/restor.c line 428(2)

di_ctime defined in line 140; used 5 times

- in /usr/src/old/dump/dumptraverse.c line 101
- in /usr/src/sbin/dump/dumptraverse.c line 90
- in /usr/src/sbin/fsck/inode.c line 278
- in /usr/src/sbin/restor/restor.c line 430(2)

di_gid defined in line 136; used 5 times

- in /usr/src/sbin/ncheck/ncheck.c line 185, 195
- in /usr/src/sbin/restor/restor.c line 295, 423(2)

di_ic1 defined in line 131; used 9 times

- in line 133-137(5)
- in /usr/src/sbin/mkfs/mkfs.c line 458
- in /usr/src/sys/sys/ufs_inode.c line 229, 405
- in /usr/src/usr.sbin/mkproto/mkproto.c line 356

di_ic2 defined in line 132; used 9 times

- in line 138-140(3)
- in /usr/src/sbin/mkfs/mkfs.c line 459
- in /usr/src/sys/sys/ufs_inode.c line 232-234(2), 408-410(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 354

di_mode defined in line 133; used 42 times

- in /usr/src/old/dump/dumpdir.c line 119
- in /usr/src/old/dump/dumptraverse.c line 94, 143
- in /usr/src/sbin/dcheck/dcheck.c line 158, 190
- in /usr/src/sbin/dump/dumpdir.c line 134
- in /usr/src/sbin/dump/dumptraverse.c line 99, 147
- in /usr/src/sbin/fsck/inode.c line 203, 276
- in /usr/src/sbin/fsck/pass1.c line 44, 60-63(2), 124
- in /usr/src/sbin/fsck/pass2.c line 69-70(2)
- in /usr/src/sbin/fsck/utilities.c line 24, 36
- in /usr/src/sbin/icheck/icheck.c line 235
- in /usr/src/sbin/ncheck/ncheck.c line 183-193(6), 209, 239
- in /usr/src/sbin/quotacheck/quotacheck.c line 229
- in /usr/src/sbin/restor/restor.c line 375, 416-420(3), 472, 734, 748-750(2), 1219
- in /usr/src/sys/pdpstand/sys.c line 86
- in /usr/src/sys/sys/ufs_alloc.c line 206
- in /usr/src/usr.sbin/quot/quot.c line 128-131(3)

di_mtime defined in line 139; used 6 times

- in /usr/src/old/dump/dumptraverse.c line 100
- in /usr/src/sbin/dump/dumptraverse.c line 90
- in /usr/src/sbin/fsck/inode.c line 207, 278
- in /usr/src/sbin/restor/restor.c line 429(2)

di_nlink defined in line 134; used 18 times

- in /usr/src/sbin/dcheck/dcheck.c line 192(2), 198
- in /usr/src/sbin/fsck/dir.c line 220, 228(2), 237, 390, 508-511(2), 521-525(2), 540
- in /usr/src/sbin/fsck/pass1.c line 109-110(2)
- in /usr/src/sbin/restor/restor.c line 421(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 107

di_size defined in line 137; used 45 times

- in /usr/src/old/dump/dumpdir.c line 125
- in /usr/src/old/dump/dumpitime.c line 218
- in /usr/src/sbin/dcheck/dcheck.c line 212
- in /usr/src/sbin/dump/dumpdir.c line 140
- in /usr/src/sbin/dump/dumpitime.c line 181
- in /usr/src/sbin/fsck/dir.c line 45, 51-60(6), 295, 421-422(3), 441, 448, 477
- in /usr/src/sbin/fsck/inode.c line 28, 47, 206, 279
- in /usr/src/sbin/fsck/pass1.c line 44, 56-66(4), 76
- in /usr/src/sbin/ncheck/ncheck.c line 278
- in /usr/src/sbin/quotacheck/quotacheck.c line 235
- in /usr/src/sbin/restor/restor.c line 296, 303, 417, 425-427(3), 478, 774
- in /usr/src/sys/pdpstand/NEW/rabads.c line 85, 1862
- in /usr/src/sys/pdpstand/sys.c line 87
- in /usr/src/usr.sbin/mkproto/mkproto.c line 108
- in /usr/src/usr.sbin/quot/quot.c line 133, 143

di_uid defined in line 135; used 13 times

- in /usr/src/sbin/fsck/inode.c line 199-202(2)
- in /usr/src/sbin/ncheck/ncheck.c line 184, 194
- in /usr/src/sbin/quotacheck/quotacheck.c line 232
- in /usr/src/sbin/restor/restor.c line 295, 422(2)
- in /usr/src/usr.sbin/quot/quot.c line 141-144(3), 158-161(2)

i_addr defined in line 122; used 17 times

- in /usr/src/new/crash/crashsubs.c line 678
- in /usr/src/sbin/mkfs/mkfs.c line 457
- in /usr/src/sys/pdpstand/sys.c line 88, 153, 191
- in /usr/src/sys/sys/ufs_alloc.c line 167(2)
- in /usr/src/sys/sys/ufs_bmap.c line 54, 68-72(2), 100, 113
- in /usr/src/sys/sys/ufs_inode.c line 236, 412
- in /usr/src/usr.sbin/mkproto/mkproto.c line 95, 276, 355

i_atime defined in line 117; used 4 times

- in line 308
- in /usr/src/sbin/mkfs/mkfs.c line 289
- in /usr/src/sys/sys/ufs_inode.c line 397
- in /usr/src/usr.sbin/mkproto/mkproto.c line 323

i_back defined in line 127; used 4 times

- in /usr/src/sys/sys/ufs_inode.c line 54-58(2), 211, 752

i_ctime defined in line 119; used 4 times

- in line 312
- in /usr/src/sbin/mkfs/mkfs.c line 291
- in /usr/src/sys/sys/ufs_inode.c line 401
- in /usr/src/usr.sbin/mkproto/mkproto.c line 323

i_db defined in line 114; used 14 times

- in /usr/src/sbin/mkfs/mkfs.c line 302-303(2), 312-313(2)
- in /usr/src/sys/sys/ufs_inode.c line 531, 554-557(2), 570(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 109-112(3), 168, 331

i_dummy defined in line 123; used 1 times

- in /usr/src/sys/sys/ufs_syscalls.c line 229

i_exlockc defined in line 110; used 3 times

- in /usr/src/sys/sys/sys_inode.c line 587, 622
- in /usr/src/usr.sbin/pstat/pstat.c line 262

i_forw defined in line 126; used 6 times

- in /usr/src/sys/sys/ufs_inode.c line 53-57(2), 78, 118, 210, 751

i_freeb defined in line 129; used 16 times

- in /usr/src/sys/sys/ufs_inode.c line 52, 60, 148-153(5), 171-175(2), 274-279(5), 343-346(2)

i_freef defined in line 128; used 11 times

- in /usr/src/sys/sys/ufs_inode.c line 51, 61-63(2), 147-152(2), 170-174(2), 273-278(2), 348-349(2)

i_gid defined in line 107; used 14 times

- in /usr/src/new/crash/crash.c line 350
- in /usr/src/sys/sys/kern_exec.c line 83
- in /usr/src/sys/sys/sys_inode.c line 416
- in /usr/src/sys/sys/ufs_fio.c line 87
- in /usr/src/sys/sys/ufs_syscalls.c line 592, 668, 678, 691, 1112-1113(3), 1198(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 92

i_ib defined in line 115; used 7 times

- in /usr/src/sys/sys/ufs_inode.c line 527, 538-542(2), 567(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 334-339(2)

i_lastr defined in line 124; used 4 times

- in /usr/src/new/crash/crashsubs.c line 676
- in /usr/src/sys/sys/sys_inode.c line 250-254(2)
- in /usr/src/sys/sys/ufs_inode.c line 191

i_mode defined in line 104; used 86 times

- in /usr/src/new/crash/crashsubs.c line 638-639(2)
- in /usr/src/sbin/mkfs/mkfs.c line 299, 309, 426
- in /usr/src/sys/pdpstand/sys.c line 86, 233-235(2)
- in /usr/src/sys/sys/init_main.c line 357
- in /usr/src/sys/sys/kern_exec.c line 80-82(2), 90-91(2)
- in /usr/src/sys/sys/kern_sig.c line 656
- in /usr/src/sys/sys/quota_kern.c line 719
- in /usr/src/sys/sys/quota_sys.c line 227
- in /usr/src/sys/sys/sys_inode.c line 46, 58, 71, 122, 302, 335, 374, 413, 457, 488, 643, 732
- in /usr/src/sys/sys/sys_kern.c line 150
- in /usr/src/sys/sys/sys_pipe.c line 85, 124, 140-141(2), 193, 210-211(2), 295
- in /usr/src/sys/sys/sys_process.c line 129
- in /usr/src/sys/sys/ufs_alloc.c line 166
- in /usr/src/sys/sys/ufs_fio.c line 52-53(2), 93, 161
- in /usr/src/sys/sys/ufs_inode.c line 246, 323, 769
- in /usr/src/sys/sys/ufs_mount.c line 50, 340
- in /usr/src/sys/sys/ufs_namei.c line 192, 621, 769, 1170
- in /usr/src/sys/sys/ufs_syscalls.c line 43, 86, 218, 254, 353, 473, 590-598(4), 701-703(2), 820, 947, 959, 1109-1114(3), 1195, 1287
- in /usr/src/sys/sys/vfs_vnops.c line 105, 127
- in /usr/src/usr.bin/fstat/fstat.c line 363-367(2)
- in /usr/src/usr.sbin/mkproto/mkproto.c line 80-82(3), 90, 116, 324, 348
- in /usr/src/usr.sbin/pstat/pstat.c line 264-267(3)

i_mtime defined in line 118; used 4 times

- in line 310
- in /usr/src/sbin/mkfs/mkfs.c line 290
- in /usr/src/sys/sys/ufs_inode.c line 399
- in /usr/src/usr.sbin/mkproto/mkproto.c line 323

i_nlink defined in line 105; used 34 times

- in /usr/src/new/crash/crash.c line 348
- in /usr/src/sbin/mkfs/mkfs.c line 300, 310
- in /usr/src/sys/sys/kern_sig.c line 657
- in /usr/src/sys/sys/sys_inode.c line 414
- in /usr/src/sys/sys/ufs_inode.c line 314
- in /usr/src/sys/sys/ufs_namei.c line 505
- in /usr/src/sys/sys/ufs_syscalls.c line 263, 285, 369, 850, 924, 960, 988-990(2), 1029, 1052, 1074, 1110, 1130, 1196, 1211, 1226, 1242, 1253, 1305, 1320, 1336
- in /usr/src/sys/sys/vm_text.c line 107
- in /usr/src/usr.sbin/mkproto/mkproto.c line 93, 107, 154-155(2)
- in /usr/src/usr.sbin/pstat/pstat.c line 265

i_rdev defined in line 121; used 16 times

- in /usr/src/new/crash/crashsubs.c line 669
- in /usr/src/sys/sys/sys_inode.c line 112, 354, 380, 417, 458, 488, 638, 734
- in /usr/src/sys/sys/ufs_inode.c line 324, 770
- in /usr/src/sys/sys/ufs_mount.c line 344
- in /usr/src/sys/sys/ufs_syscalls.c line 228
- in /usr/src/usr.sbin/mkproto/mkproto.c line 142
- in /usr/src/usr.sbin/pstat/pstat.c line 268(2)

i_rsel defined in line 111; used 8 times

- in /usr/src/sys/sys/sys_pipe.c line 214-216(3), 241-244(2), 283-286(3)

i_shlockc defined in line 109; used 7 times

- in /usr/src/sys/sys/sys_inode.c line 561, 580, 592, 614-617(2), 625
- in /usr/src/usr.sbin/pstat/pstat.c line 261

i_size defined in line 108; used 64 times

- in /usr/src/new/crash/crashsubs.c line 674
- in /usr/src/sbin/mkfs/mkfs.c line 301, 311
- in /usr/src/sys/pdpstand/sys.c line 87, 233-235(2), 261, 355-356(2), 419-420(2)
- in /usr/src/sys/sys/init_main.c line 357
- in /usr/src/sys/sys/sys_inode.c line 139-140(2), 204-207(2), 217, 227, 239-241(2), 279, 343, 418, 429
- in /usr/src/sys/sys/sys_pipe.c line 114, 137-139(2), 166, 192, 206, 237, 248
- in /usr/src/sys/sys/ufs_inode.c line 460-461(2), 469-476(3), 522-524(2)
- in /usr/src/sys/sys/ufs_namei.c line 386, 398, 521, 556-558(2), 773, 792-793(2), 916(2), 937-938(2), 991, 1115
- in /usr/src/sys/sys/ufs_subr.c line 74
- in /usr/src/sys/sys/ufs_syscalls.c line 684, 1230
- in /usr/src/sys/sys/ufs_syscalls2.c line 232
- in /usr/src/usr.bin/fstat/fstat.c line 363
- in /usr/src/usr.sbin/mkproto/mkproto.c line 94, 108, 127, 252, 290
- in /usr/src/usr.sbin/pstat/pstat.c line 270

i_socket defined in line 125; used 3 times

- in /usr/src/sys/sys/sys_kern.c line 85, 121, 152

i_text defined in line 112; used 8 times

- in /usr/src/sys/sys/kern_exec.c line 468(2)
- in /usr/src/sys/sys/ufs_fio.c line 64
- in /usr/src/sys/sys/ufs_syscalls.c line 367, 599
- in /usr/src/sys/sys/vm_text.c line 153, 212, 357

i_uid defined in line 106; used 26 times

- in /usr/src/new/crash/crash.c line 349
- in /usr/src/sys/sys/kern_exec.c line 81
- in /usr/src/sys/sys/quota_sys.c line 227
- in /usr/src/sys/sys/quota_ufs.c line 39, 47
- in /usr/src/sys/sys/sys_inode.c line 415
- in /usr/src/sys/sys/ufs_fio.c line 83, 131, 170
- in /usr/src/sys/sys/ufs_inode.c line 317
- in /usr/src/sys/sys/ufs_namei.c line 623-624(2)
- in /usr/src/sys/sys/ufs_syscalls.c line 587, 666, 674-690(6), 948(2), 1111, 1197
- in /usr/src/usr.sbin/mkproto/mkproto.c line 92
- in /usr/src/usr.sbin/pstat/pstat.c line 266

i_wsel defined in line 113; used 8 times

- in /usr/src/sys/sys/sys_pipe.c line 144-146(3), 252-255(2), 289-292(3)

#### Usage of this include

inode.h used 76 times

- in /usr/src/new/crash/crash.c line 98
- in /usr/src/new/crash/crashsubs.c line 23
- in /usr/src/old/dump/dump.h line 19
- in /usr/src/old/dump/dumpdir.c line 3
- in /usr/src/sbin/badsect/badsect.c line 17
- in /usr/src/sbin/clri/clri.c line 10
- in /usr/src/sbin/dcheck/dcheck.c line 23
- in /usr/src/sbin/dump/dump.h line 13
- in /usr/src/sbin/dump/dumpdir.c line 3
- in /usr/src/sbin/dump/dumprmt.c line 42
- in /usr/src/sbin/fsck/dir.c line 12
- in /usr/src/sbin/fsck/inode.c line 13
- in /usr/src/sbin/fsck/main.c line 16
- in /usr/src/sbin/fsck/pass1.c line 13
- in /usr/src/sbin/fsck/pass1b.c line 12
- in /usr/src/sbin/fsck/pass2.c line 12
- in /usr/src/sbin/fsck/pass3.c line 12
- in /usr/src/sbin/fsck/pass4.c line 12
- in /usr/src/sbin/fsck/pass5.c line 12
- in /usr/src/sbin/fsck/setup.c line 14
- in /usr/src/sbin/fsck/utilities.c line 14
- in /usr/src/sbin/icheck/icheck.c line 20
- in /usr/src/sbin/mkfs/mkfs.c line 31
- in /usr/src/sbin/ncheck/ncheck.c line 23
- in /usr/src/sbin/quotacheck/quotacheck.c line 51
- in /usr/src/sbin/restor/restor.c line 26
- in /usr/src/sys/CURLY/param.c line 18
- in /usr/src/sys/GENERIC/param.c line 18
- in /usr/src/sys/QT/param.c line 18
- in /usr/src/sys/conf/param.c line 18
- in /usr/src/sys/h/sysctl.h line 49
- in /usr/src/sys/pdp/conf.c line 15
- in /usr/src/sys/pdp/genassym.c line 13
- in /usr/src/sys/pdp/machdep2.c line 14
- in /usr/src/sys/pdpstand/NEW/dkbad.c line 33
- in /usr/src/sys/pdpstand/NEW/rabads.c line 60
- in /usr/src/sys/pdpstand/saio.h line 17
- in /usr/src/sys/sys/init_main.c line 18
- in /usr/src/sys/sys/kern_descrip.c line 14
- in /usr/src/sys/sys/kern_exec.c line 18
- in /usr/src/sys/sys/kern_exit.c line 17
- in /usr/src/sys/sys/kern_fork.c line 17
- in /usr/src/sys/sys/kern_sig.c line 13
- in /usr/src/sys/sys/kern_sysctl.c line 50
- in /usr/src/sys/sys/quota_kern.c line 30
- in /usr/src/sys/sys/quota_subr.c line 19
- in /usr/src/sys/sys/quota_sys.c line 18
- in /usr/src/sys/sys/quota_ufs.c line 19
- in /usr/src/sys/sys/subr_log.c line 33
- in /usr/src/sys/sys/sys_generic.c line 15
- in /usr/src/sys/sys/sys_inode.c line 15
- in /usr/src/sys/sys/sys_kern.c line 15
- in /usr/src/sys/sys/sys_pipe.c line 13
- in /usr/src/sys/sys/sys_process.c line 17
- in /usr/src/sys/sys/tty.c line 20
- in /usr/src/sys/sys/tty_pty.c line 26
- in /usr/src/sys/sys/tty_tb.c line 22
- in /usr/src/sys/sys/ufs_alloc.c line 14
- in /usr/src/sys/sys/ufs_bmap.c line 15
- in /usr/src/sys/sys/ufs_fio.c line 12
- in /usr/src/sys/sys/ufs_inode.c line 14
- in /usr/src/sys/sys/ufs_mount.c line 14
- in /usr/src/sys/sys/ufs_namei.c line 13
- in /usr/src/sys/sys/ufs_subr.c line 15
- in /usr/src/sys/sys/ufs_syscalls.c line 12
- in /usr/src/sys/sys/ufs_syscalls2.c line 12
- in /usr/src/sys/sys/uipc_socket2.c line 20
- in /usr/src/sys/sys/uipc_syscalls.c line 18
- in /usr/src/sys/sys/uipc_usrreq.c line 18
- in /usr/src/sys/sys/vfs_vnops.c line 45
- in /usr/src/sys/sys/vm_text.c line 16
- in /usr/src/ucb/vmstat.c line 25
- in /usr/src/usr.bin/fstat/fstat.c line 29
- in /usr/src/usr.sbin/mkproto/mkproto.c line 24
- in /usr/src/usr.sbin/pstat/pstat.c line 27
- in /usr/src/usr.sbin/quot/quot.c line 9

Last modified: 1995-12-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1802 |