Searched refs:lbas (Results 1 – 3 of 3) sorted by relevance
684 u16 lbas = 1 << (dev->max_transfer_shift - ns->lba_shift); in nvme_blk_rw() local702 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()
505 int lbas[] = { -3, 0, 0, 0 }; in sm_check_block() local523 if (lbas[i] != test_lba) in sm_check_block()524 lbas[++i] = test_lba; in sm_check_block()
703 struct scsi_get_lba_status *lbas = NULL; in iscsi_co_block_status() local757 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()