Searched refs:msg_q (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl12.c | 28 static int msg_q = -1; variable 39 {&msg_q, IPC_INFO, "IPC_INFO", &msginfo_buf}, 40 {&msg_q, MSG_INFO, "MSG_INFO", &msginfo_buf}, 59 msg_q = SAFE_MSGGET(IPC_PRIVATE, MSG_RW); in setup() 60 index_q = SAFE_MSGCTL(msg_q, IPC_INFO, (struct msqid_ds*)&msginfo_buf); in setup() 65 if (msg_q >= 0) in cleanup() 66 SAFE_MSGCTL(msg_q, IPC_RMID, NULL); in cleanup()
|
D | msgctl03.c | 30 int msg_q; in verify_msgctl() local 32 msg_q = SAFE_MSGGET(IPC_PRIVATE, MSG_RW); in verify_msgctl() 34 TEST(msgctl(msg_q, IPC_RMID, NULL)); in verify_msgctl() 42 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
|
/external/blktrace/ |
D | blkiomon.c | 93 static int msg_q_id = -1, msg_q = -1; variable 232 return msgsnd(msg_q, &dstat->msg, sizeof(struct blkiomon_stat), 0); in blkiomon_output_msg_q() 570 msg_q = msgget(key, S_IRWXU); in blkiomon_open_msg_q() 571 if (msg_q >= 0) in blkiomon_open_msg_q() 574 return (msg_q >= 0 ? 0 : -1); in blkiomon_open_msg_q()
|