Home
last modified time | relevance | path

Searched refs:latest_node (Results 1 – 3 of 3) sorted by relevance

/fs/jffs2/
Dreadinode.c1144 struct jffs2_raw_inode *latest_node) in jffs2_do_read_inode_internal() argument
1207 latest_node->mode = cpu_to_jemode(S_IFDIR|S_IRUGO|S_IWUSR|S_IXUGO); in jffs2_do_read_inode_internal()
1208 latest_node->version = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1209 latest_node->atime = latest_node->ctime = latest_node->mtime = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1210 latest_node->isize = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1211 latest_node->gid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
1212 latest_node->uid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
1218 …ffs2_flash_read(c, ref_offset(rii.latest_ref), sizeof(*latest_node), &retlen, (void *)latest_node); in jffs2_do_read_inode_internal()
1219 if (ret || retlen != sizeof(*latest_node)) { in jffs2_do_read_inode_internal()
1221 ret, retlen, sizeof(*latest_node)); in jffs2_do_read_inode_internal()
[all …]
Dfs.c251 struct jffs2_raw_inode latest_node; in jffs2_iget() local
271 ret = jffs2_do_read_inode(c, f, inode->i_ino, &latest_node); in jffs2_iget()
278 inode->i_mode = jemode_to_cpu(latest_node.mode); in jffs2_iget()
279 inode->i_uid = je16_to_cpu(latest_node.uid); in jffs2_iget()
280 inode->i_gid = je16_to_cpu(latest_node.gid); in jffs2_iget()
281 inode->i_size = je32_to_cpu(latest_node.isize); in jffs2_iget()
282 inode->i_atime = ITIME(je32_to_cpu(latest_node.atime)); in jffs2_iget()
283 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget()
284 inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime)); in jffs2_iget()
Dnodelist.h413 uint32_t ino, struct jffs2_raw_inode *latest_node);