Lines Matching refs:lun

844 				hdev->bus, hdev->target, hdev->lun,
1203 unsigned char scsi3addr[], int bus, int *target, int *lun)
1205 /* finds an unused bus, target, lun for a new physical device
1222 *lun = 0;
1272 h->scsi_host->host_no, dev->bus, dev->target, dev->lun,
1300 /* physical devices do not have lun or target assigned until now. */
1301 if (device->lun != -1)
1302 /* Logical device, lun is already assigned. */
1305 /* If this device a non-zero lun of a multi-lun device
1310 /* This is not a non-zero lun of a multi-lun device */
1312 device->bus, &device->target, &device->lun) != 0)
1317 /* This is a non-zero lun of a multi-lun device.
1335 device->lun = device->scsi3addr[4];
1339 if (device->lun == -1) {
1426 * New physical devices won't have target/lun assigned yet
1431 new_entry->lun = h->dev[entry]->lun;
1496 /* we compare everything except lun and target as these
1624 sd->bus, sd->target, sd->lun);
1632 sd->bus, sd->target, sd->lun);
1638 sd->bus, sd->target, sd->lun);
1644 sd->bus, sd->target, sd->lun);
1650 sd->bus, sd->target, sd->lun);
1656 sd->bus, sd->target, sd->lun);
1662 sd->bus, sd->target, sd->lun);
1668 sd->bus, sd->target, sd->lun);
1674 sd->bus, sd->target, sd->lun);
1680 sd->bus, sd->target, sd->lun);
1686 sd->bus, sd->target, sd->lun);
1692 sd->bus, sd->target, sd->lun);
1757 logical_drive->target, logical_drive->lun);
1823 device->target, device->lun);
1881 device->bus, device->target, device->lun, cmds);
1901 device->target, device->lun);
2093 * Lookup bus/target/lun and return corresponding struct hpsa_scsi_dev_t *
2097 int bus, int target, int lun)
2104 if (sd->bus == bus && sd->target == target && sd->lun == lun)
2127 sd->lun = sdev->lun;
2132 sdev_id(sdev), sdev->lun);
2922 const u8 *lun = c->Header.LUN.LunAddrBytes;
2925 txt, lun, cdb);
3469 if (encl_dev->target == -1 || encl_dev->lun == -1) {
3828 int bus, int target, int lun)
3832 device->lun = lun;
3988 this_device->lun,
4011 this_device->target, this_device->lun);
4052 * Helper function to assign bus, target, lun mapping of devices.
4053 * Logical drive target and lun are assigned at this time, but
4054 * physical device lun and target assignment are deferred (assigned
4063 /* physical device, target and lun filled in later */
4072 /* defer target, lun assignment for physical devices */
4106 return 1; /* it's an external lun */
4431 /* Determine if this is a lun from an external target array */
8502 /* if we can't find out if lun data has changed,
8515 "report luns failed, can't track lun changes.\n");
8874 "Can't track change to report lun data\n");
8962 /* Make controller gather fresh report lun data each time we
9018 "Error: failed to disable report lun data caching.\n");