Lines Matching refs:sbi
21 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_block_allocate() local
34 mutex_lock(&sbi->alloc_mutex); in hfsplus_block_allocate()
35 mapping = sbi->alloc_file->i_mapping; in hfsplus_block_allocate()
155 sbi->free_blocks -= *max; in hfsplus_block_allocate()
159 mutex_unlock(&sbi->alloc_mutex); in hfsplus_block_allocate()
165 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_block_free() local
178 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
181 mutex_lock(&sbi->alloc_mutex); in hfsplus_block_free()
182 mapping = sbi->alloc_file->i_mapping; in hfsplus_block_free()
234 sbi->free_blocks += len; in hfsplus_block_free()
236 mutex_unlock(&sbi->alloc_mutex); in hfsplus_block_free()
242 mutex_unlock(&sbi->alloc_mutex); in hfsplus_block_free()