Home
last modified time | relevance | path

Searched refs:sem_flg (Results 1 – 16 of 16) sorted by relevance

/external/strace/tests-m32/
Dsemop.c60 sem_b->sem_flg = SEM_UNDO; in main()
64 sem_b2->sem_flg = 0xbeef; in main()
69 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
70 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
71 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
97 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
98 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
99 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
/external/strace/tests-mx32/
Dsemop.c60 sem_b->sem_flg = SEM_UNDO; in main()
64 sem_b2->sem_flg = 0xbeef; in main()
69 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
70 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
71 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
97 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
98 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
99 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
/external/strace/tests/
Dsemop.c60 sem_b->sem_flg = SEM_UNDO; in main()
64 sem_b2->sem_flg = 0xbeef; in main()
69 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
70 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
71 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
97 sem_b2->sem_flg & SEM_UNDO ? "SEM_UNDO|" : "", in main()
98 sem_b2->sem_flg & IPC_NOWAIT ? "IPC_NOWAIT|" : "", in main()
99 (short) (sem_b2->sem_flg & ~(SEM_UNDO | IPC_NOWAIT)), in main()
/external/ltp/testcases/kernel/ipc/semaphore/
Dsem01.c55 semops.sem_flg = SEM_UNDO; in semup()
69 semops.sem_flg = SEM_UNDO; in semdown()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c81 sm.sem_flg = IPC_NOWAIT; in chld1_sem()
125 sm.sem_flg = IPC_NOWAIT; in chld2_sem()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop05.c128 s_buf.sem_flg = TC[i].flg; in main()
239 s_buf.sem_flg = TC[i].flg; in do_child_uclinux()
Dsemop03.c75 s_buf.sem_flg = SEM_UNDO; /* undo when process exits */ in main()
Dsemop04.c99 s_buf.sem_flg = TC[i].flg; in main()
Dsemop01.c145 sops[i].sem_flg = SEM_UNDO; in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c300 sops.sem_flg = 0; in cnt_setup()
344 sops.sem_flg = 0; in child_cnt()
403 sops.sem_flg = 0; in child_pid()
Dsemctl06.c183 semops[i].sem_flg = SEM_UNDO; in dotest()
265 semops[j].sem_flg = SEM_UNDO; in dosemas()
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c527 .sem_num = 0, .sem_op = 1, .sem_flg = 0}; in do_child()
587 .sem_num = 1, .sem_op = -1, .sem_flg = 0}; in do_child()
637 .sem_num = 1, .sem_op = num_writers, .sem_flg = 0}; in do_parent()
644 .sem_num = 0, .sem_op = -num_writers, .sem_flg = 0}; in do_parent()
/external/kernel-headers/original/uapi/linux/
Dsem.h43 short sem_flg; /* operation flags */ member
/external/strace/
Dipc_sem.c53 printflags(semop_flags, (unsigned short) sb->sem_flg, "SEM_???"); in print_sembuf()
DChangeLog29375 Fix printing of invalid struct sembuf.sem_flg.
29376 * ipc_sem.c (print_sembuf): Explicitly cast struct sembuf.sem_flg
29378 invalid struct sembuf.sem_flg.
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c504 smop.sem_flg = 0; in semoper()