/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
H A D | msgrcv02.c | 20 * 6)msgrcv(2) fails and sets errno to ENOMSG if IPC_NOWAIT was specified in 59 {&queue_id, &rcv_buf, MSGSIZE, 3, IPC_NOWAIT, 0, ENOMSG}, 60 {&queue_id, &rcv_buf, MSGSIZE, -1, IPC_NOWAIT, 0, ENOMSG}, 61 {&queue_id, &rcv_buf, MSGSIZE, -1, IPC_NOWAIT | MSG_EXCEPT, 0, ENOMSG},
|
H A D | msgrcv08.c | 43 SAFE_MSGSND(queue_id, &snd_buf, sizeof(snd_buf.mtext), IPC_NOWAIT); in verify_msgrcv() 45 TEST(msgrcv(queue_id, &rcv_buf, sizeof(rcv_buf.mtext), -mtype, IPC_NOWAIT | MSG_NOERROR)); in verify_msgrcv()
|
H A D | msgrcv07.c | 16 * * With MSG_COPY and IPC_NOWAIT flag read the msg but don't destroy it in 122 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 0, MSG_COPY | IPC_NOWAIT)); in test_msg_copy() 142 TEST(msgrcv(queue_id, &rcv_buf, MSGSIZE, 1, MSG_COPY | IPC_NOWAIT)); in test_msg_copy()
|
H A D | msgrcv03.c | 16 * 1)msgrcv(2) fails and sets errno to EINVAL if IPC_NOWAIT was not specified 20 * 3)msgrcv(2) fails and set errno to ENOMSG if IPC_NOWAIT and MSG_COPY were 47 "EINVAL for MSG_COPY without IPC_NOWAIT"}, 52 {ENOMSG, IPC_NOWAIT, 2, 53 "ENOMSG with IPC_NOWAIT and MSG_COPY but with less than msgtyp messages"},
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | sem_comm.c | 42 .sem_flg = IPC_NOWAIT, in chld1_sem() 67 .sem_flg = IPC_NOWAIT, in chld2_sem()
|
H A D | msg_comm.c | 56 TEST(msgrcv(id, &rec, sizeof(rec.mtext), 2, IPC_NOWAIT)); in chld1_msg()
|
H A D | semtest_2ns.c | 73 .sem_flg = IPC_NOWAIT | SEM_UNDO, in check_sem2()
|
/third_party/musl/libc-test/src/functional/ |
H A D | ipc_msg.c | 74 T(msgsnd(qid, &msg, sizeof msg.data, IPC_NOWAIT)); in snd() 102 T(msgrcv(qid, &msg, sizeof msg.data, msgtyp, IPC_NOWAIT)); in rcv() 107 if (msgrcv(qid, &msg, sizeof msg.data, msgtyp, MSG_NOERROR|IPC_NOWAIT) != -1 || errno != ENOMSG) in rcv()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
H A D | msgsnd05.c | 9 * sent due to the msg_qbytes limit for the queue and IPC_NOWAIT is 38 {IPC_NOWAIT, EAGAIN, 0}, 84 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup()
|
H A D | msgsnd06.c | 41 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop02.c | 11 * EAGAIN - semop = 0 for non-zero semaphore and IPC_NOWAIT passed in flags 12 * EAGAIN - semop = -1 for zero semaphore and IPC_NOWAIT passed in flags 62 {0, &valid_sem_id, NULL, &sem_op_zero, 2, 2, IPC_NOWAIT, 1, 1, &valid_to, EAGAIN}, 63 {0, &valid_sem_id, NULL, &sem_op_negative, 2, 2, IPC_NOWAIT, 1, 0, &valid_to, EAGAIN},
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | ipc.h | 23 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | ipc.h | 29 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | ipc.h | 29 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | ipc.h | 29 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/include/sys/ |
H A D | ipc.h | 29 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | ipc.h | 29 #define IPC_NOWAIT 04000 macro
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_ipc.c | 21 C(IPC_NOWAIT) in f()
|
H A D | sys_sem.c | 49 C(IPC_NOWAIT) in f()
|
H A D | sys_shm.c | 44 C(IPC_NOWAIT) in f()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/ |
H A D | msgget01.c | 43 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.h | 299 struct sembuf op = { sem_num, -1, SEM_UNDO | IPC_NOWAIT }; in snd_pcm_direct_semaphore_up()
|
/third_party/libuv/src/unix/ |
H A D | os390.c | 756 msglen = msgrcv(ep->msg_queue, &msg, sizeof(msg), 0, IPC_NOWAIT); in os390_message_queue_handler()
|
/third_party/node/deps/uv/src/unix/ |
H A D | os390.c | 749 msglen = msgrcv(ep->msg_queue, &msg, sizeof(msg), 0, IPC_NOWAIT); in os390_message_queue_handler()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 237 pub const IPC_NOWAIT: ::c_int = 0o004000; consts
|