Home
last modified time | relevance | path

Searched refs:scsi_lookup (Results 1 – 8 of 8) sorted by relevance

/drivers/scsi/mpt2sas/
Dmpt2sas_base.c837 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()
1743 if (!list_empty(&ioc->scsi_lookup[i].chain_list)) { in mpt2sas_base_free_smid()
1745 &ioc->scsi_lookup[i].chain_list, tracker_list) { in mpt2sas_base_free_smid()
1751 ioc->scsi_lookup[i].cb_idx = 0xFF; in mpt2sas_base_free_smid()
1752 ioc->scsi_lookup[i].scmd = NULL; in mpt2sas_base_free_smid()
1753 ioc->scsi_lookup[i].direct_io = 0; in mpt2sas_base_free_smid()
1754 list_add_tail(&ioc->scsi_lookup[i].tracker_list, in mpt2sas_base_free_smid()
2403 if (ioc->scsi_lookup) { in _base_release_memory_pools()
2404 free_pages((ulong)ioc->scsi_lookup, ioc->scsi_lookup_pages); in _base_release_memory_pools()
2405 ioc->scsi_lookup = NULL; in _base_release_memory_pools()
[all …]
Dmpt2sas_scsih.c879 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()
897 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()
898 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()
925 if (ioc->scsi_lookup[i].scmd == scmd) { in _scsih_scsi_lookup_find_by_scmd()
926 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()
956 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_target()
957 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_target()
958 ioc->scsi_lookup[i].scmd->device->channel == channel)) { in _scsih_scsi_lookup_find_by_target()
990 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_lun()
991 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_lun()
[all …]
Dmpt2sas_base.h917 struct scsiio_tracker *scsi_lookup; member
Dmpt2sas_ctl.c563 scmd = ioc->scsi_lookup[i - 1].scmd; in _ctl_set_task_mid()
574 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c823 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()
1182 &ioc->scsi_lookup[smid - 1].chain_list); in _base_get_chain_buffer_tracker()
2036 if (!list_empty(&ioc->scsi_lookup[i].chain_list)) { in mpt3sas_base_free_smid()
2038 &ioc->scsi_lookup[i].chain_list, tracker_list) { in mpt3sas_base_free_smid()
2044 ioc->scsi_lookup[i].cb_idx = 0xFF; in mpt3sas_base_free_smid()
2045 ioc->scsi_lookup[i].scmd = NULL; in mpt3sas_base_free_smid()
2046 list_add(&ioc->scsi_lookup[i].tracker_list, &ioc->free_list); in mpt3sas_base_free_smid()
2531 if (ioc->scsi_lookup) { in _base_release_memory_pools()
2532 free_pages((ulong)ioc->scsi_lookup, ioc->scsi_lookup_pages); in _base_release_memory_pools()
2533 ioc->scsi_lookup = NULL; in _base_release_memory_pools()
[all …]
Dmpt3sas_scsih.c931 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()
949 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()
950 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()
977 if (ioc->scsi_lookup[i].scmd == scmd) { in _scsih_scsi_lookup_find_by_scmd()
978 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()
1008 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_target()
1009 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_target()
1010 ioc->scsi_lookup[i].scmd->device->channel == channel)) { in _scsih_scsi_lookup_find_by_target()
1042 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_lun()
1043 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_lun()
[all …]
Dmpt3sas_base.h841 struct scsiio_tracker *scsi_lookup; member
Dmpt3sas_ctl.c561 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()