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

/u-boot/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 unsigned 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.c43 unsigned chunk_id; member in struct:yaffs_summary_tags
138 tags.chunk_id = 1;
167 tags.chunk_id++;
187 int chunk_id; local
201 chunk_id = 1;
209 if (tags.chunk_id != chunk_id ||
229 chunk_id++;
262 sum_tags->chunk_id = tags_only.chunk_id;
[all...]
H A Dyaffs_guts.c349 temp_tags.chunk_id != tags->chunk_id ||
620 int chunk_id = local
628 if (dev->param.write_chunk_tags_fn(dev, chunk_id -
804 u32 chunk_id)
815 if (chunk_id > YAFFS_MAX_CHUNK_ID)
820 i = chunk_id >> YAFFS_TNODES_LEVEL0_BITS;
832 tn = tn->internal[(chunk_id >>
857 u32 chunk_id,
871 if (chunk_id > YAFFS_MAX_CHUNK_I
802 yaffs_find_tnode_0(struct yaffs_dev *dev, struct yaffs_file_var *file_struct, u32 chunk_id) argument
855 yaffs_add_find_tnode_0(struct yaffs_dev *dev, struct yaffs_file_var *file_struct, u32 chunk_id, struct yaffs_tnode *passed_tn) argument
1520 yaffs_find_chunk_cache(const struct yaffs_obj *obj, int chunk_id) argument
1568 yaffs_invalidate_chunk_cache(struct yaffs_obj *object, int chunk_id) argument
2925 yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash, int lyn) argument
3678 int chunk_id; local
[all...]
H A Dyaffs_tagscompat.c293 tags.chunk_id = ext_tags->chunk_id;
348 ext_tags->chunk_id = tags.chunk_id;
H A Dyaffs_yaffs1.c134 } else if (tags.chunk_id > 0) {
135 /* chunk_id > 0 so it is a data chunk... */
145 * (two data chunks with the same chunk_id).
153 (in, tags.chunk_id, chunk, 1))
158 (tags.chunk_id - 1) *
177 /* chunk_id == 0, so it is an ObjectHeader.
H A Dyaffs_guts.h131 int chunk_id; member in struct:yaffs_cache
145 unsigned chunk_id:20; member in struct:yaffs_tags
182 unsigned chunk_id; /* If 0 this is a header, else a data chunk */ member in struct:yaffs_ext_tags
913 void yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash,
943 u32 chunk_id,
955 u32 chunk_id);
H A Dyaffs_checkptrw.c219 tags.chunk_id = dev->checkpt_page_seq + 1;
238 tags.obj_id, tags.chunk_id);
331 if (tags.chunk_id != (dev->checkpt_page_seq + 1) ||
H A Dyaffs_nand.c65 nand_chunk, tags->obj_id, tags->chunk_id);
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.c273 if (tags.obj_id != obj_id || tags.chunk_id != i)
275 "Object %d chunk_id %d NAND mismatch chunk %d tags (%d:%d)",
277 tags.obj_id, tags.chunk_id);
342 "Obj %d has chunk_id %d %s %s",

Completed in 67 milliseconds