Lines Matching refs:HFS_SB
84 tree = HFS_SB(sb)->ext_tree; in hfs_release_folio()
87 tree = HFS_SB(sb)->cat_tree; in hfs_release_folio()
198 inode->i_ino = HFS_SB(sb)->next_id++; in hfs_new_inode()
209 HFS_SB(sb)->folder_count++; in hfs_new_inode()
211 HFS_SB(sb)->root_dirs++; in hfs_new_inode()
215 inode->i_mode &= ~HFS_SB(inode->i_sb)->s_dir_umask; in hfs_new_inode()
217 HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks; in hfs_new_inode()
218 HFS_SB(sb)->file_count++; in hfs_new_inode()
220 HFS_SB(sb)->root_files++; in hfs_new_inode()
227 inode->i_mode &= ~HFS_SB(inode->i_sb)->s_file_umask; in hfs_new_inode()
238 set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags); in hfs_new_inode()
250 HFS_SB(sb)->folder_count--; in hfs_delete_inode()
252 HFS_SB(sb)->root_dirs--; in hfs_delete_inode()
253 set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags); in hfs_delete_inode()
257 HFS_SB(sb)->file_count--; in hfs_delete_inode()
259 HFS_SB(sb)->root_files--; in hfs_delete_inode()
266 set_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags); in hfs_delete_inode()
287 HFS_SB(sb)->alloc_blksz; in hfs_inode_read_fork()
288 HFS_I(inode)->clump_blocks = clump_size / HFS_SB(sb)->alloc_blksz; in hfs_inode_read_fork()
290 HFS_I(inode)->clump_blocks = HFS_SB(sb)->clumpablks; in hfs_inode_read_fork()
321 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_read_inode()
420 HFS_SB(inode->i_sb)->alloc_blksz); in hfs_inode_write_fork()
440 hfs_btree_write(HFS_SB(inode->i_sb)->ext_tree); in hfs_write_inode()
443 hfs_btree_write(HFS_SB(inode->i_sb)->cat_tree); in hfs_write_inode()
457 if (hfs_find_init(HFS_SB(main_inode->i_sb)->cat_tree, &fd)) in hfs_write_inode()
535 res = hfs_find_init(HFS_SB(dir->i_sb)->cat_tree, &fd); in hfs_file_lookup()
618 struct hfs_sb_info *hsb = HFS_SB(inode->i_sb); in hfs_inode_setattr()
682 flush_delayed_work(&HFS_SB(sb)->mdb_work); in hfs_file_fsync()