Searched refs:IPC_PRIVATE (Results 1 - 8 of 8) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dipc.h151 #define IPC_PRIVATE ((key_t)0) /* Private key */ macro
/xnu-2782.1.97/tools/tests/libMicro/
H A Dsemop.c61 if ((ts->ts_semid = semget(IPC_PRIVATE, 2, 0600)) == -1) {
H A Dlibmicro.c767 b->ba_semid = semget(IPC_PRIVATE, 3, 0600);
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dshared_memory_tests.c29 my_shm_id = shmget( IPC_PRIVATE, 4096, (IPC_CREAT | IPC_R | IPC_W) );
H A Dtests.c4979 my_msg_queue_id = msgget( IPC_PRIVATE, (IPC_CREAT | IPC_EXCL | IPC_R | IPC_W) );
/xnu-2782.1.97/bsd/kern/
H A Dsysv_sem.c926 if (key != IPC_PRIVATE)
929 printf("semget(IPC_PRIVATE, %d, 0%o)\n", nsems, semflg);
936 if (key != IPC_PRIVATE) {
975 if (key == IPC_PRIVATE || (semflg & IPC_CREAT)) {
1505 * We should be deleting the IPC_PRIVATE semaphores when they are
1507 * know about which IPC_PRIVATE semaphores, updating the list after
1511 * died, and so on. Maybe we should tag each IPC_PRIVATE sempahore
1514 * Until that code gets implemented we will leak IPC_PRIVATE semaphores.
H A Dsysv_shm.c640 shmseg->u.shm_perm._key = IPC_PRIVATE;
851 if (uap->key != IPC_PRIVATE) {
H A Dsysv_msg.c607 if (key != IPC_PRIVATE) {
644 if (key == IPC_PRIVATE || (msgflg & IPC_CREAT)) {

Completed in 49 milliseconds