Searched refs:rpi_hdr (Results 1 – 2 of 2) sorted by relevance
7462 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_init_rpi_hdrs() local7470 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_init_rpi_hdrs()7471 if (!rpi_hdr) { in lpfc_sli4_init_rpi_hdrs()7499 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_create_rpi_hdr() local7539 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7544 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7549 rpi_hdr = kzalloc(sizeof(struct lpfc_rpi_hdr), GFP_KERNEL); in lpfc_sli4_create_rpi_hdr()7550 if (!rpi_hdr) in lpfc_sli4_create_rpi_hdr()7553 rpi_hdr->dmabuf = dmabuf; in lpfc_sli4_create_rpi_hdr()7554 rpi_hdr->len = LPFC_HDR_TEMPLATE_SIZE; in lpfc_sli4_create_rpi_hdr()[all …]
18670 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_alloc_rpi() local18722 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_alloc_rpi()18723 if (!rpi_hdr) { in lpfc_sli4_alloc_rpi()18728 lrpi = rpi_hdr->start_rpi; in lpfc_sli4_alloc_rpi()18729 rpi_hdr->start_rpi = phba->sli4_hba.rpi_ids[lrpi]; in lpfc_sli4_alloc_rpi()18730 lpfc_sli4_post_rpi_hdr(phba, rpi_hdr); in lpfc_sli4_alloc_rpi()