/linux-master/include/scsi/ |
H A D | libsas.h | 650 int (*lldd_abort_task_set)(struct domain_device *, u8 *lun); 651 int (*lldd_clear_task_set)(struct domain_device *, u8 *lun); 655 int (*lldd_lu_reset)(struct domain_device *, u8 *lun); 717 int sas_abort_task_set(struct domain_device *dev, u8 *lun); 718 int sas_clear_task_set(struct domain_device *dev, u8 *lun); 719 int sas_lu_reset(struct domain_device *dev, u8 *lun);
|
H A D | sas.h | 342 u8 lun[8]; member in struct:ssp_command_iu 370 u8 lun[8]; member in struct:ssp_tmf_iu 563 u8 lun[8]; member in struct:ssp_command_iu 591 u8 lun[8]; member in struct:ssp_tmf_iu
|
/linux-master/drivers/firewire/ |
H A D | sbp2.c | 126 u16 lun; member in struct:sbp2_logical_unit 758 static int sbp2_lun2int(u16 lun) argument 763 eight_bytes_lun.scsi_lun[0] = (lun >> 8) & 0xff; 764 eight_bytes_lun.scsi_lun[1] = lun & 0xff; 822 SBP2_LOGIN_REQUEST, lu->lun, &response) < 0) { 827 lu->lun); 845 lu->lun, lu->retries); 865 sdev = __scsi_add_device(shost, 0, 0, sbp2_lun2int(lu->lun), lu); 951 lu->lun, lu->retries); 984 lu->lun [all...] |
/linux-master/drivers/scsi/ |
H A D | 3w-9xxx.h | 436 /* request_id: 12, lun: 4 */ 437 #define TW_REQ_LUN_IN(lun, request_id) \ 438 cpu_to_le16(((lun << 12) & 0xf000) | (request_id & 0xfff)) 439 #define TW_LUN_OUT(lun) ((le16_to_cpu(lun) >> 12) & 0xf)
|
H A D | vmw_pvscsi.c | 125 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default=" 721 memset(e->lun, 0, sizeof(e->lun)); 722 e->lun[1] = sdev->lun; 1051 desc->bus, desc->target, desc->lun[1]); 1057 desc->lun[1]); 1063 desc->target, desc->lun[1]); 1072 desc->bus, desc->target, desc->lun[1]); 1078 desc->lun[ [all...] |
H A D | esp_scsi.c | 661 int tgt, lun; local 665 lun = dev->lun; 669 esp_log_autosense("Doing auto-sense for tgt[%d] lun[%d]\n", 670 tgt, lun); 680 *p++ = IDENTIFY(0, lun); 683 (lun << 5) : 0); 742 int tgt, lun, i; local 762 lun = dev->lun; 903 int lun = dev->lun; local 1143 int target, lun; local [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | ipl.h | 93 u64 lun; member in struct:ipl_info::__anon38::__anon41
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf.h | 148 int lun; member in struct:qedf_ioreq 290 int lun; member in struct:qedf_io_log 501 extern void qedf_flush_active_ios(struct qedf_rport *fcport, u64 lun); 526 extern int qedf_initiate_tmf(struct fc_rport *rport, u64 lun, u8 tm_flags);
|
H A D | qedf_io.c | 372 io_req->lun = -1; 561 int_to_scsilun(sc_cmd->device->lun, 818 io_log->lun = sc_cmd->device->lun; 901 io_req->lun = (int)sc_cmd->device->lun; 1181 sc_cmd->device->lun == (u64)fcport->lun_reset_lun)) { 1237 sc_cmd->device->lun, io_req->xid, 1399 sc_cmd->device->lun, sc_cmd, sc_cmd->result, sc_cmd->cmnd[0], 1538 io_req->sc_cmd->device->lun 1587 qedf_flush_active_ios(struct qedf_rport *fcport, u64 lun) argument 2407 qedf_initiate_tmf(struct fc_rport *rport, u64 lun, u8 tm_flags) argument [all...] |
/linux-master/drivers/xen/ |
H A D | xen-scsiback.c | 74 unsigned int lun; /* LUN */ member in struct:ids_tuple 80 unsigned int lun; member in struct:v2p_entry 224 tpg->tport->tport_name, pending_req->v2p->lun, 429 pending_req->v2p->lun, pending_req->data_len, 0, 621 u64 unpacked_lun = pending_req->v2p->lun; 660 (entry->v.lun == v->lun)) { 723 vir.lun = ring_req->lun; 727 pr_debug("the v2p of (chn:%d, tgt:%d, lun 1721 scsiback_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1734 scsiback_port_unlink(struct se_portal_group *se_tpg, struct se_lun *lun) argument [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcpim.h | 242 struct scsi_lun lun; /* lun if applicable */ member in struct:bfa_tskim_s 462 struct bfa_itnim_s *itnim, struct scsi_lun lun, 472 wwn_t *pwwn, wwn_t rpwwn, struct scsi_lun lun); 474 wwn_t *pwwn, wwn_t rpwwn, struct scsi_lun lun);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.h | 50 uint64_t lun; member in struct:lpfc_device_id
|
H A D | lpfc_scsi.c | 3252 * If the OAS driver feature is enabled and the lun is enabled for 3450 * If the OAS driver feature is enabled and the lun is enabled for 3588 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; 3602 fast_path_evt->un.check_cond_evt.scsi_event.lun = 3603 cmnd->device->lun; 3632 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; 3851 "tgt x%x lun x%llx cmnd x%x rsplen " 3853 cmnd->device->lun, cmn 4847 lpfc_scsi_prep_task_mgmt_cmd_s3(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, u64 lun, u8 task_mgmt_cmd) argument 4907 lpfc_scsi_prep_task_mgmt_cmd_s4(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, u64 lun, u8 task_mgmt_cmd) argument 6410 lpfc_create_device_data(struct lpfc_hba *phba, struct lpfc_name *vport_wwpn, struct lpfc_name *target_wwpn, uint64_t lun, uint32_t pri, bool atomic_create) argument 6484 __lpfc_get_device_data(struct lpfc_hba *phba, struct list_head *list, struct lpfc_name *vport_wwpn, struct lpfc_name *target_wwpn, uint64_t lun) argument 6549 uint64_t lun; local 6634 lpfc_enable_oas_lun(struct lpfc_hba *phba, struct lpfc_name *vport_wwpn, struct lpfc_name *target_wwpn, uint64_t lun, uint8_t pri) argument 6694 lpfc_disable_oas_lun(struct lpfc_hba *phba, struct lpfc_name *vport_wwpn, struct lpfc_name *target_wwpn, uint64_t lun, uint8_t pri) argument [all...] |
/linux-master/include/uapi/scsi/ |
H A D | scsi_bsg_ufs.h | 49 * @lun: Logical unit number. 72 __u8 lun; member in struct:utp_upiu_header::__anon3216::__anon3218
|
/linux-master/drivers/staging/rts5208/ |
H A D | rtsx_card.h | 1012 int check_card_exist(struct rtsx_chip *chip, unsigned int lun); 1013 int check_card_ready(struct rtsx_chip *chip, unsigned int lun); 1014 int check_card_wp(struct rtsx_chip *chip, unsigned int lun); 1015 void eject_card(struct rtsx_chip *chip, unsigned int lun); 1016 u8 get_lun_card(struct rtsx_chip *chip, unsigned int lun); 1018 static inline u32 get_card_size(struct rtsx_chip *chip, unsigned int lun) argument 1023 if ((get_lun_card(chip, lun) == SD_CARD) && 1027 return chip->capacity[lun]; 1029 return chip->capacity[lun];
|
H A D | xd.c | 1823 unsigned int lun = SCSI_LUN(srb); local 1849 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); 1862 set_sense_type(chip, lun, SENSE_TYPE_MEDIA_NOT_PRESENT); 1880 set_sense_type(chip, lun, 1896 set_sense_type(chip, lun, 1905 set_sense_type(chip, lun, 1915 set_sense_type(chip, lun, 1919 set_sense_type(chip, lun, 1931 set_sense_type(chip, lun, 1935 set_sense_type(chip, lun, [all...] |
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 162 u_int lun, cam_status status, 189 char channel, int lun, u_int tag, 233 char channel, int lun, u_int tag, 258 int target, char channel, int lun, 1817 ahd_outb(ahd, SAVED_LUN, scb->hscb->lun); 1953 * The lun is 0, regardless of the SCB's lun 2237 devinfo.lun); 2263 u_int lun; local 2270 lun 4327 ahd_compile_devinfo(struct ahd_devinfo *devinfo, u_int our_id, u_int target, u_int lun, char channel, role_t role) argument 5887 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument 7471 int lun; local 7946 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 7986 int lun; local 8100 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action) argument 8330 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action, u_int *list_head, u_int *list_tail, u_int tid) argument 8487 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 8735 u_int lun; local 10229 u_int lun; local 10620 int lun; local [all...] |
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1646 struct sym_lcb *lp = sym_lp(tp, cp->lun); 2704 np->msgout[0] = IDENTIFY(0, cp->lun); 2958 * a given target/lun/task condition (-1 means all), 2965 sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task) argument 2977 * that matches the target/lun/task condition. 2988 (lun == -1 || cp->lun == lun) && 3080 sym_dequeue_from_squeue(np, i, cp->target, cp->lun, -1); 3096 cp->scsi_smsg2[0] = IDENTIFY(0, cp->lun); 3186 sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task) argument 3275 int target=-1, lun=-1, task; local [all...] |
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_isr.c | 31 cmd->device->lun, __func__)); 48 cmd->device->lun, __func__, 177 cmd->device->lun, __func__, 201 cmd->device->id, cmd->device->lun, __func__)); 209 cmd->device->id, cmd->device->lun, __func__)); 217 cmd->device->id, cmd->device->lun)); 237 cmd->device->lun, __func__)); 265 cmd->device->lun, __func__, 297 cmd->device->lun, __func__, 318 cmd->device->lun, sts_entr [all...] |
/linux-master/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 99 struct pqi_scsi_dev *device, u8 lun, unsigned long timeout_msecs); 461 static inline void pqi_device_reset_start(struct pqi_scsi_dev *device, u8 lun) argument 463 device->in_reset[lun] = true; 466 static inline void pqi_device_reset_done(struct pqi_scsi_dev *device, u8 lun) argument 468 device->in_reset[lun] = false; 471 static inline bool pqi_device_in_reset(struct pqi_scsi_dev *device, u8 lun) argument 473 return device->in_reset[lun]; 1346 int bus, int target, int lun) 1350 device->lun = lun; 1345 pqi_set_bus_target_lun(struct pqi_scsi_dev *device, int bus, int target, int lun) argument 1359 int lun; local 1906 int lun; local 1929 pqi_find_scsi_dev(struct pqi_ctrl_info *ctrl_info, int bus, int target, int lun) argument 2157 unsigned int lun; local 6010 u8 lun; local 6165 pqi_fail_io_queued_for_device(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun) argument 6214 pqi_device_wait_for_pending_io(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun, unsigned long timeout_msecs) argument 6262 pqi_wait_for_lun_reset_completion(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun, struct completion *wait) argument 6296 pqi_lun_reset(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun) argument 6339 pqi_lun_reset_with_retries(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun) argument 6363 pqi_device_reset(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun) argument 6382 pqi_device_reset_handler(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, u8 lun, struct scsi_cmnd *scmd, u8 scsi_opcode) argument [all...] |
/linux-master/drivers/scsi/cxlflash/ |
H A D | common.h | 299 static inline u64 lun_to_lunid(u64 lun) argument 303 int_to_scsilun(lun, (struct scsi_lun *)&lun_id);
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_dbf.h | 71 * @lun: logical unit number 76 * @lun_status: current status of the lun 84 u64 lun; member in struct:zfcp_dbf_rec 150 * @lun: logical unit number 157 u64 lun; member in struct:zfcp_dbf_hba_uss
|
H A D | zfcp_dbf.c | 221 rec->u.uss.lun = srb->fcp_lun; 321 rec->lun = zfcp_scsi_dev_lun(sdev); 323 rec->lun = ZFCP_DBF_INVALID_LUN; 467 rec->lun = ZFCP_DBF_INVALID_LUN; 692 rec->scsi_lun = (u32)sc->device->lun; 693 rec->scsi_lun_64_hi = (u32)(sc->device->lun >> 32); 703 rec->scsi_lun = (u32)sdev->lun; 704 rec->scsi_lun_64_hi = (u32)(sdev->lun >> 32);
|
/linux-master/drivers/target/loopback/ |
H A D | tcm_loop.c | 148 tl_cmd->sc->device->lun, transfer_length, 174 sc->device->channel, sc->device->lun, sc->cmnd[0], 190 u64 lun, int task, enum tcm_tmreq_table tmr) 216 rc = target_submit_tmr(se_cmd, se_sess, tl_cmd->tl_sense_buf, lun, 244 ret = tcm_loop_issue_tmr(tl_tpg, sc->device->lun, 265 ret = tcm_loop_issue_tmr(tl_tpg, sc->device->lun, 583 struct se_lun *lun) 593 scsi_add_device(tl_hba->sh, 0, tl_tpg->tl_tpgt, lun->unpacked_lun); 189 tcm_loop_issue_tmr(struct tcm_loop_tpg *tl_tpg, u64 lun, int task, enum tcm_tmreq_table tmr) argument 581 tcm_loop_port_link( struct se_portal_group *se_tpg, struct se_lun *lun) argument
|
/linux-master/drivers/scsi/isci/ |
H A D | task.c | 371 * @lun: This parameter specifies the lun to be reset. 378 u8 *lun) 408 int isci_task_lu_reset(struct domain_device *dev, u8 *lun) argument 444 ret = isci_task_send_lu_reset_sas(ihost, idev, lun); 606 * to abort all task for the given lun. 609 * @lun: This parameter specifies the lun associated with this request. 615 u8 *lun) 626 * @lun 375 isci_task_send_lu_reset_sas( struct isci_host *isci_host, struct isci_remote_device *isci_device, u8 *lun) argument 613 isci_task_abort_task_set( struct domain_device *d_device, u8 *lun) argument 630 isci_task_clear_task_set( struct domain_device *d_device, u8 *lun) argument [all...] |