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