Searched refs:find_msg (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 89 static int find_msg(int fd, const char *text_to_find, char *buf, int bufsize, in find_msg() function 318 if (find_msg(-1, imsg, tmp, sizeof(tmp), 0) == -1) { in test_inject() 363 if (find_msg(-1, "", msg, sizeof(msg), 1) != 0) in test_read_returns_first_message() 415 if (find_msg(-1, "", msg, sizeof(msg), 1) == 0 in test_messages_overwritten() 423 if (find_msg(-1, "", msg, sizeof(msg), 1) != 0 in test_messages_overwritten() 449 if (find_msg(fd, "", msg, sizeof(msg), 1) != 0) in test_messages_overwritten() 542 if (find_msg(fd, MSG_PREFIX, msg, sizeof(msg), 0) != 0) in test_seek() 556 if (find_msg(fd, MSG_PREFIX, msg, sizeof(msg), 0) != 0) in test_seek()
|