Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/nvme/
H A Dnvme.c684 u16 lbas = 1 << (dev->max_transfer_shift - ns->lba_shift); in nvme_blk_rw() local
702 if (total_lbas < lbas) { in nvme_blk_rw()
703 lbas = (u16)total_lbas; in nvme_blk_rw()
706 total_lbas -= lbas; in nvme_blk_rw()
710 lbas << ns->lba_shift, (ulong)buffer)) in nvme_blk_rw()
713 slba += lbas; in nvme_blk_rw()
714 c.rw.length = cpu_to_le16(lbas - 1); in nvme_blk_rw()
721 temp_len -= (u32)lbas << ns->lba_shift; in nvme_blk_rw()
722 buffer += lbas << ns->lba_shift; in nvme_blk_rw()
/openbmc/linux/drivers/mtd/
H A Dsm_ftl.c505 int lbas[] = { -3, 0, 0, 0 }; in sm_check_block() local
523 if (lbas[i] != test_lba) in sm_check_block()
524 lbas[++i] = test_lba; in sm_check_block()
/openbmc/qemu/block/
H A Discsi.c703 struct scsi_get_lba_status *lbas = NULL; in iscsi_co_block_status() local
757 lbas = scsi_datain_unmarshall(iTask.task); in iscsi_co_block_status()
758 if (lbas == NULL || lbas->num_descriptors == 0) { in iscsi_co_block_status()
763 lbasd = &lbas->descriptors[0]; in iscsi_co_block_status()