Lines Matching refs:sbi
224 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_get_block() local
232 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block()
274 mask = (1 << sbi->fs_shift) - 1; in hfsplus_get_block()
275 sector = ((sector_t)dblock << sbi->fs_shift) + in hfsplus_get_block()
276 sbi->blockoffset + (iblock & mask); in hfsplus_get_block()
431 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); in hfsplus_file_extend() local
436 if (sbi->alloc_file->i_size * 8 < in hfsplus_file_extend()
437 sbi->total_blocks - sbi->free_blocks + 8) { in hfsplus_file_extend()
440 sbi->alloc_file->i_size * 8, in hfsplus_file_extend()
441 sbi->total_blocks, sbi->free_blocks); in hfsplus_file_extend()
456 start = hfsplus_block_allocate(sb, sbi->total_blocks, goal, &len); in hfsplus_file_extend()
457 if (start >= sbi->total_blocks) { in hfsplus_file_extend()