Lines Matching refs:result
97 struct fd_batch_result *result = r;
100 list_del(&result->node);
106 struct fd_batch_result *result = rzalloc_size(history, sizeof(*result));
108 result->fence =
110 result->idx = at->idx_counter++;
112 if (at->idx_counter >= ARRAY_SIZE(at->results->result))
115 result->history = history;
116 list_addtail(&result->node, &at->pending_results);
118 ralloc_set_destructor(result, result_destructor);
120 return result;
128 list_for_each_entry_safe (struct fd_batch_result, result,
130 if (result->fence > current_fence)
133 struct fd_batch_history *history = result->history;
135 result->samples_passed = at->results->result[result->idx].samples_end -
136 at->results->result[result->idx].samples_start;
138 list_delinit(&result->node);
139 list_add(&result->node, &history->results);
216 list_for_each_entry (struct fd_batch_result, result, &history->results,
218 total_samples += result->samples_passed;