Lines Matching +defs:level +defs:list
11 * this list of conditions and the following disclaimer.
14 * notice, this list of conditions and the following disclaimer in the
47 #include "list.h"
94 struct list_head list;
102 list_for_each_entry_safe(et, next, &sys_event_tables, list) {
108 int eprintf(int level, int var, const char *fmt, ...)
114 if (var < level)
160 /* Remove trailing dots that look ugly in perf list */
390 struct list_head list;
442 list_for_each_entry_safe(es, next, &arch_std_events, list) {
444 list_del_init(&es->list);
458 list_add_tail(&es->list, &arch_std_events);
516 list_for_each_entry(es, &arch_std_events, list) {
547 EXPECT(tokens->type == JSMN_ARRAY, tokens, "expected top level array");
875 list_for_each_entry(sys_event_table, &sys_event_tables, list) {
1070 int level = ftwbuf->level;
1073 if (level == 1 && is_file && is_json_file(fpath))
1085 int level = ftwbuf->level;
1088 if (level >= 2 && is_dir) {
1091 * For level 2 directory, bname will include parent name,
1094 * Something similar for level 3 directory, but we're a PMU
1101 if (count == level - 1)
1111 level, sb->st_size, bname, fpath);
1114 if (level == 0 || level > 4)
1119 if ((level == 1 && is_dir && is_leaf_dir(fpath)) ||
1120 (level >= 2 && is_dir && is_leaf_dir(fpath))) {
1148 list_add_tail(&sys_event_table->list,
1162 if (level == 1 && is_file) {
1186 if (level > 1 && add_topic(bname))
1432 ftw.level = cur->fts_level;