Searched refs:block_shift (Results 1 – 11 of 11) sorted by relevance
56 block = pos >> BEFS_SB(sb)->block_shift; in befs_read_datastream()58 *off = pos - (block << BEFS_SB(sb)->block_shift); in befs_read_datastream()95 befs_off_t pos = fblock << BEFS_SB(sb)->block_shift; in befs_fblock2brun()174 datablocks = ds->size >> befs_sb->block_shift; in befs_count_blocks()252 data->max_direct_range >> BEFS_SB(sb)->block_shift; in befs_find_brun_direct()321 indir_start_blk = data->max_direct_range >> BEFS_SB(sb)->block_shift; in befs_find_brun_indirect()432 data->max_indirect_range >> befs_sb->block_shift; in befs_find_brun_dblindirect()
39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift); in befs_load_sb()98 if ((1 << befs_sb->block_shift) != befs_sb->block_size) { in befs_check_sb()
34 u32 block_shift; member
118 fs32 block_shift; member
192 befs_debug(sb, " block_shift %u", fs32_to_cpu(sb, sup->block_shift)); in befs_dump_super_block()
363 Check block_size agrees with block_shift
575 xd_card->block_shift = 4; in reset_xd()583 xd_card->block_shift = 4; in reset_xd()656 xd_card->block_shift = 0; in reset_xd()679 page_addr = (u32)i << xd_card->block_shift; in reset_xd()955 xd_card->block_shift = 0; in reset_xd_card()1003 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()1047 page_addr = (phy_blk << xd_card->block_shift) + start_page; in xd_init_page()1089 old_page = (old_blk << xd_card->block_shift) + start_page; in xd_copy_page()1090 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page()1206 page_addr = phy_blk << xd_card->block_shift; in xd_erase_block()[all …]
116 (xd_card)->block_shift = 5; \
513 u8 block_shift; member561 u8 block_shift; member
1986 ms_card->block_shift = 5; in reset_ms()1990 ms_card->block_shift = 4; in reset_ms()2000 if (ms_card->block_shift == 4) { /* 4MB or 8MB */ in reset_ms()2021 ms_card->capacity = ((u32)eblock_cnt - 2) << ms_card->block_shift; in reset_ms()3366 log_blk = (u16)(start_sector >> ms_card->block_shift); in ms_rw_multi_sector()
518 int block_shift = in parse_rock_ridge_inode_internal() local520 if (block_shift > 17) { in parse_rock_ridge_inode_internal()524 block_shift); in parse_rock_ridge_inode_internal()