Searched refs:chunk_id (Results 1 - 13 of 13) sorted by relevance

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_packedtags2.c27 /* Extra flags applied to chunk_id */
45 ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number);
58 t->chunk_id, t->n_bytes, t->is_deleted, t->serial_number,
65 if (t->chunk_id != 0 || !t->extra_available)
78 ptt->chunk_id = t->chunk_id;
89 /* We save the parent object in the chunk_id */
90 ptt->chunk_id = EXTRA_HEADER_INFO_FLAG | t->extra_parent_id;
92 ptt->chunk_id |= EXTRA_SHRINK_FLAG;
94 ptt->chunk_id |
[all...]
H A Dyaffs_packedtags1.c28 pt->chunk_id = t->chunk_id;
48 t->chunk_id = pt->chunk_id;
H A Dyaffs_packedtags1.h24 u32 chunk_id:20; member in struct:yaffs_packed_tags1
H A Dyaffs_packedtags2.h27 unsigned chunk_id; member in struct:yaffs_packed_tags2_tags_only
H A Dyaffs_summary.c42 unsigned chunk_id; member in struct:yaffs_summary_tags
137 tags.chunk_id = 1;
166 tags.chunk_id++;
186 int chunk_id; local
203 chunk_id = 1;
211 if (tags.chunk_id != chunk_id ||
231 chunk_id++;
264 sum_tags->chunk_id = tags_only.chunk_id;
[all...]
H A Dyaffs_tagscompat.c250 tags.chunk_id = ext_tags->chunk_id;
307 ext_tags->chunk_id = tags.chunk_id;
H A Dyaffs_guts.c334 temp_tags.chunk_id != tags->chunk_id ||
605 int chunk_id = local
613 if (dev->tagger.write_chunk_tags_fn(dev, chunk_id -
870 u32 chunk_id)
883 if (chunk_id > YAFFS_MAX_CHUNK_ID)
888 i = chunk_id >> YAFFS_TNODES_LEVEL0_BITS;
900 tn = tn->internal[(chunk_id >>
925 u32 chunk_id,
939 if (chunk_id > YAFFS_MAX_CHUNK_I
868 yaffs_find_tnode_0(struct yaffs_dev *dev, struct yaffs_file_var *file_struct, u32 chunk_id) argument
923 yaffs_add_find_tnode_0(struct yaffs_dev *dev, struct yaffs_file_var *file_struct, u32 chunk_id, struct yaffs_tnode *passed_tn) argument
1578 yaffs_find_chunk_cache(const struct yaffs_obj *obj, int chunk_id) argument
1626 yaffs_invalidate_chunk_cache(struct yaffs_obj *object, int chunk_id) argument
2982 yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash, int lyn) argument
3673 int chunk_id; local
[all...]
H A Dyaffs_yaffs1.c135 } else if (tags.chunk_id > 0) {
136 /* chunk_id > 0 so it is a data chunk... */
146 * (two data chunks with the same chunk_id).
154 (in, tags.chunk_id, chunk, 1))
159 (tags.chunk_id - 1) *
178 /* chunk_id == 0, so it is an ObjectHeader.
H A Dyaffs_guts.h133 int chunk_id; member in struct:yaffs_cache
147 u32 chunk_id:20; member in struct:yaffs_tags
184 unsigned chunk_id; /* If 0 this is a header, else a data chunk */ member in struct:yaffs_ext_tags
939 void yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash,
969 u32 chunk_id,
981 u32 chunk_id);
H A Dyaffs_nand.c69 nand_chunk, tags->obj_id, tags->chunk_id);
H A Dyaffs_checkptrw.c278 tags.chunk_id = dev->checkpt_page_seq + 1;
297 tags.obj_id, tags.chunk_id);
391 if (tags.chunk_id != (dev->checkpt_page_seq + 1) ||
H A Dyaffs_yaffs2.c1025 tags.chunk_id > YAFFS_MAX_CHUNK_ID ||
1027 (tags.chunk_id > 0 &&
1031 "Chunk (%d:%d) with bad tags:obj = %d, chunk_id = %d, n_bytes = %d, ignored",
1033 tags.chunk_id, tags.n_bytes);
1035 } else if (tags.chunk_id > 0) {
1036 /* chunk_id > 0 so it is a data chunk... */
1038 loff_t chunk_base = (tags.chunk_id - 1) *
1058 if (!yaffs_put_chunk_in_file(in, tags.chunk_id,
1084 /* chunk_id == 0, so it is an ObjectHeader.
H A Dyaffs_verify.c279 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);
348 "Obj %d has chunk_id %d %s %s",

Completed in 48 milliseconds