Home
last modified time | relevance | path

Searched refs:spareblock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/hpfs/
H A Dsuper.c542 struct hpfs_spare_block *spareblock; in hpfs_fill_super() local
591 if (!(spareblock = hpfs_map_sector(s, 17, &bh2, 0))) goto bail3; in hpfs_fill_super()
596 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { in hpfs_fill_super()
647 if (spareblock->n_spares_used) in hpfs_fill_super()
648 hpfs_load_hotfix_map(s, spareblock); in hpfs_fill_super()
655 if (spareblock->dirty && !spareblock->old_wrote) { in hpfs_fill_super()
664 spareblock->dirty = 1; in hpfs_fill_super()
665 spareblock->old_wrote = 0; in hpfs_fill_super()
669 if (le32_to_cpu(spareblock->n_dnode_spares) != le32_to_cpu(spareblock->n_dnode_spares_free)) { in hpfs_fill_super()
700 if (le32_to_cpu(spareblock->n_code_pages)) in hpfs_fill_super()
[all …]
H A Dmap.c134 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()
H A Dhpfs_fn.h294 void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock);