Lines Matching refs:LUN

398 			"%s: LUN failure detected\n", h->devname);
402 "%s: report LUN data changed\n", h->devname);
1306 * byte 4 of the 8-byte LUN addr will contain the logical
1319 * has the same 8 byte LUN address, excepting byte 4 and 5.
1320 * Assign the same bus and target for this new LUN.
1340 dev_warn(&h->pdev->dev, "physical device with no LUN=0,"
2651 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8);
2922 const u8 *lun = c->Header.LUN.LunAddrBytes;
2924 dev_warn(&h->pdev->dev, "%s: LUN:%8phN CDB:%16phN\n",
3127 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes,
3128 sizeof(c->Header.LUN.LunAddrBytes));
3462 rle = &rlep->LUN[rle_index];
3556 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) {
3557 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]);
3605 if (physdev->LUN[i].device_type ==
3607 && !is_hba_lunid(physdev->LUN[i].lunid)) {
3815 memcpy(buf->LUN[i].lunid, lbuf->LUN[i], 8);
4157 /* Helper function, figure out where the LUN ID info is coming from
4169 return &physdev_list->LUN[i -
4173 return &logdev_list->LUN[i - nphysicals -
4191 rle = &rlep->LUN[rle_index];
4220 rle = &rlep->LUN[rle_index];
4427 /* Figure out where the LUN ID info is coming from */
4442 &physdev_list->LUN[phys_dev_index]);
5464 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8);
5909 * Send a TEST_UNIT_READY command to the specified LUN using the specified
5932 * indicate that the LUN has been reset...this is actually what we're
6106 /* send a reset to the SCSI LUN which the command was sent to */
6444 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN));
6554 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN));
6712 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8);
7135 memset(&cmd->CommandHeader.LUN.LunAddrBytes, 0, 8);
10006 VERIFY_OFFSET(LUN, 0x34);