res_chunk_list 537 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c struct usnic_vnic_res_chunk **res_chunk_list; res_chunk_list 546 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c res_chunk_list = kcalloc(res_lst_sz + 1, sizeof(*res_chunk_list), res_chunk_list 548 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c if (!res_chunk_list) res_chunk_list 556 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, res_chunk_list 558 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c if (IS_ERR_OR_NULL(res_chunk_list[i])) { res_chunk_list 559 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c err = res_chunk_list[i] ? res_chunk_list 560 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c PTR_ERR(res_chunk_list[i]) : -ENOMEM; res_chunk_list 569 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c return res_chunk_list; res_chunk_list 573 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_vnic_put_resources(res_chunk_list[i]); res_chunk_list 574 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c kfree(res_chunk_list); res_chunk_list 578 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c static void free_qp_grp_res(struct usnic_vnic_res_chunk **res_chunk_list) res_chunk_list 581 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c for (i = 0; res_chunk_list[i]; i++) res_chunk_list 582 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_vnic_put_resources(res_chunk_list[i]); res_chunk_list 583 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c kfree(res_chunk_list); res_chunk_list 694 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c qp_grp->res_chunk_list = alloc_res_chunk_list(vf->vnic, res_spec, res_chunk_list 696 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c if (IS_ERR_OR_NULL(qp_grp->res_chunk_list)) { res_chunk_list 697 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c err = qp_grp->res_chunk_list ? res_chunk_list 698 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c PTR_ERR(qp_grp->res_chunk_list) : -ENOMEM; res_chunk_list 734 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c free_qp_grp_res(qp_grp->res_chunk_list); res_chunk_list 750 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c free_qp_grp_res(qp_grp->res_chunk_list); res_chunk_list 760 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c for (i = 0; qp_grp->res_chunk_list[i]; i++) { res_chunk_list 761 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c if (qp_grp->res_chunk_list[i]->type == res_type) res_chunk_list 762 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c return qp_grp->res_chunk_list[i]; res_chunk_list 57 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h struct usnic_vnic_res_chunk **res_chunk_list; res_chunk_list 242 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c for (i = 0; qp_grp->res_chunk_list[i]; i++) { res_chunk_list 243 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c res_chunk = qp_grp->res_chunk_list[i];