• Home
  • Raw
  • Download

Lines Matching full:list

31 	struct list_head *list;  in alloc_list()  local
33 list = malloc(sizeof(*list)); in alloc_list()
34 if (!list) in alloc_list()
37 INIT_LIST_HEAD(list); in alloc_list()
38 return list; in alloc_list()
52 static void inc_group_count(struct list_head *list, in inc_group_count() argument
56 if (!list_is_last(list->next, list)) in inc_group_count()
148 parse_events_update_lists($1, &parse_state->list);
154 struct list_head *list = $1; variable
158 parse_events_update_lists(group, list);
159 $$ = list;
164 struct list_head *list = $1; variable
168 parse_events_update_lists(event, list);
169 $$ = list;
179 struct list_head *list = $1; variable
182 err = parse_events__modifier_group(list, $3);
185 free_list_evsel(list);
188 $$ = list;
196 struct list_head *list = $3; variable
198 inc_group_count(list, _parse_state);
199 parse_events__set_leader($1, list, _parse_state);
201 $$ = list;
206 struct list_head *list = $2; variable
208 inc_group_count(list, _parse_state);
209 parse_events__set_leader(NULL, list, _parse_state);
210 $$ = list;
217 struct list_head *list = $1; variable
220 parse_events_update_lists(event, list);
221 $$ = list;
231 struct list_head *list = $1; variable
239 err = parse_events__modifier_event(list, $2, false);
242 free_list_evsel(list);
245 $$ = list;
280 struct list_head *list = NULL, *orig_terms = NULL, *terms= NULL; variable
287 free(list); \
299 list = alloc_list();
300 if (!list)
302 if (parse_events_add_pmu(_parse_state, list, $1, $2, false, false)) {
318 if (!parse_events_add_pmu(_parse_state, list, pmu->name, terms, true, false))
331 $$ = list;
337 struct list_head *list; variable
340 err = parse_events_multi_pmu_add(_parse_state, $1, &list);
344 $$ = list;
349 struct list_head *list; variable
355 if (parse_events_multi_pmu_add(_parse_state, pmu_name, &list) < 0)
357 $$ = list;
362 struct list_head *list; variable
365 list = alloc_list();
366 if (!list)
369 err = parse_events_add_pmu(_parse_state, list, $1, NULL, false, false);
372 free(list);
375 $$ = list;
380 struct list_head *list; variable
383 list = alloc_list();
384 if (!list)
387 err = parse_events_add_pmu(_parse_state, list, $1, $2, false, false);
391 free(list);
394 $$ = list;
405 struct list_head *list; variable
410 list = alloc_list();
411 ABORT_ON(!list);
412 err = parse_events_add_numeric(_parse_state, list, type, config, $3);
415 free_list_evsel(list);
418 $$ = list;
423 struct list_head *list; variable
427 list = alloc_list();
428 ABORT_ON(!list);
429 ABORT_ON(parse_events_add_numeric(_parse_state, list, type, config, NULL));
430 $$ = list;
435 struct list_head *list; variable
437 list = alloc_list();
438 ABORT_ON(!list);
439 ABORT_ON(parse_events_add_tool(_parse_state, list, $1));
440 $$ = list;
448 struct list_head *list; variable
451 list = alloc_list();
452 ABORT_ON(!list);
453 err = parse_events_add_cache(list, &parse_state->idx, $1, $3, $5, error, $6);
459 free_list_evsel(list);
462 $$ = list;
469 struct list_head *list; variable
472 list = alloc_list();
473 ABORT_ON(!list);
474 err = parse_events_add_cache(list, &parse_state->idx, $1, $3, NULL, error, $4);
479 free_list_evsel(list);
482 $$ = list;
489 struct list_head *list; variable
492 list = alloc_list();
493 ABORT_ON(!list);
494 err = parse_events_add_cache(list, &parse_state->idx, $1, NULL, NULL, error, $2);
498 free_list_evsel(list);
501 $$ = list;
508 struct list_head *list; variable
511 list = alloc_list();
512 ABORT_ON(!list);
513 err = parse_events_add_breakpoint(list, &parse_state->idx,
517 free(list);
520 $$ = list;
526 struct list_head *list; variable
528 list = alloc_list();
529 ABORT_ON(!list);
530 if (parse_events_add_breakpoint(list, &parse_state->idx,
532 free(list);
535 $$ = list;
541 struct list_head *list; variable
544 list = alloc_list();
545 ABORT_ON(!list);
546 err = parse_events_add_breakpoint(list, &parse_state->idx,
550 free(list);
553 $$ = list;
559 struct list_head *list; variable
561 list = alloc_list();
562 ABORT_ON(!list);
563 if (parse_events_add_breakpoint(list, &parse_state->idx,
565 free(list);
568 $$ = list;
576 struct list_head *list; variable
579 list = alloc_list();
580 ABORT_ON(!list);
584 err = parse_events_add_tracepoint(list, &parse_state->idx, $1.sys, $1.event,
591 free(list);
594 $$ = list;
619 struct list_head *list; variable
622 list = alloc_list();
623 ABORT_ON(!list);
624 err = parse_events_add_numeric(_parse_state, list, (u32)$1, $3, $4);
627 free(list);
630 $$ = list;
636 struct list_head *list; variable
639 list = alloc_list();
640 ABORT_ON(!list);
641 err = parse_events_add_numeric(_parse_state, list, PERF_TYPE_RAW, $1, $2);
644 free(list);
647 $$ = list;
654 struct list_head *list; variable
657 list = alloc_list();
658 ABORT_ON(!list);
659 err = parse_events_load_bpf(parse_state, list, $1, false, $2);
663 free(list);
666 $$ = list;
671 struct list_head *list; variable
674 list = alloc_list();
675 ABORT_ON(!list);
676 err = parse_events_load_bpf(_parse_state, list, $1, true, $2);
679 free(list);
682 $$ = list;
731 list_add_tail(&term->list, head);
742 list_add_tail(&term->list, head);