1: /*
2: * Structure of the super-block
3: */
4: struct filsys
5: {
6: u_short s_isize; /* size in blocks of i-list */
7: daddr_t s_fsize; /* size in blocks of entire volume */
8: short s_nfree; /* number of addresses in s_free */
9: daddr_t s_free[NICFREE]; /* free block list */
10: short s_ninode; /* number of i-nodes in s_inode */
11: ino_t s_inode[NICINOD]; /* free i-node list */
12: char s_flock; /* lock during free list manipulation */
13: char s_ilock; /* lock during i-list manipulation */
14: char s_fmod; /* super block modified flag */
15: char s_ronly; /* mounted read-only flag */
16: time_t s_time; /* last super block update */
17: daddr_t s_tfree; /* total free blocks*/
18: ino_t s_tinode; /* total free inodes */
19: short s_dinfo[2]; /* interleave stuff */
20: #define s_m s_dinfo[0]
21: #define s_n s_dinfo[1]
22: char s_fsmnt[12]; /* ordinary file mounted on */
23: ino_t s_lasti; /* start place for circular search */
24: ino_t s_nbehind; /* est # free inodes before s_lasti */
25: };
26:
27: #ifdef KERNEL
28: struct filsys *getfs();
29: #endif
Defined struct's
filsys
defined in line
4; used 68 times
- in line 28(2)
- in /usr/src/cmd/512restor.c line
71(2)
- in /usr/src/cmd/dcheck.c line
21(2)
- in /usr/src/cmd/df.c line
30(2)
- in /usr/src/cmd/dump.c line
22(2)
- in /usr/src/cmd/fsck.c line
83(2)
- in /usr/src/cmd/icheck.c line
24(2)
- in /usr/src/cmd/mkfs.c line
47(2)
- in /usr/src/cmd/ncheck.c line
26(2)
- in /usr/src/cmd/quot.c line
25(2)
- in /usr/src/cmd/restor.c line
40(2)
- in /usr/src/cmd/savecore.c line
278(2)
- in /usr/src/sys/sys/alloc.c line
76-80(4),
117(2),
179(2),
219(2),
245(2),
357(2),
399-404(4),
417(2),
434(2),
450(2)
- in /usr/src/sys/sys/fio.c line
193(2)
- in /usr/src/sys/sys/iget.c line
323(2)
- in /usr/src/sys/sys/main.c line
126(2),
135(2)
- in /usr/src/sys/sys/prf.c line
224(2),
242(2)
- in /usr/src/sys/sys/sys3.c line
183(2),
228(2)
- in /usr/src/sys/sys/sys4.c line
713(2)
- in /usr/src/ucb/dump/src/dumptraverse.c line
4(2)
Defined macros
s_m
defined in line
20; used 3 times
s_n
defined in line
21; used 7 times
Usage of this include