Lines Matching refs:obj
166 adfs_fplus_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_fplus_getnext() argument
183 obj->loadaddr = le32_to_cpu(bde.bigdirload); in adfs_fplus_getnext()
184 obj->execaddr = le32_to_cpu(bde.bigdirexec); in adfs_fplus_getnext()
185 obj->size = le32_to_cpu(bde.bigdirlen); in adfs_fplus_getnext()
186 obj->file_id = le32_to_cpu(bde.bigdirindaddr); in adfs_fplus_getnext()
187 obj->attr = le32_to_cpu(bde.bigdirattr); in adfs_fplus_getnext()
188 obj->name_len = le32_to_cpu(bde.bigdirobnamelen); in adfs_fplus_getnext()
195 dir_memcpy(dir, offset, obj->name, obj->name_len); in adfs_fplus_getnext()
196 for (i = 0; i < obj->name_len; i++) in adfs_fplus_getnext()
197 if (obj->name[i] == '/') in adfs_fplus_getnext()
198 obj->name[i] = '.'; in adfs_fplus_getnext()
200 obj->filetype = -1; in adfs_fplus_getnext()
206 if ((0 == (obj->attr & ADFS_NDA_DIRECTORY)) && in adfs_fplus_getnext()
207 (0xfff00000 == (0xfff00000 & obj->loadaddr))) { in adfs_fplus_getnext()
208 obj->filetype = (__u16) ((0x000fff00 & obj->loadaddr) >> 8); in adfs_fplus_getnext()
212 obj->name_len += in adfs_fplus_getnext()
214 &obj->name[obj->name_len], in adfs_fplus_getnext()
215 obj->filetype); in adfs_fplus_getnext()