Home
last modified time | relevance | path

Searched refs:res_chunk_list (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c536 struct usnic_vnic_res_chunk **res_chunk_list; in alloc_res_chunk_list() local
545 res_chunk_list = kcalloc(res_lst_sz + 1, sizeof(*res_chunk_list), in alloc_res_chunk_list()
547 if (!res_chunk_list) in alloc_res_chunk_list()
555 res_chunk_list[i] = usnic_vnic_get_resources(vnic, res_type, in alloc_res_chunk_list()
557 if (IS_ERR_OR_NULL(res_chunk_list[i])) { in alloc_res_chunk_list()
558 err = res_chunk_list[i] ? in alloc_res_chunk_list()
559 PTR_ERR(res_chunk_list[i]) : -ENOMEM; in alloc_res_chunk_list()
568 return res_chunk_list; in alloc_res_chunk_list()
572 usnic_vnic_put_resources(res_chunk_list[i]); in alloc_res_chunk_list()
573 kfree(res_chunk_list); in alloc_res_chunk_list()
[all …]
H A Dusnic_ib_sysfs.c222 for (i = 0; qp_grp->res_chunk_list[i]; i++) { in summary_show()
223 res_chunk = qp_grp->res_chunk_list[i]; in summary_show()
H A Dusnic_ib_qp_grp.h57 struct usnic_vnic_res_chunk **res_chunk_list; member