Searched refs:isum (Results 1 – 2 of 2) sorted by relevance
677 struct jffs2_raw_summary isum; in jffs2_sum_write_data() local707 memset(&isum, 0, sizeof(isum)); in jffs2_sum_write_data()709 isum.magic = cpu_to_je16(JFFS2_MAGIC_BITMASK); in jffs2_sum_write_data()710 isum.nodetype = cpu_to_je16(JFFS2_NODETYPE_SUMMARY); in jffs2_sum_write_data()711 isum.totlen = cpu_to_je32(infosize); in jffs2_sum_write_data()712 isum.hdr_crc = cpu_to_je32(crc32(0, &isum, sizeof(struct jffs2_unknown_node) - 4)); in jffs2_sum_write_data()713 isum.padded = cpu_to_je32(c->summary->sum_padded); in jffs2_sum_write_data()714 isum.cln_mkr = cpu_to_je32(c->cleanmarker_size); in jffs2_sum_write_data()715 isum.sum_num = cpu_to_je32(c->summary->sum_num); in jffs2_sum_write_data()806 isum.sum_crc = cpu_to_je32(crc32(0, c->summary->sum_buf, datasize)); in jffs2_sum_write_data()[all …]
34 u64 isum; member