Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/mpt2sas/
Dmpt2sas_base.c812 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()
1716 if (!list_empty(&ioc->scsi_lookup[i].chain_list)) { in mpt2sas_base_free_smid()
1718 &ioc->scsi_lookup[i].chain_list, tracker_list) { in mpt2sas_base_free_smid()
1724 ioc->scsi_lookup[i].cb_idx = 0xFF; in mpt2sas_base_free_smid()
1725 ioc->scsi_lookup[i].scmd = NULL; in mpt2sas_base_free_smid()
1726 ioc->scsi_lookup[i].direct_io = 0; in mpt2sas_base_free_smid()
1727 list_add_tail(&ioc->scsi_lookup[i].tracker_list, in mpt2sas_base_free_smid()
2368 if (ioc->scsi_lookup) { in _base_release_memory_pools()
2369 free_pages((ulong)ioc->scsi_lookup, ioc->scsi_lookup_pages); in _base_release_memory_pools()
2370 ioc->scsi_lookup = NULL; in _base_release_memory_pools()
[all …]
Dmpt2sas_scsih.c878 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()
896 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()
897 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()
924 if (ioc->scsi_lookup[i].scmd == scmd) { in _scsih_scsi_lookup_find_by_scmd()
925 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()
955 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_target()
956 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_target()
957 ioc->scsi_lookup[i].scmd->device->channel == channel)) { in _scsih_scsi_lookup_find_by_target()
989 if (ioc->scsi_lookup[i].scmd && in _scsih_scsi_lookup_find_by_lun()
990 (ioc->scsi_lookup[i].scmd->device->id == id && in _scsih_scsi_lookup_find_by_lun()
[all …]
Dmpt2sas_base.h909 struct scsiio_tracker *scsi_lookup; member
Dmpt2sas_ctl.c576 scmd = ioc->scsi_lookup[i - 1].scmd; in _ctl_set_task_mid()
587 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid()