Searched refs:rpi_hdr (Results 1 – 2 of 2) sorted by relevance
7308 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_init_rpi_hdrs() local7316 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_init_rpi_hdrs()7317 if (!rpi_hdr) { in lpfc_sli4_init_rpi_hdrs()7345 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_create_rpi_hdr() local7385 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7390 rpi_hdr = NULL; in lpfc_sli4_create_rpi_hdr()7395 rpi_hdr = kzalloc(sizeof(struct lpfc_rpi_hdr), GFP_KERNEL); in lpfc_sli4_create_rpi_hdr()7396 if (!rpi_hdr) in lpfc_sli4_create_rpi_hdr()7399 rpi_hdr->dmabuf = dmabuf; in lpfc_sli4_create_rpi_hdr()7400 rpi_hdr->len = LPFC_HDR_TEMPLATE_SIZE; in lpfc_sli4_create_rpi_hdr()[all …]
18108 struct lpfc_rpi_hdr *rpi_hdr; in lpfc_sli4_alloc_rpi() local18159 rpi_hdr = lpfc_sli4_create_rpi_hdr(phba); in lpfc_sli4_alloc_rpi()18160 if (!rpi_hdr) { in lpfc_sli4_alloc_rpi()18165 lrpi = rpi_hdr->start_rpi; in lpfc_sli4_alloc_rpi()18166 rpi_hdr->start_rpi = phba->sli4_hba.rpi_ids[lrpi]; in lpfc_sli4_alloc_rpi()18167 lpfc_sli4_post_rpi_hdr(phba, rpi_hdr); in lpfc_sli4_alloc_rpi()