Home
last modified time | relevance | path

Searched refs:rpi_hdr (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_init.c6697 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_init_rpi_hdrs() local
6705 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_init_rpi_hdrs()
6706 if (!rpi_hdr) { in lpfc_sli4_init_rpi_hdrs()
6734 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_create_rpi_hdr() local
6774 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()
6779 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()
6784 rpi_hdr = kzalloc(sizeof(struct lpfc_rpi_hdr), GFP_KERNEL); in lpfc_sli4_create_rpi_hdr()
6785 if (!rpi_hdr) in lpfc_sli4_create_rpi_hdr()
6788 rpi_hdr->dmabuf = dmabuf; in lpfc_sli4_create_rpi_hdr()
6789 rpi_hdr->len = LPFC_HDR_TEMPLATE_SIZE; in lpfc_sli4_create_rpi_hdr()
[all …]
Dlpfc_sli.c17791 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_alloc_rpi() local
17842 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_alloc_rpi()
17843 if (!rpi_hdr) { in lpfc_sli4_alloc_rpi()
17848 lrpi = rpi_hdr->start_rpi; in lpfc_sli4_alloc_rpi()
17849 rpi_hdr->start_rpi = phba->sli4_hba.rpi_ids[lrpi]; in lpfc_sli4_alloc_rpi()
17850 lpfc_sli4_post_rpi_hdr(phba, rpi_hdr); in lpfc_sli4_alloc_rpi()