Mercurial > hg > Members > menikon > CbC_xv6
annotate src/inode.h @ 228:e2520f609094
merge
author | menikon <e165723@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 24 Jan 2020 21:19:48 +0900 |
parents | eda7ea83f4f3 |
children |
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 | 2 uint dev; // Device number |
3 uint inum; // Inode number | |
4 int ref; // Reference count | |
5 int flags; // I_BUSY, I_VALID | |
6 | |
7 short type; // copy of disk inode | |
8 short major; | |
9 short minor; | |
10 short nlink; | |
11 uint size; | |
12 uint addrs[NDIRECT+1]; | |
13 } inode; |