Lines Matching refs:cpu_to_je32
163 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin()
164 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_begin()
166 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin()
167 ri.version = cpu_to_je32(++f->highest_version); in jffs2_write_begin()
171 ri.isize = cpu_to_je32((uint32_t)pos); in jffs2_write_begin()
172 ri.atime = ri.ctime = ri.mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_begin()
173 ri.offset = cpu_to_je32(inode->i_size); in jffs2_write_begin()
174 ri.dsize = cpu_to_je32((uint32_t)pos - inode->i_size); in jffs2_write_begin()
175 ri.csize = cpu_to_je32(0); in jffs2_write_begin()
177 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_write_begin()
178 ri.data_crc = cpu_to_je32(0); in jffs2_write_begin()
290 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_write_end()
294 ri->isize = cpu_to_je32((uint32_t)inode->i_size); in jffs2_write_end()
295 ri->atime = ri->ctime = ri->mtime = cpu_to_je32(JFFS2_NOW()); in jffs2_write_end()