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()
1402 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local1526 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()1527 lun = scsilun_to_int(lunp); in scsi_report_lun_scan()
230 u8 *target, *lunp; member901 } else if (unlikely(*vc->lunp != 1)) { in vhost_scsi_get_req()903 vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp); in vhost_scsi_get_req()970 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()975 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()1304 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()1312 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()