Home
last modified time | relevance | path

Searched refs:nlb (Results 1 – 7 of 7) sorted by relevance

/drivers/nvme/host/
Dlightnvm.c90 __le32 nlb; member
115 __le16 nlb; member
344 static int nvme_nvm_get_l2p_tbl(struct nvm_dev *nvmdev, u64 slba, u32 nlb, in nvme_nvm_get_l2p_tbl() argument
361 while (nlb) { in nvme_nvm_get_l2p_tbl()
362 u32 cmd_nlb = min(nlb_pr_rq, nlb); in nvme_nvm_get_l2p_tbl()
365 c.l2p.nlb = cpu_to_le32(cmd_nlb); in nvme_nvm_get_l2p_tbl()
382 nlb -= cmd_nlb; in nvme_nvm_get_l2p_tbl()
455 c.set_bb.nlb = cpu_to_le16(nr_ppas - 1); in nvme_nvm_set_bb_tbl()
Dscsi.c2313 __be32 nlb; member
2358 range[i].nlb = cpu_to_le32(be32_to_cpu(plist->desc[i].nlb)); in nvme_trans_unmap()
Dpci.c387 u32 i, nlb, ts, phys, virt; in nvme_dif_remap() local
401 nlb = (blk_rq_bytes(req) >> ns->lba_shift); in nvme_dif_remap()
404 for (i = 0; i < nlb; i++, virt++, phys++) { in nvme_dif_remap()
Dcore.c258 range->nlb = cpu_to_le32(nr_bytes >> ns->lba_shift); in nvme_setup_discard()
/drivers/lightnvm/
Dgennvm.c293 static int gen_block_map(u64 slba, u32 nlb, __le64 *entries, void *private) in gen_block_map() argument
297 u64 elba = slba + nlb; in gen_block_map()
308 for (i = 0; i < nlb; i++) { in gen_block_map()
Drrpc.c997 static int rrpc_l2p_update(u64 slba, u32 nlb, __le64 *entries, void *private) in rrpc_l2p_update() argument
1003 u64 elba = slba + nlb; in rrpc_l2p_update()
1011 for (i = 0; i < nlb; i++) { in rrpc_l2p_update()
/drivers/nvme/target/
Dio-cmd.c122 le32_to_cpu(range->nlb) << (ns->blksize_shift - 9), in nvmet_discard_range()