Searched refs:QUEUE_NAME (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 18 #define QUEUE_NAME "/test_mqueue" macro 53 .qname = QUEUE_NAME, 61 .qname = QUEUE_NAME, 102 .qname = QUEUE_NAME, 110 .qname = QUEUE_NAME, 119 .qname = QUEUE_NAME, 135 .qname = QUEUE_NAME, 146 fd2 = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in create_queue() 157 if (mq_unlink(QUEUE_NAME)) in unlink_queue() 158 tst_brk(TBROK | TERRNO, "mq_close(" QUEUE_NAME ") failed"); in unlink_queue()
|
/external/ltp/testcases/kernel/syscalls/mq_unlink/ |
D | mq_unlink01.c | 17 #define QUEUE_NAME "/test_mqueue" macro 31 .qname = QUEUE_NAME, 37 .qname = QUEUE_NAME, 82 mq_unlink(QUEUE_NAME); in do_test() 85 fd = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in do_test() 110 mq_unlink(QUEUE_NAME); in do_test()
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | mq.h | 15 #define QUEUE_NAME "/test_mqueue" macro 32 mq_unlink(QUEUE_NAME); in cleanup_common() 48 fd = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, 0700, NULL); in setup_common()
|