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

/darwin-on-arm/xnu/bsd/sys/
H A Dipc.h165 #define IPC_PRIVATE ((key_t)0) /* Private key */ macro
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dshared_memory_tests.c30 my_shm_id = shmget( IPC_PRIVATE, 4096, (IPC_CREAT | IPC_R | IPC_W) );
H A Dtests.c4980 my_msg_queue_id = msgget( IPC_PRIVATE, (IPC_CREAT | IPC_EXCL | IPC_R | IPC_W) );
/darwin-on-arm/xnu/bsd/kern/
H A Dsysv_sem.c908 if (key != IPC_PRIVATE)
911 printf("semget(IPC_PRIVATE, %d, 0%o)\n", nsems, semflg);
918 if (key != IPC_PRIVATE) {
957 if (key == IPC_PRIVATE || (semflg & IPC_CREAT)) {
1490 * We should be deleting the IPC_PRIVATE semaphores when they are
1492 * know about which IPC_PRIVATE semaphores, updating the list after
1496 * died, and so on. Maybe we should tag each IPC_PRIVATE sempahore
1499 * Until that code gets implemented we will leak IPC_PRIVATE semaphores.
H A Dsysv_shm.c630 shmseg->u.shm_perm._key = IPC_PRIVATE;
841 if (uap->key != IPC_PRIVATE) {
H A Dsysv_msg.c607 if (key != IPC_PRIVATE) {
644 if (key == IPC_PRIVATE || (msgflg & IPC_CREAT)) {

Completed in 42 milliseconds