Lines Matching refs:tags
165 * Verify the object header. oh must be valid, but obj and tags may be NULL in
169 struct yaffs_ext_tags *tags, int parent_check)
174 if (!(tags && obj && oh)) {
176 "Verifying object header tags %p obj %p oh %p",
177 tags, obj, oh);
185 tags->obj_id, oh->type);
187 if (tags->obj_id != obj->obj_id)
190 tags->obj_id, obj->obj_id);
198 if (parent_check && tags->obj_id > 1 && !obj->parent)
201 tags->obj_id, oh->parent_obj_id);
209 tags->obj_id, oh->parent_obj_id,
212 if (tags->obj_id > 1 && oh->name[0] == 0) /* Null name */
217 if (tags->obj_id > 1 && ((u8) (oh->name[0])) == 0xff) /* Junk name */
234 struct yaffs_ext_tags tags;
263 * checking the tags for every chunk match.
278 &tags);
279 if (tags.obj_id != obj_id || tags.chunk_id != i)
281 "Object %d chunk_id %d NAND mismatch chunk %d tags (%d:%d)",
283 tags.obj_id, tags.chunk_id);
354 struct yaffs_ext_tags tags;
360 yaffs_rd_chunk_tags_nand(dev, obj->hdr_chunk, buffer, &tags);
362 yaffs_verify_oh(obj, oh, &tags, 1);