1: /*
2: * Inode structure as it appears on
3: * the disk. Not used by the system,
4: * but by things like check, df, dump.
5: */
6: struct inode
7: {
8: int i_mode;
9: char i_nlink;
10: char i_uid;
11: char i_gid;
12: char i_size0;
13: char *i_size1;
14: int i_addr[8];
15: int i_atime[2];
16: int i_mtime[2];
17: };
18:
19: /* modes */
20: #define IALLOC 0100000
21: #define IFMT 060000
22: #define IFDIR 040000
23: #define IFCHR 020000
24: #define IFBLK 060000
25: #define ILARG 010000
26: #define ISUID 04000
27: #define ISGID 02000
28: #define ISVTX 01000
29: #define IREAD 0400
30: #define IWRITE 0200
31: #define IEXEC 0100
Defined struct's
inode
defined in line
6; used 36 times
- in /usr/source/s1/dcheck.c line
16(2),
112-115(4),
138(2),
158(2)
- in /usr/source/s1/dump.c line
59(2),
275(2)
- in /usr/source/s1/icheck.c line
14(2),
149(2)
- in /usr/source/s2/ncheck.c line
15(2),
123(2),
148(2),
227(2)
- in /usr/source/s2/restor.c line
41(2),
256-258(4),
286-288(4)
Defined macros
IEXEC
defined in line
31;
never used
IFBLK
defined in line
24; used 4 times
IFCHR
defined in line
23; used 4 times
IFDIR
defined in line
22; used 5 times
IFMT
defined in line
21; used 5 times
ILARG
defined in line
25; used 7 times
IREAD
defined in line
29;
never used
ISGID
defined in line
27;
never used
ISUID
defined in line
26;
never used
ISVTX
defined in line
28;
never used
Usage of this include