Searched refs:lba_shift (Results 1 – 3 of 3) sorted by relevance
500 int lba_shift; member661 return sector >> (ns->lba_shift - SECTOR_SHIFT); in nvme_sect_to_lba()669 return lba << (ns->lba_shift - SECTOR_SHIFT); in nvme_lba_to_sect()
320 (unsigned long long)blk_rq_bytes(req) >> ns->lba_shift, in nvme_log_error()797 u32 nlb = blk_rq_sectors(req) >> (ns->lba_shift - 9); in nvme_setup_discard()806 u32 nlb = bio->bi_iter.bi_size >> ns->lba_shift; in nvme_setup_discard()874 cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_write_zeroes()915 cmnd->rw.length = cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_rw()1893 u32 bs = 1U << ns->lba_shift; in nvme_update_disk_info()1901 if (ns->lba_shift > PAGE_SHIFT || ns->lba_shift < SECTOR_SHIFT) { in nvme_update_disk_info()2047 ns->lba_shift = id->lbaf[lbaf].ds; in nvme_update_ns_info_block()
287 length = (io.nblocks + 1) << ns->lba_shift; in nvme_submit_io()