Searched refs:hbqs (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 288 struct hbq_s *hbqs; in lpfc_debugfs_hbqinfo_data() local 312 hbqs = &phba->hbqs[i]; in lpfc_debugfs_hbqinfo_data() 314 list_for_each_entry(d_buf, &hbqs->hbq_buffer_list, list) in lpfc_debugfs_hbqinfo_data() 327 hbqs->entry_count, hbqs->buffer_count, hbqs->hbqPutIdx, in lpfc_debugfs_hbqinfo_data() 328 hbqs->next_hbqPutIdx, hbqs->local_hbqGetIdx, getidx); in lpfc_debugfs_hbqinfo_data() 330 hbqe = (struct lpfc_hbq_entry *) phba->hbqs[i].hbq_virt; in lpfc_debugfs_hbqinfo_data() 331 for (j=0; j<hbqs->entry_count; j++) { in lpfc_debugfs_hbqinfo_data() 341 low = hbqs->hbqPutIdx - posted; in lpfc_debugfs_hbqinfo_data() 343 if ((j >= hbqs->hbqPutIdx) || (j < low)) { in lpfc_debugfs_hbqinfo_data() 349 if ((j >= hbqs->hbqPutIdx) && in lpfc_debugfs_hbqinfo_data() [all …]
|
D | lpfc_sli.c | 1941 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot() 1971 return (struct lpfc_hbq_entry *) phba->hbqs[hbqno].hbq_virt + in lpfc_sli_next_hbq_slot() 1997 &phba->hbqs[i].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_free_all() 2000 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all() 2002 phba->hbqs[i].buffer_count = 0; in lpfc_sli_hbqbuf_free_all() 2052 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3() 2105 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4() 2143 if (!phba->hbqs[hbqno].hbq_alloc_buffer) in lpfc_sli_hbqbuf_fill_hbqs() 2146 if ((phba->hbqs[hbqno].buffer_count + count) > in lpfc_sli_hbqbuf_fill_hbqs() 2149 phba->hbqs[hbqno].buffer_count; in lpfc_sli_hbqbuf_fill_hbqs() [all …]
|
D | lpfc_mem.c | 708 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_in_buf_free()
|
D | lpfc.h | 861 struct hbq_s hbqs[LPFC_MAX_HBQS]; /* local copy of hbq indicies */ member
|
D | lpfc_init.c | 5985 INIT_LIST_HEAD(&phba->hbqs[LPFC_ELS_HBQ].hbq_buffer_list); in lpfc_sli4_driver_resource_setup() 5986 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_sli4_rb_alloc; in lpfc_sli4_driver_resource_setup() 5987 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_sli4_rb_free; in lpfc_sli4_driver_resource_setup() 7223 phba->hbqs[i].hbq_virt = ptr; in lpfc_sli_pci_mem_setup() 7224 INIT_LIST_HEAD(&phba->hbqs[i].hbq_buffer_list); in lpfc_sli_pci_mem_setup() 7228 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_els_hbq_alloc; in lpfc_sli_pci_mem_setup() 7229 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_els_hbq_free; in lpfc_sli_pci_mem_setup()
|