/drivers/message/fusion/ |
H A D | mptctl.c | 1411 int lun; local 1481 lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; 1482 *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) +
|
H A D | mptscsih.c | 98 int lun, int ctx2abort, ulong timeout); 539 printk(MYIOC_s_DEBUG_FMT "\tfw_channel = %d, fw_id = %d, lun = %d\n", 540 ioc->name, pScsiReply->Bus, pScsiReply->TargetID, sc->device->lun); 698 sc->device->id, sc->device->lun, 1063 * with the specified target and lun. Function called only 1064 * when a lun is disable by mid-layer. 1081 struct scsi_lun lun; local 1100 int_to_scsilun(vdevice->lun, &lun); 1103 memcmp(lun 1606 mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout) argument [all...] |
/drivers/scsi/ |
H A D | a100u2w.h | 150 u8 lun; /*03 Lun */ member in struct:orc_scb
|
H A D | dpt_i2o.c | 473 if ((pDev = adpt_find_device(pHba, (u32)cmd->device->channel, (u32)cmd->device->id, (u32)cmd->device->lun)) == NULL) { 475 // with type 7F (for all luns less than the max for this bus,id) so the lun scan will continue. 1254 static struct adpt_device* adpt_find_device(adpt_hba* pHba, u32 chan, u32 id, u32 lun) argument 1271 /* If it is the only lun at that address then this should match*/ 1272 if(d->scsi_lun == lun){ 1278 if(d->scsi_lun == lun){ 2498 pHba->name, (u32)cmd->device->channel, (u32)cmd->device->id, (u32)cmd->device->lun, hba_status, dev_status, cmd->cmnd[0]); 2538 pHba->name, detailed_status & I2O_SCSI_DSC_MASK, (u32)cmd->device->channel, (u32)cmd->device->id, (u32)cmd->device->lun, 2555 pHba->name, (u32)cmd->device->channel, (u32)cmd->device->id, (u32)cmd->device->lun, 2567 pHba->name, (u32)cmd->device->channel, (u32)cmd->device->id, (u32)cmd->device->lun, [all...] |
H A D | esp_scsi.c | 599 int tgt, lun; local 603 lun = dev->lun; 608 "tgt[%d] lun[%d]\n", 609 esp->host->unique_id, tgt, lun); 624 *p++ = IDENTIFY(0, lun); 627 (lun << 5) : 0); 687 int tgt, lun, i; local 707 lun = dev->lun; 858 int lun = dev->lun; local 1111 int target, lun; local [all...] |
H A D | hptiop.h | 173 u8 lun; member in struct:hpt_iop_request_block_command 191 u8 lun; member in struct:hpt_iop_request_scsi_command
|
H A D | libiscsi.c | 157 hdr->lun = task->lun; 284 hdr_lun = scsilun_to_int(&tmf->lun); 285 if (hdr_lun != task->sc->device->lun) 377 int_to_scsilun(sc->device->lun, &hdr->lun); 378 task->lun = hdr->lun; 956 hdr.lun = rhdr->lun; 1816 fail_scsi_tasks(struct iscsi_conn *conn, unsigned lun, int error) argument [all...] |
H A D | qla1280.c | 534 #define SCSI_LUN_32(Cmnd) Cmnd->device->lun 859 int bus, target, lun; local 873 lun = SCSI_LUN_32(cmd); 908 target, lun); 929 "command.\n", ha->host_no, bus, target, lun); 981 ha->host_no, bus, target, lun); 1156 int status, lun; local 1188 for (lun = 0; lun < MAX_LUNS; lun 1281 int bus, target, lun; local 2113 int status, lun; local 2696 unsigned int bus, target, lun; local 2759 qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type) argument 3683 unsigned int bus, target, lun; local 3977 int bus, target, lun; local [all...] |
H A D | scsi_transport_iscsi.c | 775 unsigned int lun; member in struct:iscsi_scan_data 812 scan_data->lun, 1); 822 uint id, uint lun) 828 scan_data.lun = lun; 844 scan_data.lun = SCAN_WILD_CARD; 821 iscsi_user_scan(struct Scsi_Host *shost, uint channel, uint id, uint lun) argument
|
H A D | scsi_transport_sas.c | 1548 int lun; local 1551 lun = SCAN_WILD_CARD; 1553 lun = 0; 1555 scsi_scan_target(&rphy->dev, 0, rphy->scsi_target_id, lun, 0); 1656 uint id, uint lun) 1670 rphy->scsi_target_id, lun, 1); 1655 sas_user_scan(struct Scsi_Host *shost, uint channel, uint id, uint lun) argument
|
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_osm.c | 841 reset_scb->hscb->lun = cmd->device->lun; 1491 int lun, u_int tag, role_t role, uint32_t status) 1539 sdev->sdev_target->id, sdev->lun, 1547 devinfo.lun, AC_TRANSFER_NEG); 1553 devinfo.lun, AC_TRANSFER_NEG); 1586 cmd->device->lun); 1605 hscb->lun = cmd->device->lun; 1700 u_int target, u_int lun, ac_cod 1490 ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 1699 ahd_send_async(struct ahd_softc *ahd, char channel, u_int target, u_int lun, ac_code code) argument [all...] |
H A D | aic7xxx_osm.c | 1367 int lun, u_int tag, role_t role, uint32_t status) 1416 sdev->sdev_target->id, sdev->lun, 1424 devinfo.lun, AC_TRANSFER_NEG); 1430 devinfo.lun, AC_TRANSFER_NEG); 1456 * we are storing a full busy target *lun* 1494 hscb->lun = cmd->device->lun; 1629 u_int target, u_int lun, ac_code code) 1700 WARN_ON(lun != CAM_LUN_WILDCARD); 1848 sdev->sdev_target->id, sdev->lun, 1366 ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 1628 ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, ac_code code) argument [all...] |
/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 497 int target, lun; local 509 for(lun = 0; lun < ARCMSR_MAX_TARGETLUN; lun++) { 511 scsi_add_device(acb->host, 0, target, lun); 513 psdev = scsi_device_lookup(acb->host, 0, target, lun); 535 int target, lun; local 547 for(lun = 0; lun < ARCMSR_MAX_TARGETLUN; lun 572 int target, lun; local 853 uint8_t id, lun; local 904 int id, lun; local 2066 int lun = cmd->device->lun; local [all...] |
/drivers/scsi/arm/ |
H A D | acornscsi.c | 775 set_bit(SCpnt->device->id * 8 + SCpnt->device->lun, host->busyluns); 878 clear_bit(SCpnt->device->id * 8 + SCpnt->device->lun, host->busyluns); 1591 set_bit(host->SCpnt->device->id * 8 + host->SCpnt->device->lun, host->busyluns); 1680 printk("scsi%d.%c: lun %d tag %d linked command complete\n", 1688 printk(KERN_WARNING "scsi%d.%c: lun %d tag %d linked command complete, but no next_link\n", 1739 host->SCpnt->device->lun)); 1814 unsigned int target, lun, ok = 0; local 1832 lun = sbic_arm_read(host, SBIC_DATA) & 7; 1835 host->scsi.reconnected.lun = lun; [all...] |
H A D | acornscsi.h | 291 unsigned char lun; /* reconnected lun */ member in struct:acornscsi_hostdata::__anon4049::__anon4050
|
H A D | fas216.c | 942 unsigned char target, lun, tag; local 971 lun = msg[1] & 7; 986 fas216_log(info, LOG_CONNECT, "Reconnected: target %1x lun %1x tag %02x", 987 target, lun, tag); 992 info->SCpnt->device->lun == lun && 1003 target, lun, tag); 1783 msgqueue_addmsg(&info->scsi.msgs, 1, IDENTIFY(disconnect_ok, SCpnt->device->lun)); 1824 set_bit(SCpnt->device->id * 8 + SCpnt->device->lun, info->busyluns); 2174 clear_bit(SCpnt->device->id * 8 + SCpnt->device->lun, inf [all...] |
/drivers/scsi/device_handler/ |
H A D | scsi_dh_rdac.c | 148 u8 lun[8]; member in struct:c8_inquiry 186 unsigned lun; member in struct:rdac_dh_data 336 lun_table[qdata->h->lun] = 0x81; 451 h->lun = inqp->lun[7]; /* Uses only the last byte */ 871 h->lun = UNINITIALIZED_LUN; 899 RDAC_NAME, h->lun, mode[(int)h->mode],
|
/drivers/scsi/fnic/ |
H A D | fcpio.h | 111 FCPIO_NO_PATH_AVAIL, /* no paths to the lun was available */ 217 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_icmnd_16 265 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_icmnd_32 287 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_itmf 532 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_tcmnd_16 565 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_tcmnd_32 596 u8 lun[LUN_ADDRESS]; /* FC vNIC only: LUN address */ member in struct:fcpio_ttmf 769 u8 lun; member in struct:fcpio_lunmap_entry
|
/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 1007 * @lun: The LUN 1010 * If lun or id is -1, they are ignored. 1013 unsigned int lun, int error) 1027 if (lun != -1 && sc_cmd->device->lun != lun) 1077 int_to_scsilun(fsp->cmd->device->lun, 1251 * @lun: The LUN ID to be reset 1254 unsigned int id, unsigned int lun) 1260 int_to_scsilun(lun, (struc 1012 fc_fcp_cleanup_each_cmd(struct fc_lport *lport, unsigned int id, unsigned int lun, int error) argument 1253 fc_lun_reset(struct fc_lport *lport, struct fc_fcp_pkt *fsp, unsigned int id, unsigned int lun) argument [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 211 * @lun: Lun number of the scsi device. 222 uint32_t lun, 239 fast_path_evt->un.queue_depth_evt.scsi_event.lun = lun; 284 rdata->pnode, sdev->lun, 2348 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; 2362 fast_path_evt->un.check_cond_evt.scsi_event.lun = 2363 cmnd->device->lun; 2392 fast_path_evt->un.read_check_error.lun 219 lpfc_send_sdev_queuedepth_change_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, uint32_t lun, uint32_t old_val, uint32_t new_val) argument 3000 lpfc_scsi_prep_task_mgmt_cmd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, unsigned int lun, uint8_t task_mgmt_cmd) argument [all...] |
/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_ctl.c | 561 u32 lun; local 571 lun = scsilun_to_int((struct scsi_lun *)tm_request->LUN); 580 if (lun != scmd->device->lun) 594 "handle(0x%04x), lun(%d), no active mid!!\n", ioc->name, 595 desc, le16_to_cpu(tm_request->DevHandle), lun)); 612 "handle(0x%04x), lun(%d), task_mid(%d)\n", ioc->name, 613 desc, le16_to_cpu(tm_request->DevHandle), lun,
|
/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 1465 u8 *lun, struct mvs_tmf_task *tmf) 1471 memcpy(ssp_task.LUN, lun, 8); 1492 int mvs_lu_reset(struct domain_device *dev, u8 *lun) argument 1502 rc = mvs_debug_issue_ssp_tmf(dev, lun, &tmf_task); 1539 struct scsi_lun lun; local 1549 int_to_scsilun(cmnd->device->lun, &lun); 1559 rc = mvs_debug_issue_ssp_tmf(dev, lun.scsi_lun, &tmf_task); 1576 struct scsi_lun lun; local 1603 int_to_scsilun(cmnd->device->lun, 1464 mvs_debug_issue_ssp_tmf(struct domain_device *dev, u8 *lun, struct mvs_tmf_task *tmf) argument 1651 mvs_abort_task_set(struct domain_device *dev, u8 *lun) argument 1662 mvs_clear_aca(struct domain_device *dev, u8 *lun) argument 1673 mvs_clear_task_set(struct domain_device *dev, u8 *lun) argument [all...] |
/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 335 qla2x00_async_tm_cmd(fc_port_t *fcport, uint32_t flags, uint32_t lun, argument 355 tcf->u.tmf.lun = lun; 461 uint16_t lun; local 464 lun = (uint16_t)iocb->u.tmf.lun; 468 vha->hw->rsp_q_map[0], fcport->loop_id, lun,
|
H A D | qla_os.c | 854 unsigned int id, lun; local 868 lun = cmd->device->lun; 879 vha->host_no, id, lun, sp, cmd); 914 vha->host_no, id, lun, wait, ret); 952 sp->cmd->device->lun == l); 992 cmd->device->id, cmd->device->lun, cmd); 1001 if (do_reset(fcport, cmd->device->lun, cmd->request->cpu + 1) 1009 cmd->device->lun, type) != QLA_SUCCESS) { 1017 vha->host_no, cmd->device->id, cmd->device->lun, cm 1070 unsigned int id, lun; local 1136 unsigned int id, lun; local [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 224 cp->target,cp->lun, -1); 316 lp = sym_lp(tp, sdev->lun); 715 static void sym_tune_dev_queuing(struct sym_tcb *tp, int lun, u_short reqtags) argument 717 struct sym_lcb *lp = sym_lp(tp, lun); 745 if (sdev->id >= SYM_CONF_MAX_TARGET || sdev->lun >= SYM_CONF_MAX_LUN) 756 * lun devices behave badly when asked for a non zero LUN. 768 if (sdev->lun != 0) { 776 lp = sym_alloc_lcb(np, sdev->id, sdev->lun); 801 struct sym_lcb *lp = sym_lp(tp, sdev->lun); 827 sym_tune_dev_queuing(tp, sdev->lun, reqtag 895 u_long lun; member in struct:sym_usrcmd [all...] |