Lines Matching refs:buf
10 char *buf = NULL; in main() local
15 len = klogctl(10, buf, len); in main()
22 buf = malloc(len); in main()
23 if (buf == NULL) in main()
32 len = klogctl(2, buf, len); in main()
55 len = klogctl(opt, buf, len); in main()
76 klogctl(8, buf, level); in main()
77 len = klogctl(2, buf, len); in main()
90 c[0] = buf[i]; in main()
93 if (content == 0 && buf[i] == '>') in main()
97 else if (content == 1 && buf[i] == ']') in main()
102 else if (content == 2 && buf[i] == ')') in main()
107 else if (content == 3 && buf[i] == '\n') in main()
114 free(buf); in main()