Lines Matching refs:lines
56 char lines[3][512]; member
118 strscpy(observed.lines[0], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
121 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
128 strcpy(observed.lines[nlines++], "<none>"); in probe_console()
141 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available()
162 typeof(*observed.lines) *expect; in __report_matches()
171 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in __report_matches()
252 ret = strstr(observed.lines[0], expect[0]) && in __report_matches()
254 ((strstr(observed.lines[1], expect[1]) && in __report_matches()
255 strstr(observed.lines[2], expect[2])) || in __report_matches()
256 (strstr(observed.lines[1], expect[2]) && in __report_matches()
257 strstr(observed.lines[2], expect[1]))); in __report_matches()
1504 for (i = 0; i < ARRAY_SIZE(observed.lines); ++i) in test_init()
1505 observed.lines[i][0] = '\0'; in test_init()