Searched refs:res_spec (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 155 struct usnic_vnic_res_spec *res_spec) in usnic_vnic_res_spec_satisfied() argument 163 if (res_spec->resources[i].type != in usnic_vnic_res_spec_satisfied() 168 res_spec->resources[i].cnt) in usnic_vnic_res_spec_satisfied() 180 struct usnic_vnic_res_spec *res_spec) in usnic_vnic_spec_dump() argument 188 res_type = res_spec->resources[i].type; in usnic_vnic_spec_dump() 189 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump() 200 struct usnic_vnic_res_spec *res_spec) in usnic_vnic_check_room() argument 207 res_type = res_spec->resources[i].type; in usnic_vnic_check_room() 208 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
|
D | usnic_ib_qp_grp.c | 534 struct usnic_vnic_res_spec *res_spec, void *owner_obj) in alloc_res_chunk_list() argument 541 res_spec->resources[res_lst_sz].type != USNIC_VNIC_RES_TYPE_EOL; in alloc_res_chunk_list() 551 for (i = 0; res_spec->resources[i].type != USNIC_VNIC_RES_TYPE_EOL; in alloc_res_chunk_list() 553 res_type = res_spec->resources[i].type; in alloc_res_chunk_list() 554 res_cnt = res_spec->resources[i].cnt; in alloc_res_chunk_list() 629 static void log_spec(struct usnic_vnic_res_spec *res_spec) in log_spec() argument 632 usnic_vnic_spec_dump(buf, sizeof(buf), res_spec); in log_spec() 671 struct usnic_vnic_res_spec *res_spec, in usnic_ib_qp_grp_create() argument 682 res_spec); in usnic_ib_qp_grp_create() 686 log_spec(res_spec); in usnic_ib_qp_grp_create() [all …]
|
D | usnic_vnic.h | 96 struct usnic_vnic_res_spec *res_spec); 98 struct usnic_vnic_res_spec *res_spec); 100 struct usnic_vnic_res_spec *res_spec);
|
D | usnic_ib_verbs.c | 175 struct usnic_vnic_res_spec *res_spec) in find_free_vf_and_create_qp_grp() argument 200 if (!usnic_vnic_check_room(vnic, res_spec)) { in find_free_vf_and_create_qp_grp() 207 res_spec, in find_free_vf_and_create_qp_grp() 224 usnic_vnic_check_room(vnic, res_spec) == 0) { in find_free_vf_and_create_qp_grp() 226 pd, res_spec, in find_free_vf_and_create_qp_grp() 468 struct usnic_vnic_res_spec res_spec; in usnic_ib_create_qp() local 502 res_spec = min_transport_spec[trans_spec.trans_type]; in usnic_ib_create_qp() 503 usnic_vnic_res_spec_update(&res_spec, USNIC_VNIC_RES_TYPE_CQ, cq_cnt); in usnic_ib_create_qp() 506 &res_spec); in usnic_ib_create_qp()
|
D | usnic_ib_qp_grp.h | 95 struct usnic_vnic_res_spec *res_spec,
|