Lines Matching refs:lines
48 char lines[3][512]; member
110 strscpy(observed.lines[0], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
113 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
120 strcpy(observed.lines[nlines++], "<none>"); in probe_console()
133 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available()
154 typeof(*observed.lines) *expect; in report_matches()
163 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in report_matches()
242 ret = strstr(observed.lines[0], expect[0]) && in report_matches()
244 ((strstr(observed.lines[1], expect[1]) && in report_matches()
245 strstr(observed.lines[2], expect[2])) || in report_matches()
246 (strstr(observed.lines[1], expect[2]) && in report_matches()
247 strstr(observed.lines[2], expect[1]))); in report_matches()
1123 for (i = 0; i < ARRAY_SIZE(observed.lines); ++i) in test_init()
1124 observed.lines[i][0] = '\0'; in test_init()