Searched refs:lunp (Results 1 – 3 of 3) sorted by relevance
928 char *lunp; in scsiback_add_translation_entry() local934 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()
1427 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local1565 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()1566 lun = scsilun_to_int(lunp); in scsi_report_lun_scan()
233 u8 *target, *lunp; member1028 } else if (unlikely(*vc->lunp != 1)) { in vhost_scsi_get_req()1030 vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp); in vhost_scsi_get_req()1100 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()1105 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()1442 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()1450 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()