Lines Matching refs:LUN

399 			"%s: LUN failure detected\n", h->devname);
403 "%s: report LUN data changed\n", h->devname);
1300 * byte 4 of the 8-byte LUN addr will contain the logical
1313 * has the same 8 byte LUN address, excepting byte 4 and 5.
1314 * Assign the same bus and target for this new LUN.
1334 dev_warn(&h->pdev->dev, "physical device with no LUN=0,"
2647 memcpy(cp->Header.LUN.LunAddrBytes, c->CISS_LUN, 8);
2918 const u8 *lun = c->Header.LUN.LunAddrBytes;
2920 dev_warn(&h->pdev->dev, "%s: LUN:%8phN CDB:%16phN\n",
3123 match = !memcmp(scsi3addr, &c->Header.LUN.LunAddrBytes,
3124 sizeof(c->Header.LUN.LunAddrBytes));
3458 rle = &rlep->LUN[rle_index];
3552 if (!memcmp(&physdev->LUN[i].lunid[0], scsi3addr, 8)) {
3553 sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]);
3601 if (physdev->LUN[i].device_type ==
3603 && !is_hba_lunid(physdev->LUN[i].lunid)) {
3811 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];
4430 /* Figure out where the LUN ID info is coming from */
4445 &physdev_list->LUN[phys_dev_index]);
5468 memcpy(&c->Header.LUN.LunAddrBytes[0], &dev->scsi3addr[0], 8);
5893 * Send a TEST_UNIT_READY command to the specified LUN using the specified
5916 * indicate that the LUN has been reset...this is actually what we're
6090 /* send a reset to the SCSI LUN which the command was sent to */
6416 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN));
6526 memcpy(&c->Header.LUN, &ioc->LUN_info, sizeof(c->Header.LUN));
6684 memcpy(c->Header.LUN.LunAddrBytes, scsi3addr, 8);
7107 memset(&cmd->CommandHeader.LUN.LunAddrBytes, 0, 8);
9991 VERIFY_OFFSET(LUN, 0x34);