Lines Matching refs:hpfs_sb
14 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_alloc()
27 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_free()
40 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_dirband_alloc()
53 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_dirband_free()
79 …if (sec >= hpfs_sb(s)->sb_dirband_start && sec < hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dir… in chk_if_allocated()
80 unsigned ssec = (sec - hpfs_sb(s)->sb_dirband_start) / 4; in chk_if_allocated()
103 start + len > hpfs_sb(s)->sb_fs_size) { in hpfs_chk_sectors()
107 if (hpfs_sb(s)->sb_chk>=2) { in hpfs_chk_sectors()
181 …if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (le32_to_cpu(bmp[(ret & 0x3fff) >> 5]) | ~… in alloc_in_bmp()
208 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_alloc_sector()
281 struct hpfs_sb_info *sbi = hpfs_sb(s); in alloc_in_dirband()
319 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_free_sectors()
361 int n_bmps = (hpfs_sb(s)->sb_fs_size + 0x4000 - 1) >> 14; in hpfs_check_free_dnodes()
362 int b = hpfs_sb(s)->sb_c_bitmap & 0x0fffffff; in hpfs_check_free_dnodes()
378 if (hpfs_sb(s)->sb_c_bitmap != -1) { in hpfs_check_free_dnodes()
407 if (hpfs_sb(s)->sb_chk) if (dno & 3) { in hpfs_free_dnode()
411 if (dno < hpfs_sb(s)->sb_dirband_start || in hpfs_free_dnode()
412 dno >= hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dirband_size) { in hpfs_free_dnode()
417 unsigned ssec = (dno - hpfs_sb(s)->sb_dirband_start) / 4; in hpfs_free_dnode()
528 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_trim_fs()