Lines Matching defs:oh
941 struct yaffs_obj_hdr *oh;
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->type == YAFFS_OBJECT_TYPE_FILE) ||
1160 loff_t this_size = (oh) ?
1161 yaffs_oh_to_size(oh) :
1163 u32 parent_obj_id = (oh) ?
1164 oh->parent_obj_id :
1167 is_shrink = (oh) ?
1168 oh->is_shrink :
1196 (oh ? oh->type : tags.extra_obj_type)) {
1199 oh ? oh->type : tags.extra_obj_type,
1202 in = yaffs_retype_obj(in, oh ? oh->type : tags.extra_obj_type);
1212 if (oh) {
1213 in->yst_mode = oh->yst_mode;
1214 yaffs_load_attribs(in, oh);
1225 if (oh) {
1226 in->variant_type = oh->type;
1227 in->yst_mode = oh->yst_mode;
1228 yaffs_load_attribs(in, oh);
1230 if (oh->shadows_obj > 0)
1232 oh->shadows_obj, 1);
1234 yaffs_set_obj_name_from_oh(in, oh);
1236 oh->parent_obj_id,
1238 file_size = yaffs_oh_to_size(oh);
1239 is_shrink = oh->is_shrink;
1240 equiv_id = oh->equiv_id;
1332 if (oh) {
1334 yaffs_clone_str(oh->alias);