Home
last modified time | relevance | path

Searched refs:IPC_NOWAIT (Results 1 - 25 of 32) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv02.c20 * 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 Dmsgrcv08.c43 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 Dmsgrcv07.c16 * * 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 Dmsgrcv03.c16 * 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 Dsem_comm.c42 .sem_flg = IPC_NOWAIT, in chld1_sem()
67 .sem_flg = IPC_NOWAIT, in chld2_sem()
H A Dmsg_comm.c56 TEST(msgrcv(id, &rec, sizeof(rec.mtext), 2, IPC_NOWAIT)); in chld1_msg()
H A Dsemtest_2ns.c73 .sem_flg = IPC_NOWAIT | SEM_UNDO, in check_sem2()
/third_party/musl/libc-test/src/functional/
H A Dipc_msg.c74 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 Dmsgsnd05.c9 * 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 Dmsgsnd06.c41 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
H A Dsemop02.c11 * 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 Dipc.h23 #define IPC_NOWAIT 04000 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dipc.h29 #define IPC_NOWAIT 04000 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dipc.h29 #define IPC_NOWAIT 04000 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dipc.h29 #define IPC_NOWAIT 04000 macro
/third_party/musl/include/sys/
H A Dipc.h29 #define IPC_NOWAIT 04000 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dipc.h29 #define IPC_NOWAIT 04000 macro
/third_party/musl/libc-test/src/api/
H A Dsys_ipc.c21 C(IPC_NOWAIT) in f()
H A Dsys_sem.c49 C(IPC_NOWAIT) in f()
H A Dsys_shm.c44 C(IPC_NOWAIT) in f()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
H A Dmsgget01.c43 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
/third_party/alsa-lib/src/pcm/
H A Dpcm_direct.h299 struct sembuf op = { sem_num, -1, SEM_UNDO | IPC_NOWAIT }; in snd_pcm_direct_semaphore_up()
/third_party/libuv/src/unix/
H A Dos390.c756 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 Dos390.c749 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 Dmod.rs237 pub const IPC_NOWAIT: ::c_int = 0o004000; consts

Completed in 11 milliseconds

12