Lines Matching refs:list

11 #include <linux/list.h>
25 #define ALLOC_LIST(list) \
27 list = malloc(sizeof(*list)); \
28 ABORT_ON(!list); \
29 INIT_LIST_HEAD(list); \
32 static inc_group_count(struct list_head *list,
36 if (!list_is_last(list->next, list))
98 parse_events_update_lists($1, &data->list);
104 struct list_head *list = $1;
107 parse_events_update_lists(group, list);
108 $$ = list;
113 struct list_head *list = $1;
116 parse_events_update_lists(event, list);
117 $$ = list;
127 struct list_head *list = $1;
129 ABORT_ON(parse_events__modifier_group(list, $3));
130 $$ = list;
138 struct list_head *list = $3;
140 inc_group_count(list, _data);
141 parse_events__set_leader($1, list);
142 $$ = list;
147 struct list_head *list = $2;
149 inc_group_count(list, _data);
150 parse_events__set_leader(NULL, list);
151 $$ = list;
158 struct list_head *list = $1;
160 parse_events_update_lists(event, list);
161 $$ = list;
171 struct list_head *list = $1;
178 ABORT_ON(parse_events__modifier_event(list, $2, false));
179 $$ = list;
206 struct list_head *list;
208 ALLOC_LIST(list);
209 ABORT_ON(parse_events_add_pmu(list, &data->idx, $1, $3));
211 $$ = list;
223 struct list_head *list;
227 ALLOC_LIST(list);
228 ABORT_ON(parse_events_add_numeric(list, &data->idx,
231 $$ = list;
237 struct list_head *list;
241 ALLOC_LIST(list);
242 ABORT_ON(parse_events_add_numeric(list, &data->idx,
244 $$ = list;
251 struct list_head *list;
253 ALLOC_LIST(list);
254 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, $5));
255 $$ = list;
261 struct list_head *list;
263 ALLOC_LIST(list);
264 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, $3, NULL));
265 $$ = list;
271 struct list_head *list;
273 ALLOC_LIST(list);
274 ABORT_ON(parse_events_add_cache(list, &data->idx, $1, NULL, NULL));
275 $$ = list;
282 struct list_head *list;
284 ALLOC_LIST(list);
285 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
287 $$ = list;
293 struct list_head *list;
295 ALLOC_LIST(list);
296 ABORT_ON(parse_events_add_breakpoint(list, &data->idx,
298 $$ = list;
305 struct list_head *list;
307 ALLOC_LIST(list);
308 ABORT_ON(parse_events_add_tracepoint(list, &data->idx, $1, $3));
309 $$ = list;
316 struct list_head *list;
318 ALLOC_LIST(list);
319 ABORT_ON(parse_events_add_numeric(list, &data->idx, (u32)$1, $3, NULL));
320 $$ = list;
327 struct list_head *list;
329 ALLOC_LIST(list);
330 ABORT_ON(parse_events_add_numeric(list, &data->idx,
332 $$ = list;
348 list_add_tail(&term->list, head);
359 list_add_tail(&term->list, head);