Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c928 char *lunp; in scsiback_add_translation_entry() local
934 lunp = strrchr(phy, ':'); in scsiback_add_translation_entry()
935 if (!lunp) { in scsiback_add_translation_entry()
939 *lunp = 0; in scsiback_add_translation_entry()
940 lunp++; in scsiback_add_translation_entry()
941 err = kstrtoull(lunp, 10, &unpacked_lun); in scsiback_add_translation_entry()
943 pr_err("lun number not valid: %s\n", lunp); in scsiback_add_translation_entry()
/openbmc/linux/drivers/scsi/
H A Dscsi_scan.c1407 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local
1535 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()
1536 lun = scsilun_to_int(lunp); in scsi_report_lun_scan()
/openbmc/linux/drivers/vhost/
H A Dscsi.c232 u8 *target, *lunp; member
1017 } else if (unlikely(*vc->lunp != 1)) { in vhost_scsi_get_req()
1019 vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp); in vhost_scsi_get_req()
1089 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()
1094 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()
1431 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()
1439 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()