Lines Matching refs:epcp
200 struct c4iw_ep_common *epcp; in c4iw_fill_res_cm_id_entry() local
209 epcp = (struct c4iw_ep_common *)iw_cm_id->provider_data; in c4iw_fill_res_cm_id_entry()
210 if (!epcp) in c4iw_fill_res_cm_id_entry()
221 mutex_lock(&epcp->mutex); in c4iw_fill_res_cm_id_entry()
222 if (epcp->state == LISTEN) { in c4iw_fill_res_cm_id_entry()
223 uep->lep = *(struct c4iw_listen_ep *)epcp; in c4iw_fill_res_cm_id_entry()
224 mutex_unlock(&epcp->mutex); in c4iw_fill_res_cm_id_entry()
226 epcp = &listen_ep->com; in c4iw_fill_res_cm_id_entry()
228 uep->ep = *(struct c4iw_ep *)epcp; in c4iw_fill_res_cm_id_entry()
229 mutex_unlock(&epcp->mutex); in c4iw_fill_res_cm_id_entry()
231 epcp = &ep->com; in c4iw_fill_res_cm_id_entry()
234 if (rdma_nl_put_driver_u32(msg, "state", epcp->state)) in c4iw_fill_res_cm_id_entry()
236 if (rdma_nl_put_driver_u64_hex(msg, "flags", epcp->flags)) in c4iw_fill_res_cm_id_entry()
238 if (rdma_nl_put_driver_u64_hex(msg, "history", epcp->history)) in c4iw_fill_res_cm_id_entry()