Searched refs:spareblock (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | super.c | 542 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 in hpfs_fill_super() [all...] |
H A D | map.c | 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()
|
H A D | hpfs_fn.h | 294 void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock);
|
/kernel/linux/linux-6.6/fs/hpfs/ |
H A D | super.c | 542 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 in hpfs_fill_super() [all...] |
H A D | map.c | 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()
|
H A D | hpfs_fn.h | 294 void hpfs_load_hotfix_map(struct super_block *s, struct hpfs_spare_block *spareblock);
|
Completed in 6 milliseconds