Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/
Dtarget_core_stat.c68 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show()
118 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show()
216 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_lu_inst_show()
464 ret = snprintf(page, PAGE_SIZE, "%u\n", dev->hba_index); in target_stat_port_inst_show()
568 ret = snprintf(page, PAGE_SIZE, "%u\n", dev->hba_index); in target_stat_tgt_port_inst_show()
752 ret = snprintf(page, PAGE_SIZE, "%u\n", dev->hba_index); in target_stat_transport_inst_show()
Dtarget_core_hba.c136 hba->hba_index = scsi_get_new_index(SCSI_INST_INDEX); in core_alloc_hba()
Dtarget_core_device.c768 dev->hba_index = hba->hba_index; in target_alloc_device()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_mem.c763 rqb_entry->hrq->hba_index, in lpfc_rq_buf_free()
766 rqb_entry->drq->hba_index); in lpfc_rq_buf_free()
Dlpfc_sli.c157 if (idx == q->hba_index) { in lpfc_sli4_wq_put()
243 if (q->hba_index == index) in lpfc_sli4_wq_release()
246 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_wq_release()
248 } while (q->hba_index != index); in lpfc_sli4_wq_release()
276 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
312 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
336 eqe = q->qe[q->hba_index].eqe; in lpfc_sli4_eq_get()
342 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_eq_get()
346 q->hba_index = idx; in lpfc_sli4_eq_get()
348 if (phba->sli4_hba.pc_sli4_params.eqav && !q->hba_index) in lpfc_sli4_eq_get()
[all …]
Dlpfc_debugfs.h391 q->host_index, q->hba_index); in lpfc_debug_dump_q()
Dlpfc_sli4.h166 uint32_t hba_index; /* The last known hba index for get or put */ member
Dlpfc_debugfs.c3170 qp->hba_index, qp->entry_repost); in __lpfc_idiag_print_wq()
3221 qp->hba_index, qp->entry_repost); in __lpfc_idiag_print_cq()
3246 qp->host_index, qp->hba_index, qp->entry_repost); in __lpfc_idiag_print_rqpair()
3252 datqp->hba_index, datqp->entry_repost); in __lpfc_idiag_print_rqpair()
3341 qp->host_index, qp->hba_index, qp->entry_repost); in __lpfc_idiag_print_eq()
/Linux-v4.19/include/target/
Dtarget_core_base.h826 u32 hba_index; member
837 u32 hba_index; member