Searched refs:rpi_hdr (Results 1 – 2 of 2) sorted by relevance
7481 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_init_rpi_hdrs() local7489 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_init_rpi_hdrs()7490 if (!rpi_hdr) { in lpfc_sli4_init_rpi_hdrs()7518 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_create_rpi_hdr() local7558 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7563 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7568 rpi_hdr = kzalloc(sizeof(struct lpfc_rpi_hdr), GFP_KERNEL); in lpfc_sli4_create_rpi_hdr()7569 if (!rpi_hdr) in lpfc_sli4_create_rpi_hdr()7572 rpi_hdr->dmabuf = dmabuf; in lpfc_sli4_create_rpi_hdr()7573 rpi_hdr->len = LPFC_HDR_TEMPLATE_SIZE; in lpfc_sli4_create_rpi_hdr()[all …]
18606 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_alloc_rpi() local18658 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_alloc_rpi()18659 if (!rpi_hdr) { in lpfc_sli4_alloc_rpi()18664 lrpi = rpi_hdr->start_rpi; in lpfc_sli4_alloc_rpi()18665 rpi_hdr->start_rpi = phba->sli4_hba.rpi_ids[lrpi]; in lpfc_sli4_alloc_rpi()18666 lpfc_sli4_post_rpi_hdr(phba, rpi_hdr); in lpfc_sli4_alloc_rpi()