Home
last modified time | relevance | path

Searched refs:queue_path (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/tools/testing/selftests/mqueue/
Dmq_open_tests.c54 char *queue_path; variable
89 if (queue_path) in shutdown()
94 mq_unlink(queue_path); in shutdown()
201 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1) in test_queue()
208 if (mq_unlink(queue_path)) in test_queue()
223 if ((queue = mq_open(queue_path, flags, perms, attr)) == -1) in test_queue_fail()
230 if (mq_unlink(queue_path)) in test_queue_fail()
251 queue_path = strdup(argv[1]); in main()
253 queue_path = malloc(strlen(argv[1]) + 2); in main()
254 if (!queue_path) { in main()
[all …]
Dmq_perf_tests.c95 char *queue_path = "/mq_perf_tests"; variable
140 .arg = &queue_path,
189 if (queue_path) in shutdown()
194 mq_unlink(queue_path); in shutdown()
291 queue = mq_open(queue_path, flags, perms, attr); in open_queue()
296 printf("\n\tQueue %s created:\n", queue_path); in open_queue()
602 option = queue_path; in main()
604 queue_path = malloc(strlen(option) + 2); in main()
605 if (!queue_path) { in main()
609 queue_path[0] = '/'; in main()
[all …]