Lines Matching refs:cpu_to_je32
97 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr()
98 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_setattr()
100 ri->ino = cpu_to_je32(inode->i_ino); in jffs2_do_setattr()
101 ri->version = cpu_to_je32(++f->highest_version); in jffs2_do_setattr()
114 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); in jffs2_do_setattr()
115 ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime)); in jffs2_do_setattr()
116 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()
117 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime)); in jffs2_do_setattr()
119 ri->offset = cpu_to_je32(0); in jffs2_do_setattr()
120 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr()
125 ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size); in jffs2_do_setattr()
126 ri->offset = cpu_to_je32(inode->i_size); in jffs2_do_setattr()
132 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_setattr()
134 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
136 ri->data_crc = cpu_to_je32(0); in jffs2_do_setattr()
476 ri->atime = ri->mtime = ri->ctime = cpu_to_je32(I_SEC(inode->i_mtime)); in jffs2_new_inode()