Mercurial > hg > Members > menikon > CbC_xv6
annotate src/inode.h @ 231:08cd784ddbc0
rename inode.h
author | menikon |
---|---|
date | Sat, 25 Jan 2020 20:37:53 +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; |