Lines Matching refs:pwrb_arr
3354 struct mem_array *pwrb_arr; in beiscsi_create_wrb_rings() local
3366 pwrb_arr = kmalloc_array(phba->params.cxns_per_ctrl, in beiscsi_create_wrb_rings()
3367 sizeof(*pwrb_arr), in beiscsi_create_wrb_rings()
3369 if (!pwrb_arr) { in beiscsi_create_wrb_rings()
3381 pwrb_arr[num].virtual_address = wrb_vaddr; in beiscsi_create_wrb_rings()
3382 pwrb_arr[num].bus_address.u.a64.address = pa_addr_lo; in beiscsi_create_wrb_rings()
3383 pwrb_arr[num].size = phba->params.wrbs_per_cxn * in beiscsi_create_wrb_rings()
3385 wrb_vaddr += pwrb_arr[num].size; in beiscsi_create_wrb_rings()
3386 pa_addr_lo += pwrb_arr[num].size; in beiscsi_create_wrb_rings()
3396 pwrb_arr[num].virtual_address = wrb_vaddr; in beiscsi_create_wrb_rings()
3397 pwrb_arr[num].bus_address.u.a64.address = pa_addr_lo; in beiscsi_create_wrb_rings()
3398 pwrb_arr[num].size = phba->params.wrbs_per_cxn * in beiscsi_create_wrb_rings()
3400 wrb_vaddr += pwrb_arr[num].size; in beiscsi_create_wrb_rings()
3401 pa_addr_lo += pwrb_arr[num].size; in beiscsi_create_wrb_rings()
3427 hwi_build_be_sgl_by_offset(phba, &pwrb_arr[i], &sgl); in beiscsi_create_wrb_rings()
3435 kfree(pwrb_arr); in beiscsi_create_wrb_rings()
3441 kfree(pwrb_arr); in beiscsi_create_wrb_rings()