Lines Matching refs:sector_size
816 return btt->lbasize - btt->sector_size; in btt_meta_size()
830 __u64 lba = div_u64(sector << SECTOR_SHIFT, btt->sector_size); in lba_to_arena()
914 meta_nsoff = to_namespace_offset(arena, postmap) + btt->sector_size; in btt_rw_integrity()
975 cur_len = min(btt->sector_size, len); in btt_read_pg()
1032 sector += btt->sector_size >> SECTOR_SHIFT; in btt_read_pg()
1062 cur_len = min(btt->sector_size, len); in btt_write_pg()
1120 sector += btt->sector_size >> SECTOR_SHIFT; in btt_write_pg()
1178 BUG_ON(len < btt->sector_size); in btt_make_request()
1179 BUG_ON(len % btt->sector_size); in btt_make_request()
1256 blk_queue_logical_block_size(btt->btt_queue, btt->sector_size); in btt_blk_init()
1274 set_capacity(btt->btt_disk, btt->nlba * btt->sector_size >> 9); in btt_blk_init()
1318 btt->sector_size = ((lbasize >= 4096) ? 4096 : 512); in btt_init()