Searched refs:res_spec (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/infiniband/hw/usnic/ |
A 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()
|
A 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 681 res_spec); in usnic_ib_qp_grp_create() 685 log_spec(res_spec); in usnic_ib_qp_grp_create() [all …]
|
A 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);
|
A D | usnic_ib_verbs.c | 174 struct usnic_vnic_res_spec *res_spec) in find_free_vf_and_create_qp_grp() argument 201 if (!usnic_vnic_check_room(vnic, res_spec)) { in find_free_vf_and_create_qp_grp() 208 vf, pd, res_spec, in find_free_vf_and_create_qp_grp() 226 usnic_vnic_check_room(vnic, res_spec) == 0) { in find_free_vf_and_create_qp_grp() 228 vf, pd, res_spec, in find_free_vf_and_create_qp_grp() 470 struct usnic_vnic_res_spec res_spec; in usnic_ib_create_qp() local 504 res_spec = min_transport_spec[trans_spec.trans_type]; in usnic_ib_create_qp() 505 usnic_vnic_res_spec_update(&res_spec, USNIC_VNIC_RES_TYPE_CQ, cq_cnt); in usnic_ib_create_qp() 506 err = find_free_vf_and_create_qp_grp(ibqp, &trans_spec, &res_spec); in usnic_ib_create_qp()
|
A D | usnic_ib_qp_grp.h | 95 struct usnic_vnic_res_spec *res_spec,
|
Completed in 9 milliseconds