Searched refs:lunp (Results 1 – 3 of 3) sorted by relevance
869 char *lunp; in scsiback_add_translation_entry() local875 lunp = strrchr(phy, ':'); in scsiback_add_translation_entry()876 if (!lunp) { in scsiback_add_translation_entry()880 *lunp = 0; in scsiback_add_translation_entry()881 lunp++; in scsiback_add_translation_entry()882 err = kstrtoull(lunp, 10, &unpacked_lun); in scsiback_add_translation_entry()884 pr_err("lun number not valid: %s\n", lunp); in scsiback_add_translation_entry()
1317 struct scsi_lun *lunp, *lun_data; in scsi_report_lun_scan() local1442 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()1443 lun = scsilun_to_int(lunp); in scsi_report_lun_scan()
238 u8 *target, *lunp; member918 } else if (unlikely(*vc->lunp != 1)) { in vhost_scsi_get_req()920 vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp); in vhost_scsi_get_req()987 vc.lunp = &v_req_pi.lun[0]; in vhost_scsi_handle_vq()992 vc.lunp = &v_req.lun[0]; in vhost_scsi_handle_vq()1328 vc.lunp = &v_req.tmf.lun[0]; in vhost_scsi_ctl_handle_vq()1336 vc.lunp = &v_req.an.lun[0]; in vhost_scsi_ctl_handle_vq()