Searched refs:oh (Results 1 - 8 of 8) sorted by relevance

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_attribs.h21 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh);
22 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj);
H A Dyaffs_attribs.c25 void yaffs_load_attribs(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh) argument
27 obj->yst_uid = oh->yst_uid;
28 obj->yst_gid = oh->yst_gid;
29 obj->yst_atime = oh->yst_atime;
30 obj->yst_mtime = oh->yst_mtime;
31 obj->yst_ctime = oh->yst_ctime;
32 obj->yst_rdev = oh->yst_rdev;
35 void yaffs_load_attribs_oh(struct yaffs_obj_hdr *oh, struct yaffs_obj *obj) argument
37 oh->yst_uid = obj->yst_uid;
38 oh
[all...]
H A Dyaffs_yaffs1.c34 struct yaffs_obj_hdr *oh; local
188 oh = (struct yaffs_obj_hdr *)chunk_data;
191 if (in && in->variant_type != oh->type) {
205 oh->type);
210 if (in && oh->shadows_obj > 0) {
222 oh->shadows_obj;
264 in->variant_type = oh->type;
266 in->yst_mode = oh->yst_mode;
267 yaffs_load_attribs(in, oh);
275 in->variant_type = oh
[all...]
H A Dyaffs_verify.c165 * Verify the object header. oh must be valid, but obj and tags may be NULL in
168 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh, argument
174 if (!(tags && obj && oh)) {
176 "Verifying object header tags %p obj %p oh %p",
177 tags, obj, oh);
181 if (oh->type <= YAFFS_OBJECT_TYPE_UNKNOWN ||
182 oh->type > YAFFS_OBJECT_TYPE_MAX)
185 tags->obj_id, oh->type);
201 tags->obj_id, oh->parent_obj_id);
204 oh
355 struct yaffs_obj_hdr *oh; local
[all...]
H A Dyaffs_yaffs2.c941 struct yaffs_obj_hdr *oh; local
1093 oh = NULL;
1122 oh = (struct yaffs_obj_hdr *)chunk_data;
1127 oh->shadows_obj =
1128 oh->inband_shadowed_obj_id;
1129 oh->is_shrink =
1130 oh->inband_is_shrink;
1135 tags.obj_id, oh->type);
1156 ((oh && oh
[all...]
H A Dyaffs_verify.h27 void yaffs_verify_oh(struct yaffs_obj *obj, struct yaffs_obj_hdr *oh,
H A Dyaffs_guts.c743 const struct yaffs_obj_hdr *oh)
748 yaffs_load_name_from_oh(obj->my_dev, tmp_name, oh->name,
752 yaffs_set_obj_name(obj, oh->name);
2538 struct yaffs_obj_hdr *oh; local
2539 oh = (struct yaffs_obj_hdr *) buffer;
2541 oh->is_shrink = 0;
2543 oh->shadows_obj = 0;
2544 oh->inband_shadowed_obj_id = 0;
2549 yaffs_oh_size_load(oh,
2555 yaffs_verify_oh(object, oh,
742 yaffs_set_obj_name_from_oh(struct yaffs_obj *obj, const struct yaffs_obj_hdr *oh) argument
3219 struct yaffs_obj_hdr *oh; local
3266 struct yaffs_obj_hdr *oh = NULL; local
4490 struct yaffs_obj_hdr *oh = (struct yaffs_obj_hdr *)buffer; local
5103 yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize) argument
5109 yaffs_oh_to_size(struct yaffs_obj_hdr *oh) argument
[all...]
H A Dyaffs_guts.h955 const struct yaffs_obj_hdr *oh);
996 void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize);
997 loff_t yaffs_oh_to_size(struct yaffs_obj_hdr *oh);

Completed in 100 milliseconds