Searched refs:spareblock (Results 1 – 3 of 3) sorted by relevance
510 struct hpfs_spare_block *spareblock; in hpfs_fill_super() local 533 if (!(spareblock = hpfs_map_sector(s, 17, &bh2, 0))) goto bail3; in hpfs_fill_super() 538 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { in hpfs_fill_super() 589 if (spareblock->n_spares_used) in hpfs_fill_super() 590 hpfs_load_hotfix_map(s, spareblock); in hpfs_fill_super() 597 if (spareblock->dirty && !spareblock->old_wrote) { in hpfs_fill_super() 606 spareblock->dirty = 1; in hpfs_fill_super() 607 spareblock->old_wrote = 0; in hpfs_fill_super() 611 if (le32_to_cpu(spareblock in hpfs_fill_super() [all...]
134 void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock) in hpfs_load_hotfix_map() argument 141 n_hotfixes = le32_to_cpu(spareblock->n_spares); in hpfs_load_hotfix_map() 142 n_used_hotfixes = le32_to_cpu(spareblock->n_spares_used); in hpfs_load_hotfix_map() 148 if (!(directory = hpfs_map_4sectors(s, le32_to_cpu(spareblock->hotfix_map), &qbh, 0))) { in hpfs_load_hotfix_map()
294 void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock);