Home
last modified time | relevance | path

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

/kernel/kcsan/
Dkcsan_test.c55 int nlines; member
100 int nlines; in probe_console() local
109 nlines = observed.nlines; in probe_console()
119 nlines = 1; in probe_console()
120 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console()
121 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
124 if (WARN_ON(nlines != 2)) in probe_console()
128 strcpy(observed.lines[nlines++], "<none>"); in probe_console()
133 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ in probe_console()
141 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available()
[all …]