Searched refs:scsi_lookup (Results 1 – 8 of 8) sorted by relevance
842 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()1771 if (!list_empty(&ioc->scsi_lookup[i].chain_list)) { in mpt2sas_base_free_smid()1773 &ioc->scsi_lookup[i].chain_list, tracker_list) { in mpt2sas_base_free_smid()1779 ioc->scsi_lookup[i].cb_idx = 0xFF; in mpt2sas_base_free_smid()1780 ioc->scsi_lookup[i].scmd = NULL; in mpt2sas_base_free_smid()1781 ioc->scsi_lookup[i].direct_io = 0; in mpt2sas_base_free_smid()1782 list_add(&ioc->scsi_lookup[i].tracker_list, in mpt2sas_base_free_smid()2442 if (ioc->scsi_lookup) { in _base_release_memory_pools()2443 free_pages((ulong)ioc->scsi_lookup, ioc->scsi_lookup_pages); in _base_release_memory_pools()2444 ioc->scsi_lookup = NULL; in _base_release_memory_pools()[all …]
886 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()904 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()905 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()932 if (ioc->scsi_lookup[i].scmd == scmd) { in _scsih_scsi_lookup_find_by_scmd()933 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()963 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_target()964 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_target()965 ioc->scsi_lookup[i].scmd->device->channel == channel)) { in _scsih_scsi_lookup_find_by_target()997 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_lun()998 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_lun()[all …]
929 struct scsiio_tracker *scsi_lookup; member
567 scmd = ioc->scsi_lookup[i - 1].scmd; in _ctl_set_task_mid()578 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid()
829 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()1188 &ioc->scsi_lookup[smid - 1].chain_list); in _base_get_chain_buffer_tracker()2052 if (!list_empty(&ioc->scsi_lookup[i].chain_list)) { in mpt3sas_base_free_smid()2054 &ioc->scsi_lookup[i].chain_list, tracker_list) { in mpt3sas_base_free_smid()2060 ioc->scsi_lookup[i].cb_idx = 0xFF; in mpt3sas_base_free_smid()2061 ioc->scsi_lookup[i].scmd = NULL; in mpt3sas_base_free_smid()2062 list_add(&ioc->scsi_lookup[i].tracker_list, &ioc->free_list); in mpt3sas_base_free_smid()2607 if (ioc->scsi_lookup) { in _base_release_memory_pools()2608 free_pages((ulong)ioc->scsi_lookup, ioc->scsi_lookup_pages); in _base_release_memory_pools()2609 ioc->scsi_lookup = NULL; in _base_release_memory_pools()[all …]
932 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()950 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()951 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()978 if (ioc->scsi_lookup[i].scmd == scmd) { in _scsih_scsi_lookup_find_by_scmd()979 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()1009 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_target()1010 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_target()1011 ioc->scsi_lookup[i].scmd->device->channel == channel)) { in _scsih_scsi_lookup_find_by_target()1043 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_lun()1044 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_lun()[all …]
872 struct scsiio_tracker *scsi_lookup; member
561 scmd = ioc->scsi_lookup[i - 1].scmd; in _ctl_set_task_mid()572 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid()