Searched refs:res_chunk (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c97 struct usnic_vnic_res_chunk *res_chunk; enable_qp_grp() local
104 res_chunk = get_qp_res_chunk(qp_grp); enable_qp_grp()
105 if (IS_ERR_OR_NULL(res_chunk)) { enable_qp_grp()
107 PTR_ERR(res_chunk)); enable_qp_grp()
108 return res_chunk ? PTR_ERR(res_chunk) : -ENOMEM; enable_qp_grp()
111 for (i = 0; i < res_chunk->cnt; i++) { enable_qp_grp()
112 res = res_chunk->res[i]; enable_qp_grp()
127 res = res_chunk->res[i]; enable_qp_grp()
138 struct usnic_vnic_res_chunk *res_chunk; disable_qp_grp() local
145 res_chunk = get_qp_res_chunk(qp_grp); disable_qp_grp()
146 if (IS_ERR_OR_NULL(res_chunk)) { disable_qp_grp()
148 PTR_ERR(res_chunk)); disable_qp_grp()
149 return res_chunk ? PTR_ERR(res_chunk) : -ENOMEM; disable_qp_grp()
152 for (i = 0; i < res_chunk->cnt; i++) { disable_qp_grp()
153 res = res_chunk->res[i]; disable_qp_grp()
171 struct usnic_vnic_res_chunk *res_chunk; init_filter_action() local
173 res_chunk = usnic_ib_qp_grp_get_chunk(qp_grp, USNIC_VNIC_RES_TYPE_RQ); init_filter_action()
174 if (IS_ERR_OR_NULL(res_chunk)) { init_filter_action()
177 PTR_ERR(res_chunk)); init_filter_action()
178 return res_chunk ? PTR_ERR(res_chunk) : -ENOMEM; init_filter_action()
183 uaction->action.u.rq_idx = res_chunk->res[DFLT_RQ_IDX]->vnic_idx; init_filter_action()
H A Dusnic_ib_sysfs.c235 struct usnic_vnic_res_chunk *res_chunk; summary_show() local
250 res_chunk = qp_grp->res_chunk_list[i]; summary_show()
251 for (j = 0; j < res_chunk->cnt; j++) { summary_show()
252 vnic_res = res_chunk->res[j]; summary_show()

Completed in 92 milliseconds