Lines Matching refs:cpu_to_je32
749 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
750 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata()
752 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_metadata()
753 ri.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_metadata()
757 ri.isize = cpu_to_je32(ilen); in jffs2_garbage_collect_metadata()
758 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_metadata()
759 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_metadata()
760 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_metadata()
761 ri.offset = cpu_to_je32(0); in jffs2_garbage_collect_metadata()
762 ri.csize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata()
763 ri.dsize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata()
765 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_metadata()
766 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
795 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent()
796 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent()
798 rd.pino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_dirent()
799 rd.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_dirent()
800 rd.ino = cpu_to_je32(fd->ino); in jffs2_garbage_collect_dirent()
804 rd.mctime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_dirent()
806 rd.mctime = cpu_to_je32(0); in jffs2_garbage_collect_dirent()
808 rd.node_crc = cpu_to_je32(crc32(0, &rd, sizeof(rd)-8)); in jffs2_garbage_collect_dirent()
809 rd.name_crc = cpu_to_je32(crc32(0, fd->name, rd.nsize)); in jffs2_garbage_collect_dirent()
998 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole()
999 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_hole()
1001 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_hole()
1002 ri.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_hole()
1003 ri.offset = cpu_to_je32(start); in jffs2_garbage_collect_hole()
1004 ri.dsize = cpu_to_je32(end - start); in jffs2_garbage_collect_hole()
1005 ri.csize = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1020 ri.isize = cpu_to_je32(ilen); in jffs2_garbage_collect_hole()
1021 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_hole()
1022 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_hole()
1023 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_hole()
1024 ri.data_crc = cpu_to_je32(0); in jffs2_garbage_collect_hole()
1025 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_hole()
1270 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
1271 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dnode()
1273 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_dnode()
1274 ri.version = cpu_to_je32(++f->highest_version); in jffs2_garbage_collect_dnode()
1278 ri.isize = cpu_to_je32(JFFS2_F_I_SIZE(f)); in jffs2_garbage_collect_dnode()
1279 ri.atime = cpu_to_je32(JFFS2_F_I_ATIME(f)); in jffs2_garbage_collect_dnode()
1280 ri.ctime = cpu_to_je32(JFFS2_F_I_CTIME(f)); in jffs2_garbage_collect_dnode()
1281 ri.mtime = cpu_to_je32(JFFS2_F_I_MTIME(f)); in jffs2_garbage_collect_dnode()
1282 ri.offset = cpu_to_je32(offset); in jffs2_garbage_collect_dnode()
1283 ri.csize = cpu_to_je32(cdatalen); in jffs2_garbage_collect_dnode()
1284 ri.dsize = cpu_to_je32(datalen); in jffs2_garbage_collect_dnode()
1287 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_dnode()
1288 ri.data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_garbage_collect_dnode()