Searched refs:cpu_to_jemode (Results 1 – 6 of 6) sorted by relevance
38 #define cpu_to_jemode(x) ((jmode_t){os_to_jffs2_mode(x)}) macro49 #define cpu_to_jemode(x) ((jmode_t){cpu_to_be32(os_to_jffs2_mode(x))}) macro60 #define cpu_to_jemode(x) ((jmode_t){cpu_to_le32(os_to_jffs2_mode(x))}) macro
169 ri.mode = cpu_to_jemode(inode->i_mode); in jffs2_write_begin()292 ri->mode = cpu_to_jemode(inode->i_mode); in jffs2_write_end()
110 ri->mode = cpu_to_jemode(iattr->ia_mode); in jffs2_do_setattr()112 ri->mode = cpu_to_jemode(inode->i_mode); in jffs2_do_setattr()
820 ri.mode = cpu_to_jemode(JFFS2_F_I_MODE(f)); in jffs2_garbage_collect_metadata()1091 ri.mode = cpu_to_jemode(JFFS2_F_I_MODE(f)); in jffs2_garbage_collect_hole()1369 ri.mode = cpu_to_jemode(JFFS2_F_I_MODE(f)); in jffs2_garbage_collect_dnode()
48 ri->mode = cpu_to_jemode(mode); in jffs2_do_new_inode()
1210 latest_node->mode = cpu_to_jemode(S_IFDIR|S_IRUGO|S_IWUSR|S_IXUGO); in jffs2_do_read_inode_internal()