Searched refs:msgque (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/ipc/ |
D | msgque.c | 35 int restore_queue(struct msgque_data *msgque) in restore_queue() argument 45 sprintf(buf, "%d", msgque->msq_id); in restore_queue() 53 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue() 59 if (id != msgque->msq_id) { in restore_queue() 61 id, msgque->msq_id); in restore_queue() 66 for (i = 0; i < msgque->qnum; i++) { in restore_queue() 67 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, in restore_queue() 68 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue() 82 int check_and_destroy_queue(struct msgque_data *msgque) in check_and_destroy_queue() argument 88 ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE, in check_and_destroy_queue() [all …]
|
D | .gitignore | 2 msgque
|
D | Makefile | 15 TEST_GEN_PROGS := msgque
|