Home
last modified time | relevance | path

Searched refs:hbqs (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_debugfs.c262 struct hbq_s *hbqs; in lpfc_debugfs_hbqinfo_data() local
286 hbqs = &phba->hbqs[i]; in lpfc_debugfs_hbqinfo_data()
288 list_for_each_entry(d_buf, &hbqs->hbq_buffer_list, list) in lpfc_debugfs_hbqinfo_data()
301 hbqs->entry_count, hbqs->buffer_count, hbqs->hbqPutIdx, in lpfc_debugfs_hbqinfo_data()
302 hbqs->next_hbqPutIdx, hbqs->local_hbqGetIdx, getidx); in lpfc_debugfs_hbqinfo_data()
304 hbqe = (struct lpfc_hbq_entry *) phba->hbqs[i].hbq_virt; in lpfc_debugfs_hbqinfo_data()
305 for (j=0; j<hbqs->entry_count; j++) { in lpfc_debugfs_hbqinfo_data()
315 low = hbqs->hbqPutIdx - posted; in lpfc_debugfs_hbqinfo_data()
317 if ((j >= hbqs->hbqPutIdx) || (j < low)) { in lpfc_debugfs_hbqinfo_data()
323 if ((j >= hbqs->hbqPutIdx) && in lpfc_debugfs_hbqinfo_data()
[all …]
Dlpfc_sli.c1581 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot()
1609 return (struct lpfc_hbq_entry *) phba->hbqs[hbqno].hbq_virt + in lpfc_sli_next_hbq_slot()
1636 &phba->hbqs[i].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_free_all()
1639 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
1641 phba->hbqs[i].buffer_count = 0; in lpfc_sli_hbqbuf_free_all()
1649 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_sli_hbqbuf_free_all()
1654 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_sli_hbqbuf_free_all()
1657 (phba->hbqs[hbqno].hbq_free_buffer)(phba, in lpfc_sli_hbqbuf_free_all()
1707 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3()
1753 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
[all …]
Dlpfc_mem.c531 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_in_buf_free()
Dlpfc.h684 struct hbq_s hbqs[LPFC_MAX_HBQS]; /* local copy of hbq indicies */ member
Dlpfc_init.c4221 INIT_LIST_HEAD(&phba->hbqs[i].hbq_buffer_list); in lpfc_sli4_driver_resource_setup()
4223 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_sli4_rb_alloc; in lpfc_sli4_driver_resource_setup()
4224 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_sli4_rb_free; in lpfc_sli4_driver_resource_setup()
5316 phba->hbqs[i].hbq_virt = ptr; in lpfc_sli_pci_mem_setup()
5317 INIT_LIST_HEAD(&phba->hbqs[i].hbq_buffer_list); in lpfc_sli_pci_mem_setup()
5321 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_els_hbq_alloc; in lpfc_sli_pci_mem_setup()
5322 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_els_hbq_free; in lpfc_sli_pci_mem_setup()