Lines Matching refs:bmp_block
17 __le32 *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block,
23 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) {
24 hpfs_error(s, "hpfs_map_bitmap called with bad parameter: %08x at %s", bmp_block, id);
27 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]);
29 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id);
33 if (ret) hpfs_prefetch_bitmap(s, bmp_block + 1);
37 void hpfs_prefetch_bitmap(struct super_block *s, unsigned bmp_block)
41 if (unlikely(bmp_block >= n_bands))
43 to_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]);
44 if (unlikely(bmp_block + 1 >= n_bands))
47 next_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block + 1]);