/lib/ |
A D | bug.c | 127 unsigned int *line) in bug_get_file_line() argument 135 *line = bug->line; in bug_get_file_line() 138 *line = 0; in bug_get_file_line() 157 unsigned line, warning, once, done; in __report_bug() local 168 bug_get_file_line(bug, &file, &line); in __report_bug() 195 __warn(file, line, (void *)bugaddr, BUG_GET_TAINT(bug), regs, in __report_bug() 201 pr_crit("kernel BUG at %s:%u!\n", file, line); in __report_bug()
|
A D | test_bitmap.c | 63 __check_eq_ulong(const char *srcfile, unsigned int line, in __check_eq_ulong() argument 68 srcfile, line, exp_ulong, x); in __check_eq_ulong() 75 __check_eq_bitmap(const char *srcfile, unsigned int line, in __check_eq_bitmap() argument 81 srcfile, line, in __check_eq_bitmap() 89 __check_eq_pbl(const char *srcfile, unsigned int line, in __check_eq_pbl() argument 96 srcfile, line, in __check_eq_pbl() 113 srcfile, line, size, offset); in __check_eq_clump8() 120 srcfile, line, offset); in __check_eq_clump8() 126 srcfile, line, exp, *clump); in __check_eq_clump8() 134 __check_eq_str(const char *srcfile, unsigned int line, in __check_eq_str() argument [all …]
|
A D | ubsan.h | 54 u32 line; member
|
A D | Kconfig.kgdb | 119 setting with kdb.cmd_enable=X kernel command line option will 154 Otherwise, if "kgdbwait" is passed on the kernel command line it
|
A D | Kconfig.debug | 18 The behavior is also controlled by the kernel command line 96 specified in milliseconds on the kernel command line, 136 format for each line of the file is: 141 lineno : line number of the debug statement 144 flags : '=p' means the line is turned 'on' for printing 157 // enable the message at line 1603 of file svcsock.c 158 nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > 681 It can be overridden with kernel command line option 920 on the mminit_loglevel= command-line option. 1062 line. [all …]
|
A D | ubsan.c | 226 loc->line & LINE_MASK, loc->column & COLUMN_MASK); in ubsan_prologue()
|
A D | Kconfig.ubsan | 121 # This is very experimental so drop the next line if you really want it
|
A D | Kconfig.kcsan | 98 due to reducing cache-line contention. The chosen default is a
|
/lib/kunit/ |
A D | string-stream-test.c | 167 char line[60]; in string_stream_line_add_test() local 178 len = snprintf(line, sizeof(line), in string_stream_line_add_test() 182 KUNIT_ASSERT_LT(test, len, sizeof(line)); in string_stream_line_add_test() 184 string_stream_add(stream, line); in string_stream_line_add_test() 205 snprintf(line, sizeof(line), in string_stream_line_add_test() 207 KUNIT_EXPECT_STREQ(test, pos, line); in string_stream_line_add_test() 219 static const char line[] = in string_stream_variable_length_line_test() local 239 offset = prandom_u32_state(&rnd) % (sizeof(line) - 1); in string_stream_variable_length_line_test() 240 string_stream_add(stream, "%s\n", &line[offset]); in string_stream_variable_length_line_test() 241 total_len += sizeof(line) - offset; in string_stream_variable_length_line_test() [all …]
|
A D | hooks-impl.h | 19 int line,
|
A D | try-catch.c | 81 test->last_seen.file, test->last_seen.line); in kunit_try_catch_run()
|
A D | Kconfig | 79 kernel command line. 90 passed to the kernel command line. The test can still be run manually
|
A D | test.c | 33 void __printf(3, 4) __kunit_fail_current_test_impl(const char *file, int line, const char *fmt, ...) in __kunit_fail_current_test_impl() argument 57 kunit_err(current->kunit_test, "%s:%d: %s", file, line, buffer); in __kunit_fail_current_test_impl() 294 loc->line); in kunit_fail()
|
A D | assert.c | 30 expect_or_assert, loc->file, loc->line); in kunit_assert_prologue()
|
A D | assert_test.c | 57 .line = 1337, in kunit_test_assert_prologue()
|
/lib/tests/ |
A D | printf_kunit.c | 58 file, line, bufsize, fmt, ret, elen); in do_test() 65 file, line, bufsize, fmt); in do_test() 73 file, line, fmt); in do_test() 82 file, line, bufsize, fmt); in do_test() 89 file, line, bufsize, fmt); in do_test() 96 file, line, bufsize, fmt); in do_test() 103 file, line, bufsize, fmt, test_buffer, written, expect); in do_test() 119 file, line, elen, BUF_SIZE, fmt); in __test() 134 do_test(kunittest, file, line, rand, expect, elen, fmt, ap); in __test() 135 do_test(kunittest, file, line, 0, expect, elen, fmt, ap); in __test() [all …]
|
A D | scanf_kunit.c | 21 typedef void (*check_fn)(struct kunit *test, const char *file, const int line, 26 _test(struct kunit *test, const char *file, const int line, check_fn fn, const void *check_data, in _test() argument 39 file, line, string, fmt, ret, n_args); in _test() 41 (*fn)(test, file, line, check_data, string, fmt, n_args, ap); in _test() 54 file, line, str, fmt, *expect, got); \ 60 static void check_ull(struct kunit *test, const char *file, const int line, const void *check_data, in check_ull() argument 68 static void check_ll(struct kunit *test, const char *file, const int line, const void *check_data, in check_ll() argument 76 static void check_ulong(struct kunit *test, const char *file, const int line, in check_ulong() argument 109 static void check_ushort(struct kunit *test, const char *file, const int line, in check_ushort() argument 118 static void check_short(struct kunit *test, const char *file, const int line, in check_short() argument [all …]
|