Lines Matching refs:list
25 #define ALLOC_LIST(list) \ argument
27 list = malloc(sizeof(*list)); \
28 ABORT_ON(!list); \
29 INIT_LIST_HEAD(list); \
32 static inc_group_count(struct list_head *list, in inc_group_count() argument
36 if (!list_is_last(list->next, list)) in inc_group_count()
100 parse_events_update_lists($1, &data->list);
106 struct list_head *list = $1; variable
109 parse_events_update_lists(group, list);
110 $$ = list;
115 struct list_head *list = $1; variable
118 parse_events_update_lists(event, list);
119 $$ = list;
129 struct list_head *list = $1; variable
131 ABORT_ON(parse_events__modifier_group(list, $3));
132 $$ = list;
140 struct list_head *list = $3; variable
142 inc_group_count(list, _data);
143 parse_events__set_leader($1, list);
144 $$ = list;
149 struct list_head *list = $2; variable
151 inc_group_count(list, _data);
152 parse_events__set_leader(NULL, list);
153 $$ = list;
160 struct list_head *list = $1; variable
162 parse_events_update_lists(event, list);
163 $$ = list;
173 struct list_head *list = $1; variable
180 ABORT_ON(parse_events__modifier_event(list, $2, false));
181 $$ = list;
208 struct list_head *list; variable
210 ALLOC_LIST(list);
211 ABORT_ON(parse_events_add_pmu(list, &data->idx, $1, $3));
213 $$ = list;
219 struct list_head *list; variable
221 ALLOC_LIST(list);
222 ABORT_ON(parse_events_add_pmu(list, &data->idx, $1, NULL));
223 $$ = list;
231 struct list_head *list; variable
236 list_add_tail(&term->list, head);
238 ALLOC_LIST(list);
239 ABORT_ON(parse_events_add_pmu(list, &data->idx, "cpu", head));
241 $$ = list;
249 struct list_head *list; variable
256 list_add_tail(&term->list, head);
258 ALLOC_LIST(list);
259 ABORT_ON(parse_events_add_pmu(list, &data->idx, "cpu", head));
261 $$ = list;
273 struct list_head *list; variable
277 ALLOC_LIST(list);
278 ABORT_ON(parse_events_add_numeric(list, &data->idx,
281 $$ = list;
287 struct list_head *list; variable
291 ALLOC_LIST(list);
292 ABORT_ON(parse_events_add_numeric(list, &data->idx,
294 $$ = list;
301 struct list_head *list; variable
303 ALLOC_LIST(list);
304 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, $5));
305 $$ = list;
311 struct list_head *list; variable
313 ALLOC_LIST(list);
314 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, NULL));
315 $$ = list;
321 struct list_head *list; variable
323 ALLOC_LIST(list);
324 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, NULL, NULL));
325 $$ = list;
332 struct list_head *list; variable
334 ALLOC_LIST(list);
335 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
337 $$ = list;
343 struct list_head *list; variable
345 ALLOC_LIST(list);
346 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
348 $$ = list;
354 struct list_head *list; variable
356 ALLOC_LIST(list);
357 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
359 $$ = list;
365 struct list_head *list; variable
367 ALLOC_LIST(list);
368 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
370 $$ = list;
377 struct list_head *list; variable
381 ALLOC_LIST(list);
382 ABORT_ON(parse_events_add_tracepoint(list, &data->idx, &sys_name, $5));
383 $$ = list;
389 struct list_head *list; variable
391 ALLOC_LIST(list);
392 ABORT_ON(parse_events_add_tracepoint(list, &data->idx, $1, $3));
393 $$ = list;
400 struct list_head *list; variable
402 ALLOC_LIST(list);
403 ABORT_ON(parse_events_add_numeric(list, &data->idx, (u32)$1, $3, NULL));
404 $$ = list;
411 struct list_head *list; variable
413 ALLOC_LIST(list);
414 ABORT_ON(parse_events_add_numeric(list, &data->idx,
416 $$ = list;
432 list_add_tail(&term->list, head);
443 list_add_tail(&term->list, head);