Home
last modified time | relevance | path

Searched refs:slba (Results 1 – 11 of 11) sorted by relevance

/drivers/nvme/target/
Dio-cmd-bdev.c124 req->error_loc = offsetof(struct nvme_rw_command, slba); in blk_to_nvme_status()
150 req->error_slba = le64_to_cpu(req->cmd->rw.slba); in blk_to_nvme_status()
154 le64_to_cpu(req->cmd->write_zeroes.slba); in blk_to_nvme_status()
259 sector = nvmet_lba_to_sect(req->ns, req->cmd->rw.slba); in nvmet_bdev_execute_rw()
347 nvmet_lba_to_sect(ns, range->slba), in nvmet_bdev_discard_range()
351 req->error_slba = le64_to_cpu(range->slba); in nvmet_bdev_discard_range()
416 sector = nvmet_lba_to_sect(req->ns, write_zeroes->slba); in nvmet_bdev_execute_write_zeroes()
Dtrace.c40 u64 slba = get_unaligned_le64(cdw10); in nvmet_trace_get_lba_status() local
46 slba, mndw, rl, atype); in nvmet_trace_get_lba_status()
55 u64 slba = get_unaligned_le64(cdw10); in nvmet_trace_read_write() local
63 slba, length, control, dsmgmt, reftag); in nvmet_trace_read_write()
Dio-cmd-file.c160 pos = le64_to_cpu(req->cmd->rw.slba) << req->ns->blksize_shift; in nvmet_file_execute_io()
313 offset = le64_to_cpu(range.slba) << req->ns->blksize_shift; in nvmet_file_execute_discard()
317 req->error_slba = le64_to_cpu(range.slba); in nvmet_file_execute_discard()
324 req->error_slba = le64_to_cpu(range.slba); in nvmet_file_execute_discard()
367 offset = le64_to_cpu(write_zeroes->slba) << req->ns->blksize_shift; in nvmet_file_write_zeroes_work()
Dcore.c57 req->error_loc = offsetof(struct nvme_rw_command, slba); in errno_to_nvme_status()
/drivers/nvme/host/
Dtrace.c93 u64 slba = get_unaligned_le64(cdw10); in nvme_trace_get_lba_status() local
99 slba, mndw, rl, atype); in nvme_trace_get_lba_status()
108 u64 slba = get_unaligned_le64(cdw10); in nvme_trace_read_write() local
116 slba, length, control, dsmgmt, reftag); in nvme_trace_read_write()
Dzns.c193 c.zmr.slba = cpu_to_le64(nvme_sect_to_lba(ns, sector)); in nvme_ns_report_zones()
250 c->zms.slba = cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_zone_mgmt_send()
Dlightnvm.c234 __le64 slba; member
556 sector_t slba, int nchks, in nvme_nvm_get_chk_meta() argument
580 ppa.ppa = slba; in nvme_nvm_get_chk_meta()
607 meta->slba = le64_to_cpu(dev_meta_off->slba); in nvme_nvm_get_chk_meta()
Dcore.c727 u64 slba = nvme_sect_to_lba(ns, blk_rq_pos(req)); in nvme_setup_discard() local
732 range[0].slba = cpu_to_le64(slba); in nvme_setup_discard()
736 u64 slba = nvme_sect_to_lba(ns, bio->bi_iter.bi_sector); in nvme_setup_discard() local
742 range[n].slba = cpu_to_le64(slba); in nvme_setup_discard()
777 cmnd->write_zeroes.slba = in nvme_setup_write_zeroes()
806 cmnd->rw.slba = cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_rw()
1592 c.rw.slba = cpu_to_le64(io.slba); in nvme_submit_io()
1602 metadata, meta_len, lower_32_bits(io.slba), NULL, 0); in nvme_submit_io()
1813 __u64 slba; member
/drivers/lightnvm/
Dpblk-core.c221 static void pblk_invalidate_range(struct pblk *pblk, sector_t slba, in pblk_invalidate_range() argument
227 for (lba = slba; lba < slba + nr_secs; lba++) { in pblk_invalidate_range()
467 sector_t slba = pblk_get_lba(bio); in pblk_discard() local
470 pblk_invalidate_range(pblk, slba, nr_secs); in pblk_discard()
Dcore.c979 meta->slba = generic_to_dev_addr(dev, ppa).ppa; in nvm_bb_to_chunk()
996 static int nvm_get_bb_meta(struct nvm_dev *dev, sector_t slba, in nvm_get_bb_meta() argument
1005 ppa.ppa = slba; in nvm_get_bb_meta()
Dpblk-init.c734 chunk->slba = chunk_meta->slba; in pblk_setup_line_meta_chk()