Lines Matching refs:isum
677 struct jffs2_raw_summary isum; in jffs2_sum_write_data() local
707 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()
809 isum.sum_crc = cpu_to_je32(crc32(0, c->summary->sum_buf, datasize)); in jffs2_sum_write_data()
810 isum.node_crc = cpu_to_je32(crc32(0, &isum, sizeof(isum) - 8)); in jffs2_sum_write_data()
812 vecs[0].iov_base = &isum; in jffs2_sum_write_data()
813 vecs[0].iov_len = sizeof(isum); in jffs2_sum_write_data()