Lines Matching refs:tags
14 /* Summaries write the useful part of the tags for the chunks in a block into an
16 * Reading the summaries gives all the tags for the block in one read. Much
19 * Chunks holding summaries are marked with tags making it look like
33 * The summary is built up in an array of summary tags.
39 /* Summary tags don't need the sequence number because that is redundant. */
51 unsigned sum; /* Just add up all the bytes in the tags */
120 struct yaffs_ext_tags tags;
135 memset(&tags, 0, sizeof(struct yaffs_ext_tags));
136 tags.obj_id = YAFFS_OBJECTID_SUMMARY;
137 tags.chunk_id = 1;
152 tags.n_bytes = this_tx + sizeof(hdr);
154 buffer, &tags);
166 tags.chunk_id++;
182 struct yaffs_ext_tags tags;
209 buffer, &tags);
211 if (tags.chunk_id != chunk_id ||
212 tags.obj_id != YAFFS_OBJECTID_SUMMARY ||
213 tags.chunk_used == 0 ||
214 tags.ecc_result > YAFFS_ECC_RESULT_FIXED ||
215 tags.n_bytes != (this_tx + sizeof(hdr)))
250 struct yaffs_ext_tags *tags,
262 yaffs_pack_tags2_tags_only(&tags_only, tags);
279 struct yaffs_ext_tags *tags,
289 yaffs_unpack_tags2_tags_only(tags, &tags_only);