Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Dreadinode.c1147 struct jffs2_raw_inode *latest_node) in jffs2_do_read_inode_internal() argument
1210 latest_node->mode = cpu_to_jemode(S_IFDIR|S_IRUGO|S_IWUSR|S_IXUGO); in jffs2_do_read_inode_internal()
1211 latest_node->version = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1212 latest_node->atime = latest_node->ctime = latest_node->mtime = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1213 latest_node->isize = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1214 latest_node->gid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
1215 latest_node->uid = cpu_to_je16(0); in jffs2_do_read_inode_internal()
1221 …ffs2_flash_read(c, ref_offset(rii.latest_ref), sizeof(*latest_node), &retlen, (void *)latest_node); in jffs2_do_read_inode_internal()
1222 if (ret || retlen != sizeof(*latest_node)) { in jffs2_do_read_inode_internal()
1224 ret, retlen, sizeof(*latest_node)); in jffs2_do_read_inode_internal()
[all …]
Dfs.c257 struct jffs2_raw_inode latest_node; in jffs2_iget() local
277 ret = jffs2_do_read_inode(c, f, inode->i_ino, &latest_node); in jffs2_iget()
281 inode->i_mode = jemode_to_cpu(latest_node.mode); in jffs2_iget()
282 i_uid_write(inode, je16_to_cpu(latest_node.uid)); in jffs2_iget()
283 i_gid_write(inode, je16_to_cpu(latest_node.gid)); in jffs2_iget()
284 inode->i_size = je32_to_cpu(latest_node.isize); in jffs2_iget()
285 inode->i_atime = ITIME(je32_to_cpu(latest_node.atime)); in jffs2_iget()
286 inode->i_mtime = ITIME(je32_to_cpu(latest_node.mtime)); in jffs2_iget()
287 inode->i_ctime = ITIME(je32_to_cpu(latest_node.ctime)); in jffs2_iget()
Dnodelist.h417 uint32_t ino, struct jffs2_raw_inode *latest_node);