Home
last modified time | relevance | path

Searched refs:lba_shift (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/nvme/host/
Dnvme.h473 int lba_shift; member
636 return sector >> (ns->lba_shift - SECTOR_SHIFT); in nvme_sect_to_lba()
644 return lba << (ns->lba_shift - SECTOR_SHIFT); in nvme_lba_to_sect()
Dcore.c319 (unsigned long long)blk_rq_bytes(req) >> ns->lba_shift, in nvme_log_error()
783 u32 nlb = bio->bi_iter.bi_size >> ns->lba_shift; in nvme_setup_discard()
852 cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_write_zeroes()
890 cmnd->rw.length = cpu_to_le16((blk_rq_bytes(req) >> ns->lba_shift) - 1); in nvme_setup_rw()
1865 unsigned short bs = 1 << ns->lba_shift; in nvme_update_disk_info()
1872 if (ns->lba_shift > PAGE_SHIFT) { in nvme_update_disk_info()
2011 ns->lba_shift = id->lbaf[lbaf].ds; in nvme_update_ns_info_block()
Dioctl.c206 length = (io.nblocks + 1) << ns->lba_shift; in nvme_submit_io()