Lines Matching refs:ctx_tbl

272 		if (cp->ctx_tbl[i].cid == cid) {  in cnic_get_l5_cid()
844 kfree(cp->ctx_tbl); in cnic_free_resc()
845 cp->ctx_tbl = NULL; in cnic_free_resc()
1165 cp->ctx_tbl = kzalloc(sizeof(struct cnic_context) * in cnic_alloc_bnx2x_resc()
1167 if (!cp->ctx_tbl) in cnic_alloc_bnx2x_resc()
1171 cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i]; in cnic_alloc_bnx2x_resc()
1172 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_ISCSI; in cnic_alloc_bnx2x_resc()
1176 cp->ctx_tbl[i].ulp_proto_id = CNIC_ULP_FCOE; in cnic_alloc_bnx2x_resc()
1189 cp->ctx_tbl[i].kwqe_data = kwq_16_dma->pg_arr[j] + off; in cnic_alloc_bnx2x_resc()
1190 cp->ctx_tbl[i].kwqe_data_mapping = kwq_16_dma->pg_map_arr[j] + in cnic_alloc_bnx2x_resc()
1285 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_get_kwqe_16_data()
1469 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_free_bnx2x_conn_resc()
1490 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_alloc_bnx2x_conn_resc()
1572 struct cnic_context *ctx = &cp->ctx_tbl[req1->iscsi_conn_id]; in cnic_setup_bnx2x_ctx()
1771 ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_iscsi_ofld1()
1796 kcqe.iscsi_conn_context_id = BNX2X_HW_CID(cp, cp->ctx_tbl[l5_cid].cid); in cnic_bnx2x_iscsi_ofld1()
1832 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_destroy_ramrod()
1857 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_iscsi_destroy()
2013 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_connect()
2257 ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_fcoe_ofld1()
2395 ctx = &cp->ctx_tbl[l5_cid]; in cnic_bnx2x_fcoe_destroy()
3048 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_ctl()
3324 if (cp->ctx_tbl) { in cnic_cm_create()
3325 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_cm_create()
3694 struct cnic_context *ctx = &cp->ctx_tbl[l5_cid]; in cnic_process_fcoe_term_conn()
3861 struct cnic_context *ctx = &cp->ctx_tbl[csk->l5_cid]; in cnic_close_bnx2x_conn()
3901 if (!cp->ctx_tbl) in cnic_cm_stop_bnx2x_hw()
3908 struct cnic_context *ctx = &cp->ctx_tbl[i]; in cnic_cm_stop_bnx2x_hw()
3969 struct cnic_context *ctx = &cp->ctx_tbl[i]; in cnic_delete_task()