view pirollback/struct.h @ 43:9f4469766c74

pirollback: tree walk implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 06 Jul 2013 20:52:09 +0000
parents 15c2ac2c5c73
children 074237879eca
line wrap: on
line source

/* actual MPFFS on-media structure */
struct inode_flash {
	u16	len;
	u8	reserved1;
	u8	type;
	u16	descend;
	u16	sibling;
	u32	dataptr;
	u16	sequence;
	u16	updates;
};

/* our own struct for convenience */
struct inode_info {
	struct	inode_flash *flash;
	int	parent;
	int	type;
	u8	*dataptr;
	u32	offset;
	u32	rawloc;
	u16	len;
	int	descend;
	int	sibling;
};