Searched refs:nr_so_targets (Results 1 – 1 of 1) sorted by relevance
91 unsigned nr_so_targets; member393 …memset(&ctx->nr_so_targets, 0, offsetof(struct cso_context, cache) - offsetof(struct cso_context, … in cso_unbind_context()1360 if (ctx->nr_so_targets == 0 && num_targets == 0) { in cso_set_stream_outputs()1370 for (; i < ctx->nr_so_targets; i++) { in cso_set_stream_outputs()1376 ctx->nr_so_targets = num_targets; in cso_set_stream_outputs()1388 ctx->nr_so_targets_saved = ctx->nr_so_targets; in cso_save_stream_outputs()1390 for (i = 0; i < ctx->nr_so_targets; i++) { in cso_save_stream_outputs()1407 if (ctx->nr_so_targets == 0 && ctx->nr_so_targets_saved == 0) { in cso_restore_stream_outputs()1421 for (; i < ctx->nr_so_targets; i++) { in cso_restore_stream_outputs()1428 ctx->nr_so_targets = ctx->nr_so_targets_saved; in cso_restore_stream_outputs()