Lines Matching refs:sector_size
513 unsigned long len = arena->sector_size; in arena_clear_freelist_error()
756 arena->sector_size = btt->sector_size; in alloc_arena()
1058 return btt->lbasize - btt->sector_size; in btt_meta_size()
1072 __u64 lba = div_u64(sector << SECTOR_SHIFT, btt->sector_size); in lba_to_arena()
1151 meta_nsoff = to_namespace_offset(arena, postmap) + btt->sector_size; in btt_rw_integrity()
1213 cur_len = min(btt->sector_size, len); in btt_read_pg()
1281 sector += btt->sector_size >> SECTOR_SHIFT; in btt_read_pg()
1328 cur_len = min(btt->sector_size, len); in btt_write_pg()
1411 sector += btt->sector_size >> SECTOR_SHIFT; in btt_write_pg()
1459 if (len > PAGE_SIZE || len < btt->sector_size || in btt_submit_bio()
1460 len % btt->sector_size) { in btt_submit_bio()
1515 blk_queue_logical_block_size(btt->btt_disk->queue, btt->sector_size); in btt_blk_init()
1526 set_capacity(btt->btt_disk, btt->nlba * btt->sector_size >> 9); in btt_blk_init()
1531 btt->nd_btt->size = btt->nlba * (u64)btt->sector_size; in btt_blk_init()
1580 btt->sector_size = ((lbasize >= 4096) ? 4096 : 512); in btt_init()