annotate src/inode.h @ 231:08cd784ddbc0

rename inode.h
author menikon
date Sat, 25 Jan 2020 20:37:53 +0900
parents eda7ea83f4f3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
159
eda7ea83f4f3 impl file interface
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents: 149
diff changeset
1 typedef struct inode <Impl, Isa> impl file {
149
654f2dadd744 add inode.h
menikon
parents:
diff changeset
2 uint dev; // Device number
654f2dadd744 add inode.h
menikon
parents:
diff changeset
3 uint inum; // Inode number
654f2dadd744 add inode.h
menikon
parents:
diff changeset
4 int ref; // Reference count
654f2dadd744 add inode.h
menikon
parents:
diff changeset
5 int flags; // I_BUSY, I_VALID
654f2dadd744 add inode.h
menikon
parents:
diff changeset
6
654f2dadd744 add inode.h
menikon
parents:
diff changeset
7 short type; // copy of disk inode
654f2dadd744 add inode.h
menikon
parents:
diff changeset
8 short major;
654f2dadd744 add inode.h
menikon
parents:
diff changeset
9 short minor;
654f2dadd744 add inode.h
menikon
parents:
diff changeset
10 short nlink;
654f2dadd744 add inode.h
menikon
parents:
diff changeset
11 uint size;
654f2dadd744 add inode.h
menikon
parents:
diff changeset
12 uint addrs[NDIRECT+1];
654f2dadd744 add inode.h
menikon
parents:
diff changeset
13 } inode;