Lines Matching refs:list
24 #define ALLOC_LIST(list) \ argument
26 list = malloc(sizeof(*list)); \
27 ABORT_ON(!list); \
28 INIT_LIST_HEAD(list); \
31 static inc_group_count(struct list_head *list, in inc_group_count() argument
35 if (!list_is_last(list->next, list)) in inc_group_count()
108 parse_events_update_lists($1, &data->list);
114 struct list_head *list = $1; variable
117 parse_events_update_lists(group, list);
118 $$ = list;
123 struct list_head *list = $1; variable
126 parse_events_update_lists(event, list);
127 $$ = list;
137 struct list_head *list = $1; variable
139 ABORT_ON(parse_events__modifier_group(list, $3));
140 $$ = list;
148 struct list_head *list = $3; variable
150 inc_group_count(list, _data);
151 parse_events__set_leader($1, list);
152 $$ = list;
157 struct list_head *list = $2; variable
159 inc_group_count(list, _data);
160 parse_events__set_leader(NULL, list);
161 $$ = list;
168 struct list_head *list = $1; variable
170 parse_events_update_lists(event, list);
171 $$ = list;
181 struct list_head *list = $1; variable
188 ABORT_ON(parse_events__modifier_event(list, $2, false));
189 $$ = list;
217 struct list_head *list; variable
219 ALLOC_LIST(list);
220 ABORT_ON(parse_events_add_pmu(data, list, $1, $3));
222 $$ = list;
228 struct list_head *list; variable
230 ALLOC_LIST(list);
231 ABORT_ON(parse_events_add_pmu(data, list, $1, NULL));
232 $$ = list;
240 struct list_head *list; variable
245 list_add_tail(&term->list, head);
247 ALLOC_LIST(list);
248 ABORT_ON(parse_events_add_pmu(data, list, "cpu", head));
250 $$ = list;
258 struct list_head *list; variable
265 list_add_tail(&term->list, head);
267 ALLOC_LIST(list);
268 ABORT_ON(parse_events_add_pmu(data, list, "cpu", head));
270 $$ = list;
282 struct list_head *list; variable
286 ALLOC_LIST(list);
287 ABORT_ON(parse_events_add_numeric(data, list, type, config, $3));
289 $$ = list;
295 struct list_head *list; variable
299 ALLOC_LIST(list);
300 ABORT_ON(parse_events_add_numeric(data, list, type, config, NULL));
301 $$ = list;
308 struct list_head *list; variable
310 ALLOC_LIST(list);
311 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, $5));
312 $$ = list;
318 struct list_head *list; variable
320 ALLOC_LIST(list);
321 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, NULL));
322 $$ = list;
328 struct list_head *list; variable
330 ALLOC_LIST(list);
331 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, NULL, NULL));
332 $$ = list;
339 struct list_head *list; variable
341 ALLOC_LIST(list);
342 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
344 $$ = list;
350 struct list_head *list; variable
352 ALLOC_LIST(list);
353 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
355 $$ = list;
361 struct list_head *list; variable
363 ALLOC_LIST(list);
364 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
366 $$ = list;
372 struct list_head *list; variable
374 ALLOC_LIST(list);
375 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
377 $$ = list;
385 struct list_head *list; variable
387 ALLOC_LIST(list);
391 if (parse_events_add_tracepoint(list, &data->idx, $1.sys, $1.event,
395 $$ = list;
402 struct list_head *list; variable
404 ALLOC_LIST(list);
408 if (parse_events_add_tracepoint(list, &data->idx, $1.sys, $1.event,
412 $$ = list;
439 struct list_head *list; variable
441 ALLOC_LIST(list);
442 ABORT_ON(parse_events_add_numeric(data, list, (u32)$1, $3, NULL));
443 $$ = list;
450 struct list_head *list; variable
452 ALLOC_LIST(list);
453 ABORT_ON(parse_events_add_numeric(data, list, PERF_TYPE_RAW, $1, NULL));
454 $$ = list;
462 struct list_head *list; variable
464 ALLOC_LIST(list);
465 ABORT_ON(parse_events_load_bpf(data, list, $1, false));
466 $$ = list;
472 struct list_head *list; variable
474 ALLOC_LIST(list);
475 ABORT_ON(parse_events_load_bpf(data, list, $1, true));
476 $$ = list;
492 list_add_tail(&term->list, head);
503 list_add_tail(&term->list, head);