Lines Matching defs:obj
172 adfs_fplus_getnext(struct adfs_dir *dir, struct object_info *obj)
189 obj->loadaddr = le32_to_cpu(bde.bigdirload);
190 obj->execaddr = le32_to_cpu(bde.bigdirexec);
191 obj->size = le32_to_cpu(bde.bigdirlen);
192 obj->indaddr = le32_to_cpu(bde.bigdirindaddr);
193 obj->attr = le32_to_cpu(bde.bigdirattr);
194 obj->name_len = le32_to_cpu(bde.bigdirobnamelen);
199 ret = adfs_dir_copyfrom(obj->name, dir, offset, obj->name_len);
203 adfs_object_fixup(dir, obj);
212 struct object_info obj;
220 while (!adfs_fplus_getnext(dir, &obj)) {
221 if (!dir_emit(ctx, obj.name, obj.name_len,
222 obj.indaddr, DT_UNKNOWN))
230 static int adfs_fplus_update(struct adfs_dir *dir, struct object_info *obj)
250 } while (le32_to_cpu(bde.bigdirindaddr) != obj->indaddr);
252 bde.bigdirload = cpu_to_le32(obj->loadaddr);
253 bde.bigdirexec = cpu_to_le32(obj->execaddr);
254 bde.bigdirlen = cpu_to_le32(obj->size);
255 bde.bigdirindaddr = cpu_to_le32(obj->indaddr);
256 bde.bigdirattr = cpu_to_le32(obj->attr);