Searched refs:tags (Results 1 - 15 of 15) sorted by relevance

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_tagscompat.h27 const u8 *data, const struct yaffs_ext_tags *tags);
30 u8 *data, struct yaffs_ext_tags *tags);
41 void yaffs_calc_tags_ecc(struct yaffs_tags *tags);
42 int yaffs_check_tags_ecc(struct yaffs_tags *tags);
H A Dyaffs_summary.h26 struct yaffs_ext_tags *tags,
29 struct yaffs_ext_tags *tags,
H A Dyaffs_nand.c26 u8 *buffer, struct yaffs_ext_tags *tags)
34 /* If there are no tags provided use local tags. */
35 if (!tags)
36 tags = &local_tags;
38 result = dev->tagger.read_chunk_tags_fn(dev, flash_chunk, buffer, tags);
39 if (tags && tags->ecc_result > YAFFS_ECC_RESULT_NO_ERROR) {
52 const u8 *buffer, struct yaffs_ext_tags *tags)
59 if (!tags) {
25 yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk, u8 *buffer, struct yaffs_ext_tags *tags) argument
50 yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk, const u8 *buffer, struct yaffs_ext_tags *tags) argument
[all...]
H A Dyaffs_tagsmarshall.c20 const struct yaffs_ext_tags *tags)
31 "yaffs_tags_marshall_write chunk %d data %p tags %p",
32 nand_chunk, data, tags);
34 /* For yaffs2 writing there must be both data and tags.
35 * If we're using inband tags, then the tags are stuffed into
38 if (!data || !tags)
46 yaffs_pack_tags2_tags_only(pt2tp, tags);
48 yaffs_pack_tags2(&pt, tags, !dev->param.no_tags_ecc);
61 struct yaffs_ext_tags *tags)
18 yaffs_tags_marshall_write(struct yaffs_dev *dev, int nand_chunk, const u8 *data, const struct yaffs_ext_tags *tags) argument
59 yaffs_tags_marshall_read(struct yaffs_dev *dev, int nand_chunk, u8 *data, struct yaffs_ext_tags *tags) argument
[all...]
H A Dyaffs_nand.h21 u8 *buffer, struct yaffs_ext_tags *tags);
25 const u8 *buffer, struct yaffs_ext_tags *tags);
H A Dyaffs_tagscompat.c26 void yaffs_calc_tags_ecc(struct yaffs_tags *tags) argument
29 unsigned char *b = ((union yaffs_tags_union *)tags)->as_bytes;
34 tags->ecc = 0;
43 tags->ecc = ecc;
46 int yaffs_check_tags_ecc(struct yaffs_tags *tags) argument
48 unsigned ecc = tags->ecc;
50 yaffs_calc_tags_ecc(tags);
52 ecc ^= tags->ecc;
56 unsigned char *b = ((union yaffs_tags_union *)tags)->as_bytes;
63 yaffs_calc_tags_ecc(tags);
242 struct yaffs_tags tags; local
276 struct yaffs_tags tags; local
[all...]
H A Dyaffs_summary.c14 /* 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; local
135 memset(&tags, 0, sizeof(struct yaffs_ext_tags));
136 tags.obj_id = YAFFS_OBJECTID_SUMMARY;
137 tags
182 struct yaffs_ext_tags tags; local
249 yaffs_summary_add(struct yaffs_dev *dev, struct yaffs_ext_tags *tags, int chunk_in_nand) argument
278 yaffs_summary_fetch(struct yaffs_dev *dev, struct yaffs_ext_tags *tags, int chunk_in_block) argument
[all...]
H A Dyaffs_yaffs1.c24 struct yaffs_ext_tags tags; local
95 /* Read the tags and decide what to do */
99 &tags);
103 if (tags.ecc_result == YAFFS_ECC_RESULT_UNFIXED ||
104 tags.is_deleted) {
110 } else if (!tags.chunk_used) {
135 } else if (tags.chunk_id > 0) {
143 tags.obj_id,
154 (in, tags.chunk_id, chunk, 1))
159 (tags
[all...]
H A Dyaffs_checkptrw.c149 struct yaffs_ext_tags tags; local
164 NULL, &tags);
168 tags.obj_id, tags.seq_number,
169 tags.ecc_result);
171 if (tags.seq_number != YAFFS_SEQUENCE_CHECKPOINT_DATA)
181 dev->checkpt_next_block = tags.obj_id;
266 struct yaffs_ext_tags tags; local
276 tags.is_deleted = 0;
277 tags
352 struct yaffs_ext_tags tags; local
[all...]
H A Dyaffs_verify.c165 * 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
168 yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh, struct yaffs_ext_tags *tags, int parent_check) argument
234 struct yaffs_ext_tags tags; local
354 struct yaffs_ext_tags tags; local
[all...]
H A Dyaffs_yaffs2.c948 struct yaffs_ext_tags tags; local
957 result = yaffs_summary_fetch(dev, &tags, chunk_in_block);
958 tags.seq_number = bi->seq_number;
961 if (!summary_available || tags.obj_id == 0) {
962 result = yaffs_rd_chunk_tags_nand(dev, chunk, NULL, &tags);
970 if (!tags.chunk_used) {
1018 } else if (tags.ecc_result ==
1024 } else if (tags.obj_id > YAFFS_MAX_OBJECT_ID ||
1025 tags.chunk_id > YAFFS_MAX_CHUNK_ID ||
1026 tags
[all...]
H A Dyaffs_verify.h28 struct yaffs_ext_tags *tags, int parent_check);
H A Dyaffs_guts.c197 const struct yaffs_ext_tags *tags)
202 (void) tags;
206 const struct yaffs_ext_tags *tags)
210 (void) tags;
300 struct yaffs_ext_tags tags; local
303 result = yaffs_rd_chunk_tags_nand(dev, nand_chunk, data, &tags);
305 if (tags.ecc_result > YAFFS_ECC_RESULT_NO_ERROR)
309 tags.chunk_used) {
324 struct yaffs_ext_tags *tags)
333 temp_tags.obj_id != tags
195 yaffs_handle_chunk_wr_ok(struct yaffs_dev *dev, int nand_chunk, const u8 *data, const struct yaffs_ext_tags *tags) argument
205 yaffs_handle_chunk_update(struct yaffs_dev *dev, int nand_chunk, const struct yaffs_ext_tags *tags) argument
321 yaffs_verify_chunk_written(struct yaffs_dev *dev, int nand_chunk, const u8 *data, struct yaffs_ext_tags *tags) argument
486 yaffs_write_new_chunk(struct yaffs_dev *dev, const u8 *data, struct yaffs_ext_tags *tags, int use_reserver) argument
604 struct yaffs_ext_tags tags; local
1018 yaffs_tags_match(const struct yaffs_ext_tags *tags, int obj_id, int chunk_obj) argument
1027 yaffs_find_chunk_in_group(struct yaffs_dev *dev, int the_chunk, struct yaffs_ext_tags *tags, int obj_id, int inode_chunk) argument
1055 yaffs_find_chunk_in_file(struct yaffs_obj *in, int inode_chunk, struct yaffs_ext_tags *tags) argument
1082 yaffs_find_del_file_chunk(struct yaffs_obj *in, int inode_chunk, struct yaffs_ext_tags *tags) argument
2447 struct yaffs_ext_tags tags; local
2987 struct yaffs_ext_tags tags; local
3148 struct yaffs_ext_tags tags; local
3221 struct yaffs_ext_tags tags; local
[all...]
H A Dyaffs_guts.h141 /* yaffs1 tags structures in RAM
161 /* Stuff used for extended tags in YAFFS2 */
526 int inband_tags; /* Use unband tags */
545 int tags_9bytes; /* Use 9 byte tags */
547 * on packed tags (yaffs2) */
617 const struct yaffs_ext_tags *tags);
620 struct yaffs_ext_tags *tags);
1008 struct yaffs_ext_tags *tags);
/openwrt/package/network/services/ead/src/tinysrp/
H A DMakefile.in309 tags: TAGS
320 tags=; \
326 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
327 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
329 mostlyclean-tags:
331 clean-tags:
333 distclean-tags:
336 maintainer-clean-tags:
429 mostlyclean-noinstPROGRAMS mostlyclean-tags \
435 clean-noinstPROGRAMS clean-tags clea
[all...]

Completed in 68 milliseconds