Searched refs:HFS_SB (Results 1 – 7 of 7) sorted by relevance
148 mutex_lock(&HFS_SB(sb)->bitmap_lock); in hfs_vbm_search_free()149 bitmap = HFS_SB(sb)->bitmap; in hfs_vbm_search_free()151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free()152 if (pos >= HFS_SB(sb)->fs_ablocks) { in hfs_vbm_search_free()155 if (pos >= HFS_SB(sb)->fs_ablocks) { in hfs_vbm_search_free()162 HFS_SB(sb)->free_ablocks -= *num_bits; in hfs_vbm_search_free()165 mutex_unlock(&HFS_SB(sb)->bitmap_lock); in hfs_vbm_search_free()205 if ((start + count) > HFS_SB(sb)->fs_ablocks) in hfs_clear_vbm_bits()208 mutex_lock(&HFS_SB(sb)->bitmap_lock); in hfs_clear_vbm_bits()210 curr = HFS_SB(sb)->bitmap + (start / 32); in hfs_clear_vbm_bits()[all …]
53 struct hfs_sb_info *sbi = HFS_SB(inode->i_sb); in hfs_write_begin() 88 tree = HFS_SB(sb)->ext_tree; in hfs_release_folio() 91 tree = HFS_SB(sb)->cat_tree; in hfs_release_folio() 208 next_id = atomic64_inc_return(&HFS_SB(sb)->next_id); in hfs_new_inode() 210 atomic64_dec(&HFS_SB(sb)->next_id); in hfs_new_inode() 226 folder_count = atomic64_inc_return(&HFS_SB(sb)->folder_count); in hfs_new_inode() 228 atomic64_dec(&HFS_SB(sb)->folder_count); in hfs_new_inode() 233 HFS_SB(sb)->root_dirs++; in hfs_new_inode() 237 inode->i_mode &= ~HFS_SB(inode->i_sb)->s_dir_umask; in hfs_new_inode() 239 HFS_I(inode)->clump_blocks = HFS_SB(s in hfs_new_inode() [all...]
82 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) { in hfs_part_find()98 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) { in hfs_part_find()
35 struct nls_table *nls_disk = HFS_SB(sb)->nls_disk; in hfs_mac2asc()36 struct nls_table *nls_io = HFS_SB(sb)->nls_io; in hfs_mac2asc()99 struct nls_table *nls_disk = HFS_SB(sb)->nls_disk; in hfs_asc2mac()100 struct nls_table *nls_io = HFS_SB(sb)->nls_io; in hfs_asc2mac()
33 res = hfs_find_init(HFS_SB(inode->i_sb)->cat_tree, &fd); in __hfs_setxattr()80 res = hfs_find_init(HFS_SB(inode->i_sb)->cat_tree, &fd); in __hfs_getxattr()
285 #define HFS_SB(sb) ((struct hfs_sb_info *)(sb)->s_fs_info) macro298 set_bit(HFS_FLG_BITMAP_DIRTY, &HFS_SB(sb)->flags); in hfs_bitmap_dirty()
28 res = hfs_find_init(HFS_SB(dir->i_sb)->cat_tree, &fd); in hfs_lookup()62 err = hfs_find_init(HFS_SB(sb)->cat_tree, &fd); in hfs_readdir()