Lines Matching refs:scsi_lun
374 static bool check_lun(struct scsi_lun lun)
378 result = ((lun.scsi_lun[7] == 0) &&
379 (lun.scsi_lun[6] == 0) &&
380 (lun.scsi_lun[5] == 0) &&
381 (lun.scsi_lun[4] == 0) &&
382 (lun.scsi_lun[3] == 0) &&
383 (lun.scsi_lun[2] == 0) &&
385 (lun.scsi_lun[0] == 0));
527 struct scsi_lun lun;
529 memcpy(&lun, gsa->sas_lun, sizeof(struct scsi_lun));
987 struct scsi_lun lun;
989 memcpy(&lun, spt->lun, sizeof(struct scsi_lun));