Searched refs:res_spec (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c140 struct usnic_vnic_res_spec *res_spec) usnic_vnic_res_spec_satisfied()
148 if (res_spec->resources[i].type != usnic_vnic_res_spec_satisfied()
153 res_spec->resources[i].cnt) usnic_vnic_res_spec_satisfied()
165 struct usnic_vnic_res_spec *res_spec) usnic_vnic_spec_dump()
173 res_type = res_spec->resources[i].type; usnic_vnic_spec_dump()
174 res_cnt = res_spec->resources[i].cnt; usnic_vnic_spec_dump()
185 struct usnic_vnic_res_spec *res_spec) usnic_vnic_check_room()
192 res_type = res_spec->resources[i].type; usnic_vnic_check_room()
193 res_cnt = res_spec->resources[i].cnt; usnic_vnic_check_room()
139 usnic_vnic_res_spec_satisfied(const struct usnic_vnic_res_spec *min_spec, struct usnic_vnic_res_spec *res_spec) usnic_vnic_res_spec_satisfied() argument
164 usnic_vnic_spec_dump(char *buf, int buf_sz, struct usnic_vnic_res_spec *res_spec) usnic_vnic_spec_dump() argument
184 usnic_vnic_check_room(struct usnic_vnic *vnic, struct usnic_vnic_res_spec *res_spec) usnic_vnic_check_room() argument
H A Dusnic_vnic.h81 struct usnic_vnic_res_spec *res_spec);
83 struct usnic_vnic_res_spec *res_spec);
85 struct usnic_vnic_res_spec *res_spec);
H A Dusnic_ib_qp_grp.c525 struct usnic_vnic_res_spec *res_spec, void *owner_obj) alloc_res_chunk_list()
532 res_spec->resources[res_lst_sz].type != USNIC_VNIC_RES_TYPE_EOL; alloc_res_chunk_list()
542 for (i = 0; res_spec->resources[i].type != USNIC_VNIC_RES_TYPE_EOL; alloc_res_chunk_list()
544 res_type = res_spec->resources[i].type; alloc_res_chunk_list()
545 res_cnt = res_spec->resources[i].cnt; alloc_res_chunk_list()
620 static void log_spec(struct usnic_vnic_res_spec *res_spec) log_spec() argument
623 usnic_vnic_spec_dump(buf, sizeof(buf), res_spec); log_spec()
662 struct usnic_vnic_res_spec *res_spec, usnic_ib_qp_grp_create()
673 res_spec); usnic_ib_qp_grp_create()
677 log_spec(res_spec); usnic_ib_qp_grp_create()
687 qp_grp->res_chunk_list = alloc_res_chunk_list(vf->vnic, res_spec, usnic_ib_qp_grp_create()
524 alloc_res_chunk_list(struct usnic_vnic *vnic, struct usnic_vnic_res_spec *res_spec, void *owner_obj) alloc_res_chunk_list() argument
660 usnic_ib_qp_grp_create(struct usnic_fwd_dev *ufdev, struct usnic_ib_vf *vf, struct usnic_ib_pd *pd, struct usnic_vnic_res_spec *res_spec, struct usnic_transport_spec *transport_spec) usnic_ib_qp_grp_create() argument
H A Dusnic_ib_verbs.c133 struct usnic_vnic_res_spec *res_spec) find_free_vf_and_create_qp_grp()
156 if (!usnic_vnic_check_room(vnic, res_spec)) { find_free_vf_and_create_qp_grp()
176 usnic_vnic_check_room(vnic, res_spec) == 0) { find_free_vf_and_create_qp_grp()
190 qp_grp = usnic_ib_qp_grp_create(us_ibdev->ufdev, vf, pd, res_spec, find_free_vf_and_create_qp_grp()
460 struct usnic_vnic_res_spec res_spec; usnic_ib_create_qp() local
495 res_spec = min_transport_spec[trans_spec.trans_type]; usnic_ib_create_qp()
496 usnic_vnic_res_spec_update(&res_spec, USNIC_VNIC_RES_TYPE_CQ, cq_cnt); usnic_ib_create_qp()
499 &res_spec); usnic_ib_create_qp()
130 find_free_vf_and_create_qp_grp(struct usnic_ib_dev *us_ibdev, struct usnic_ib_pd *pd, struct usnic_transport_spec *trans_spec, struct usnic_vnic_res_spec *res_spec) find_free_vf_and_create_qp_grp() argument
H A Dusnic_ib_qp_grp.h103 struct usnic_vnic_res_spec *res_spec,

Completed in 175 milliseconds