Lines Matching refs:bde
175 struct adfs_bigdirentry bde; in adfs_fplus_getnext() local
184 ret = adfs_dir_copyfrom(&bde, dir, offset, in adfs_fplus_getnext()
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()
197 offset += le32_to_cpu(bde.bigdirobnameptr); in adfs_fplus_getnext()
233 struct adfs_bigdirentry bde; in adfs_fplus_update() local
236 offset = adfs_fplus_offset(h, 0) - sizeof(bde); in adfs_fplus_update()
240 offset += sizeof(bde); in adfs_fplus_update()
245 ret = adfs_dir_copyfrom(&bde, dir, offset, sizeof(bde)); in adfs_fplus_update()
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()
258 return adfs_dir_copyto(dir, offset, &bde, sizeof(bde)); in adfs_fplus_update()