annotate pirollback/struct.h @ 42:15c2ac2c5c73

pirollback: started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 06 Jul 2013 20:16:34 +0000
parents
children 074237879eca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /* actual MPFFS on-media structure */
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 struct inode_flash {
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 u16 len;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 u8 reserved1;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 u8 type;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 u16 descend;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 u16 sibling;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 u32 dataptr;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 u16 sequence;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 u16 updates;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 };
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 /* our own struct for convenience */
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 struct inode_info {
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 struct inode_flash *flash;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 int parent;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 int type;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 u8 *dataptr;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 u32 offset;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 u32 rawloc;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 u16 len;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 int descend;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 int sibling;
15c2ac2c5c73 pirollback: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 };