Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c286 struct hbq_s *hbqs; in lpfc_debugfs_hbqinfo_data() local
310 hbqs = &phba->hbqs[i]; in lpfc_debugfs_hbqinfo_data()
312 list_for_each_entry(d_buf, &hbqs->hbq_buffer_list, list) in lpfc_debugfs_hbqinfo_data()
325 hbqs->entry_count, hbqs->buffer_count, hbqs->hbqPutIdx, in lpfc_debugfs_hbqinfo_data()
326 hbqs->next_hbqPutIdx, hbqs->local_hbqGetIdx, getidx); in lpfc_debugfs_hbqinfo_data()
328 hbqe = (struct lpfc_hbq_entry *) phba->hbqs[i].hbq_virt; in lpfc_debugfs_hbqinfo_data()
329 for (j=0; j<hbqs->entry_count; j++) { in lpfc_debugfs_hbqinfo_data()
339 low = hbqs->hbqPutIdx - posted; in lpfc_debugfs_hbqinfo_data()
341 if ((j >= hbqs->hbqPutIdx) || (j < low)) { in lpfc_debugfs_hbqinfo_data()
348 if ((j >= hbqs->hbqPutIdx) && in lpfc_debugfs_hbqinfo_data()
[all …]
H A Dlpfc_mem.c698 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_in_buf_free()
H A Dlpfc_sli.c2347 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot()
2376 return (struct lpfc_hbq_entry *) phba->hbqs[hbqno].hbq_virt + in lpfc_sli_next_hbq_slot()
2402 &phba->hbqs[i].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_free_all()
2405 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all()
2407 phba->hbqs[i].buffer_count = 0; in lpfc_sli_hbqbuf_free_all()
2457 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3()
2510 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4()
2548 if (!phba->hbqs[hbqno].hbq_alloc_buffer) in lpfc_sli_hbqbuf_fill_hbqs()
2551 if ((phba->hbqs[hbqno].buffer_count + count) > in lpfc_sli_hbqbuf_fill_hbqs()
2554 phba->hbqs[hbqno].buffer_count; in lpfc_sli_hbqbuf_fill_hbqs()
[all …]
H A Dlpfc.h1231 struct hbq_s hbqs[LPFC_MAX_HBQS]; /* local copy of hbq indicies */ member
H A Dlpfc_init.c8004 INIT_LIST_HEAD(&phba->hbqs[LPFC_ELS_HBQ].hbq_buffer_list); in lpfc_sli4_driver_resource_setup()
8005 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_sli4_rb_alloc; in lpfc_sli4_driver_resource_setup()
8006 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_sli4_rb_free; in lpfc_sli4_driver_resource_setup()
9360 phba->hbqs[i].hbq_virt = ptr; in lpfc_sli_pci_mem_setup()
9361 INIT_LIST_HEAD(&phba->hbqs[i].hbq_buffer_list); in lpfc_sli_pci_mem_setup()
9365 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_els_hbq_alloc; in lpfc_sli_pci_mem_setup()
9366 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_els_hbq_free; in lpfc_sli_pci_mem_setup()