Lines Matching refs:sectors_per_block
1164 uint32_t sectors_per_block; member
1205 (void) sector_div(block_nr, era->sectors_per_block); in get_block()
1428 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()
1476 r = sscanf(argv[2], "%u%c", &era->sectors_per_block, &dummy); in era_ctr()
1483 r = dm_set_target_max_io_len(ti, era->sectors_per_block); in era_ctr()
1490 if (!valid_block_size(era->sectors_per_block)) { in era_ctr()
1495 if (era->sectors_per_block & (era->sectors_per_block - 1)) in era_ctr()
1498 era->sectors_per_block_shift = __ffs(era->sectors_per_block); in era_ctr()
1500 md = metadata_open(era->metadata_dev->bdev, era->sectors_per_block, true); in era_ctr()
1651 DMEMIT("%s %u", buf, era->sectors_per_block); in era_status()
1709 if (io_opt_sectors < era->sectors_per_block || in era_io_hints()
1710 do_div(io_opt_sectors, era->sectors_per_block)) { in era_io_hints()
1712 blk_limits_io_opt(limits, era->sectors_per_block << SECTOR_SHIFT); in era_io_hints()