Lines Matching refs:latest_node
253 struct jffs2_raw_inode latest_node; in jffs2_read_inode() local
338 latest_node.version = 0; in jffs2_read_inode()
345 …->mtd->read(c->mtd, fn->raw->flash_offset & ~3, sizeof(latest_node), &retlen, (void *)&latest_node… in jffs2_read_inode()
346 if (ret || retlen != sizeof(latest_node)) { in jffs2_read_inode()
348 ret, (long)retlen, sizeof(latest_node)); in jffs2_read_inode()
354 crc = crc32(0, &latest_node, sizeof(latest_node)-8); in jffs2_read_inode()
355 if (crc != latest_node.node_crc) { in jffs2_read_inode()
362 inode->i_mode = latest_node.mode; in jffs2_read_inode()
363 inode->i_uid = latest_node.uid; in jffs2_read_inode()
364 inode->i_gid = latest_node.gid; in jffs2_read_inode()
365 inode->i_size = latest_node.isize; in jffs2_read_inode()
367 jffs2_truncate_fraglist(c, &f->fraglist, latest_node.isize); in jffs2_read_inode()
368 inode->i_atime = latest_node.atime; in jffs2_read_inode()
369 inode->i_mtime = latest_node.mtime; in jffs2_read_inode()
370 inode->i_ctime = latest_node.ctime; in jffs2_read_inode()
417 inode->i_size = latest_node.dsize; in jffs2_read_inode()
421 if (mctime_ver > latest_node.version) { in jffs2_read_inode()