Lines Matching refs:sbi
184 struct hfsplus_sb_info *sbi = HFSPLUS_SB(inode->i_sb); in hfsplus_get_perms() local
191 inode->i_uid = sbi->uid; in hfsplus_get_perms()
195 inode->i_gid = sbi->gid; in hfsplus_get_perms()
198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
283 struct hfsplus_sb_info *sbi = HFSPLUS_SB(inode->i_sb); in hfsplus_file_fsync() local
300 error = filemap_write_and_wait(sbi->cat_tree->inode->i_mapping); in hfsplus_file_fsync()
304 filemap_write_and_wait(sbi->ext_tree->inode->i_mapping); in hfsplus_file_fsync()
310 if (sbi->attr_tree) { in hfsplus_file_fsync()
313 sbi->attr_tree->inode->i_mapping); in hfsplus_file_fsync()
322 error2 = filemap_write_and_wait(sbi->alloc_file->i_mapping); in hfsplus_file_fsync()
327 if (!test_bit(HFSPLUS_SB_NOBARRIER, &sbi->flags)) in hfsplus_file_fsync()
361 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_new_inode() local
368 inode->i_ino = sbi->next_cnid++; in hfsplus_new_inode()
394 sbi->folder_count++; in hfsplus_new_inode()
398 sbi->file_count++; in hfsplus_new_inode()
402 hip->clump_blocks = sbi->data_clump_blocks; in hfsplus_new_inode()
404 sbi->file_count++; in hfsplus_new_inode()
409 sbi->file_count++; in hfsplus_new_inode()
442 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_inode_read_fork() local
461 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; in hfsplus_inode_read_fork()
464 sbi->rsrc_clump_blocks : in hfsplus_inode_read_fork()
465 sbi->data_clump_blocks; in hfsplus_inode_read_fork()