Home
last modified time | relevance | path

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

/linux-6.6.21/fs/hpfs/
Dmap.c17 __le32 *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, in hpfs_map_bitmap() argument
23 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) { in hpfs_map_bitmap()
24 hpfs_error(s, "hpfs_map_bitmap called with bad parameter: %08x at %s", bmp_block, id); in hpfs_map_bitmap()
27 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap()
29 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap()
33 if (ret) hpfs_prefetch_bitmap(s, bmp_block + 1); in hpfs_map_bitmap()
37 void hpfs_prefetch_bitmap(struct super_block *s, unsigned bmp_block) in hpfs_prefetch_bitmap() argument
41 if (unlikely(bmp_block >= n_bands)) in hpfs_prefetch_bitmap()
43 to_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_prefetch_bitmap()
44 if (unlikely(bmp_block + 1 >= n_bands)) in hpfs_prefetch_bitmap()
[all …]