Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/logging/kmsg/
Dkmsg01.c50 #define MAX_MSGSIZE 4096 macro
93 char msg[MAX_MSGSIZE + 1]; in find_msg()
102 TEST(read(f, msg, MAX_MSGSIZE)); in find_msg()
196 char msg[MAX_MSGSIZE]; in timed_read_kmsg()
212 TEST(read(fd, msg, MAX_MSGSIZE)); in timed_read_kmsg()
280 char msg[MAX_MSGSIZE]; in test_partial_read()
296 char imsg[MAX_MSGSIZE], imsg_prefixed[MAX_MSGSIZE]; in test_inject()
297 char tmp[MAX_MSGSIZE]; in test_inject()
350 char msg[MAX_MSGSIZE]; in test_read_returns_first_message()
405 char msg[MAX_MSGSIZE]; in test_messages_overwritten()
[all …]
/external/ltp/testcases/kernel/syscalls/utils/
Dmq.h25 #define MAX_MSGSIZE 8192 macro
30 static char smsg[MAX_MSGSIZE];
64 for (i = 0; i < MAX_MSGSIZE; i++) in setup_common()
73 char rmsg[MAX_MSGSIZE]; in cleanup_queue()
83 mq_receive(fd, rmsg, MAX_MSGSIZE, &prio); in cleanup_queue()
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c47 .len = MAX_MSGSIZE,
60 .len = MAX_MSGSIZE + 1,
144 size_t len = MAX_MSGSIZE; in do_test()
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c50 .len = MAX_MSGSIZE,
139 size_t len = MAX_MSGSIZE; in do_test()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_open_tests.c50 char *MAX_MSGSIZE = "/proc/sys/fs/mqueue/msgsize_max"; variable
276 max_msgsize = fopen(MAX_MSGSIZE, "r+"); in main()
Dmq_perf_tests.c74 char *MAX_MSGSIZE = "/proc/sys/fs/mqueue/msgsize_max"; variable
637 max_msgsize = fopen(MAX_MSGSIZE, "r+"); in main()