Searched refs:lba_shift (Results 1 – 3 of 3) sorted by relevance
432 int lba_shift; member500 return sector >> (ns->lba_shift - SECTOR_SHIFT); in nvme_sect_to_lba()508 return lba << (ns->lba_shift - SECTOR_SHIFT); in nvme_lba_to_sect()
690 u32 nlb = bio->bi_iter.bi_size >> ns->lba_shift; in nvme_setup_discard()732 cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_write_zeroes()756 cmnd->rw.length = cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_rw()1491 length = (io.nblocks + 1) << ns->lba_shift; in nvme_submit_io()1922 *phys_bs = ns->sws * (1 << ns->lba_shift); in nvme_setup_streams_ns()1996 unsigned short bs = 1 << ns->lba_shift; in nvme_update_disk_info()2003 if (ns->lba_shift > PAGE_SHIFT) { in nvme_update_disk_info()2108 ns->lba_shift = id->lbaf[lbaf].ds; in nvme_update_ns_info()
872 length = (vio.nppas + 1) << ns->lba_shift; in nvme_nvm_submit_vio()962 geo->csecs = 1 << ns->lba_shift; in nvme_nvm_register()