Lines Matching refs:sectors_per_block
1162 uint32_t sectors_per_block; member
1203 (void) sector_div(block_nr, era->sectors_per_block); in get_block()
1438 return dm_sector_div_up(era->ti->len, era->sectors_per_block); in calc_nr_blocks()
1486 r = sscanf(argv[2], "%u%c", &era->sectors_per_block, &dummy); in era_ctr()
1493 r = dm_set_target_max_io_len(ti, era->sectors_per_block); in era_ctr()
1500 if (!valid_block_size(era->sectors_per_block)) { in era_ctr()
1505 if (era->sectors_per_block & (era->sectors_per_block - 1)) in era_ctr()
1508 era->sectors_per_block_shift = __ffs(era->sectors_per_block); in era_ctr()
1510 md = metadata_open(era->metadata_dev->bdev, era->sectors_per_block, true); in era_ctr()
1658 DMEMIT("%s %u", buf, era->sectors_per_block); in era_status()
1711 if (io_opt_sectors < era->sectors_per_block || in era_io_hints()
1712 do_div(io_opt_sectors, era->sectors_per_block)) { in era_io_hints()
1714 blk_limits_io_opt(limits, era->sectors_per_block << SECTOR_SHIFT); in era_io_hints()