Home
last modified time | relevance | path

Searched refs:filt (Results 1 – 4 of 4) sorted by relevance

/u-boot/test/log/
A Dlog_filter.c37 struct log_filter *filt; in log_test_filter() local
55 if (filt->filter_num == filt1) { in log_test_filter()
57 ut_asserteq(0, filt->flags); in log_test_filter()
58 ut_asserteq(LOGL_MAX, filt->level); in log_test_filter()
59 ut_assertnull(filt->file_list); in log_test_filter()
60 } else if (filt->filter_num == filt2) { in log_test_filter()
63 LOGFF_LEVEL_MIN, filt->flags); in log_test_filter()
68 ut_asserteq(LOGL_WARNING, filt->level); in log_test_filter()
69 ut_asserteq_str("file", filt->file_list); in log_test_filter()
88 if (filt->filter_num == filt1) in log_test_filter()
[all …]
A Dlog_test.c108 int filt; in log_test_cat_allow() local
111 ut_assert(filt >= 0); in log_test_cat_allow()
132 int filt; in log_test_cat_deny_implicit() local
135 ut_assert(filt >= 0); in log_test_cat_deny_implicit()
149 int filt; in log_test_file() local
152 ut_assert(filt >= 0); in log_test_file()
170 int filt; in log_test_file_second() local
173 ut_assert(filt >= 0); in log_test_file_second()
187 int filt; in log_test_file_mid() local
191 ut_assert(filt >= 0); in log_test_file_mid()
[all …]
/u-boot/common/
A Dlog.c154 struct log_filter *filt; in log_passes_filters() local
178 if (filt->file_list && in log_passes_filters()
283 struct log_filter *filt; in log_add_filter_flags() local
291 filt = calloc(1, sizeof(*filt)); in log_add_filter_flags()
292 if (!filt) in log_add_filter_flags()
295 filt->flags = flags; in log_add_filter_flags()
308 filt->level = level; in log_add_filter_flags()
311 if (!filt->file_list) { in log_add_filter_flags()
323 return filt->filter_num; in log_add_filter_flags()
326 free(filt); in log_add_filter_flags()
[all …]
/u-boot/cmd/
A Dlog.c96 struct log_filter *filt; in do_log_filter_list() local
125 log_get_level_name(filt->level)); in do_log_filter_list()
127 if (filt->flags & LOGFF_HAS_CAT) { in do_log_filter_list()
130 if (filt->cat_list[0] != LOGC_END) in do_log_filter_list()
132 log_get_cat_name(filt->cat_list[0]), in do_log_filter_list()
133 filt->file_list ? filt->file_list : ""); in do_log_filter_list()
136 filt->cat_list[i] != LOGC_END; i++) in do_log_filter_list()
141 filt->file_list ? filt->file_list : ""); in do_log_filter_list()
268 struct log_filter *filt, *tmp_filt; in do_log_filter_remove() local
283 list_del(&filt->sibling_node); in do_log_filter_remove()
[all …]

Completed in 5 milliseconds