Searched refs:hbqs (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/scsi/lpfc/ ! |
D | lpfc_debugfs.c | 286 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 …]
|
D | lpfc_mem.c | 691 (phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer) in lpfc_in_buf_free()
|
D | lpfc_sli.c | 2342 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_next_hbq_slot() 2371 return (struct lpfc_hbq_entry *) phba->hbqs[hbqno].hbq_virt + in lpfc_sli_next_hbq_slot() 2397 &phba->hbqs[i].hbq_buffer_list, list) { in lpfc_sli_hbqbuf_free_all() 2400 (phba->hbqs[i].hbq_free_buffer)(phba, hbq_buf); in lpfc_sli_hbqbuf_free_all() 2402 phba->hbqs[i].buffer_count = 0; in lpfc_sli_hbqbuf_free_all() 2452 struct hbq_s *hbqp = &phba->hbqs[hbqno]; in lpfc_sli_hbq_to_firmware_s3() 2505 list_add_tail(&hbq_buf->dbuf.list, &phba->hbqs[hbqno].hbq_buffer_list); in lpfc_sli_hbq_to_firmware_s4() 2543 if (!phba->hbqs[hbqno].hbq_alloc_buffer) in lpfc_sli_hbqbuf_fill_hbqs() 2546 if ((phba->hbqs[hbqno].buffer_count + count) > in lpfc_sli_hbqbuf_fill_hbqs() 2549 phba->hbqs[hbqno].buffer_count; in lpfc_sli_hbqbuf_fill_hbqs() [all …]
|
D | lpfc.h | 1212 struct hbq_s hbqs[LPFC_MAX_HBQS]; /* local copy of hbq indicies */ member
|
D | lpfc_init.c | 7992 INIT_LIST_HEAD(&phba->hbqs[LPFC_ELS_HBQ].hbq_buffer_list); in lpfc_sli4_driver_resource_setup() 7993 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_sli4_rb_alloc; in lpfc_sli4_driver_resource_setup() 7994 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_sli4_rb_free; in lpfc_sli4_driver_resource_setup() 9348 phba->hbqs[i].hbq_virt = ptr; in lpfc_sli_pci_mem_setup() 9349 INIT_LIST_HEAD(&phba->hbqs[i].hbq_buffer_list); in lpfc_sli_pci_mem_setup() 9353 phba->hbqs[LPFC_ELS_HBQ].hbq_alloc_buffer = lpfc_els_hbq_alloc; in lpfc_sli_pci_mem_setup() 9354 phba->hbqs[LPFC_ELS_HBQ].hbq_free_buffer = lpfc_els_hbq_free; in lpfc_sli_pci_mem_setup()
|