Home
last modified time | relevance | path

Searched refs:hba_index (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/target/
Dtarget_core_hba.c117 hba->hba_index = scsi_get_new_index(SCSI_INST_INDEX); in core_alloc_hba()
Dtarget_core_stat.c83 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_dev_show_attr_inst()
160 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_tgt_dev_show_attr_inst()
268 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_lu_show_attr_inst()
558 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_port_show_attr_inst()
701 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_tgt_port_show_attr_inst()
938 ret = snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_scsi_transport_show_attr_inst()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_debugfs.c2045 qp->hba_index); in lpfc_idiag_queinfo_read()
2076 qp->hba_index); in lpfc_idiag_queinfo_read()
2108 qp->hba_index); in lpfc_idiag_queinfo_read()
2142 qp->hba_index); in lpfc_idiag_queinfo_read()
2167 qp->hba_index); in lpfc_idiag_queinfo_read()
2197 qp->hba_index); in lpfc_idiag_queinfo_read()
2229 qp->hba_index); in lpfc_idiag_queinfo_read()
2262 qp->hba_index); in lpfc_idiag_queinfo_read()
2275 qp->hba_index); in lpfc_idiag_queinfo_read()
2306 qp->hba_index); in lpfc_idiag_queinfo_read()
[all …]
Dlpfc_sli.c110 if (idx == q->hba_index) { in lpfc_sli4_wq_put()
164 if (q->hba_index == index) in lpfc_sli4_wq_release()
167 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_wq_release()
169 } while (q->hba_index != index); in lpfc_sli4_wq_release()
197 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
233 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
255 eqe = q->qe[q->hba_index].eqe; in lpfc_sli4_eq_get()
261 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_eq_get()
265 q->hba_index = idx; in lpfc_sli4_eq_get()
325 while (q->hba_index != q->host_index) { in lpfc_sli4_eq_release()
[all …]
Dlpfc_debugfs.h353 q->host_index, q->hba_index); in lpfc_debug_dump_q()
Dlpfc_sli4.h143 uint32_t hba_index; /* The last known hba index for get or put */ member
/linux-4.1.27/include/target/
Dtarget_core_base.h833 u32 hba_index; member