Lines Matching refs:recv_ctx
161 qlcnic_alloc_sds_rings(struct qlcnic_recv_context *recv_ctx, int count)
165 recv_ctx->sds_rings = kzalloc(size, GFP_KERNEL);
167 return (recv_ctx->sds_rings == NULL);
171 qlcnic_free_sds_rings(struct qlcnic_recv_context *recv_ctx)
173 if (recv_ctx->sds_rings != NULL)
174 kfree(recv_ctx->sds_rings);
176 recv_ctx->sds_rings = NULL;
184 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
186 if (qlcnic_alloc_sds_rings(recv_ctx, adapter->max_sds_rings))
190 sds_ring = &recv_ctx->sds_rings[ring];
208 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
211 sds_ring = &recv_ctx->sds_rings[ring];
215 qlcnic_free_sds_rings(&adapter->recv_ctx);
223 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
229 sds_ring = &recv_ctx->sds_rings[ring];
240 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
246 sds_ring = &recv_ctx->sds_rings[ring];
912 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
932 sds_ring = &recv_ctx->sds_rings[ring];
949 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
952 sds_ring = &recv_ctx->sds_rings[ring];
987 rds_ring = &adapter->recv_ctx.rds_rings[ring];
1141 sds_ring = &adapter->recv_ctx.sds_rings[ring];
1194 rds_ring = &adapter->recv_ctx.rds_rings[ring];
1200 sds_ring = &adapter->recv_ctx.sds_rings[ring];
2194 struct qlcnic_recv_context *recv_ctx = &adapter->recv_ctx;
2198 sds_ring = &recv_ctx->sds_rings[ring];