Searched refs:shmget (Results 1 - 15 of 15) sorted by relevance

/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dshm.h183 int shmget(key_t, size_t, int);
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_map.c73 * If the region is in system memory on UNIX, we use shmget(2).
76 * There exist spinlocks that don't work in shmget memory, e.g.,
78 * will work in shmget memory, we better be private and not be
131 if ((id = shmget(segid, 0, 0)) != -1) {
133 if ((id = shmget(segid, 0, 0)) != -1) {
135 "shmget: key: %ld: shared system memory region already exists",
143 * shmget call permissions.
146 if ((id = shmget(segid, rp->size, mode)) == -1) {
149 "shmget: key: %ld: unable to create shared system memory region",
553 * Map the DbEnv::open method file mode permissions to shmget cal
[all...]
/macosx-10.10/file_cmds-242/ipcrm/
H A Dipcrm.c77 id = shmget(key, 0, 0);
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dshared_memory_tests.c19 * Test shmat, shmctl, shmdt, shmget system calls.
29 my_shm_id = shmget( IPC_PRIVATE, 4096, (IPC_CREAT | IPC_R | IPC_W) );
31 printf( "shmget failed with error %d - \"%s\" \n", errno, strerror( errno) );
/macosx-10.10/WebKit2-7600.1.25/PluginProcess/mac/
H A DPluginProcessShim.mm250 return shmget(key, requestedSizeOfSharedMemory, sharedMemoryFlags);
322 DYLD_INTERPOSE(shim_shmget, shmget);
/macosx-10.10/apr-32/apr/apr/shmem/unix/
H A Dshm.c179 if ((new_m->shmid = shmget(IPC_PRIVATE, new_m->realsize,
322 if ((new_m->shmid = shmget(shmkey, new_m->realsize,
398 if ((shmid = shmget(shmkey, 0, SHM_R | SHM_W)) < 0) {
549 if ((new_m->shmid = shmget(shmkey, 0, SHM_R | SHM_W)) == -1) {
/macosx-10.10/ntp-92/util/
H A Dsht.c48 int shmid=shmget (0x4e545030+unit, sizeof (struct shmTime), IPC_CREAT|0777);
50 perror ("shmget");
/macosx-10.10/xnu-2782.1.97/bsd/man/man2/
H A DMakefile199 shmget.2 \
/macosx-10.10/apache-793/httpd/test/
H A Dtime-sem.c450 if ((shmid = shmget(shmkey, size, IPC_CREAT | SHM_R | SHM_W)) == -1) {
451 perror("shmget");
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_shm.c120 shmid=shmget (0x4e545030+unit, sizeof (struct shmTime),
123 msyslog(LOG_ERR,"SHM shmget (unit %d): %s",unit,strerror(errno));
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dsysv_shm.c130 (sy_call_t *)shmdt, (sy_call_t *)shmget,
676 error = tsleep((caddr_t)shmseg, PLOCK | PCATCH, "shmget", 0);
837 shmget(struct proc *p, struct shmget_args *uap, int32_t *retval) function
877 * Entry point for all SHM calls: shmat, oshmctl, shmdt, shmget, shmctl
892 * functions (shmat, oshmctl, shmdt, shmget, shmctl). The correct
/macosx-10.10/apache-793/httpd/modules/slotmem/
H A Dmod_slotmem_shm.c102 if ((shmid = shmget(shmkey, 0, SHM_R | SHM_W)) == -1) {
/macosx-10.10/ksh-23/ksh/src/lib/libast/vmalloc/
H A Dvmmopen.c48 /* Create a region to allocate based on mmap() or shmget().
197 if((mmdc->shmid = shmget(key, size, IPC_CREAT|FILE_MODE)) < 0 )
/macosx-10.10/apr-32/apr/apr/
H A Dconfigure20858 for ac_func in mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \
20984 for ac_spec in header:sys/ipc.h header:sys/shm.h header:sys/file.h func:shmget func:shmat func:shmdt func:shmctl; do
21012 ac_decision_msg='SysV IPC shmget()'
21014 ac_decision_USE_SHMEM_SHMGET_ANON_msg='SysV IPC shmget()'
21372 for ac_spec in header:sys/ipc.h header:sys/shm.h header:sys/file.h func:shmget func:shmat func:shmdt func:shmctl; do
21400 ac_decision_msg='SysV IPC shmget()'
21402 ac_decision_USE_SHMEM_SHMGET_msg='SysV IPC shmget()'
/macosx-10.10/BerkeleyDB-21/db/dist/
H A Dconfigure35060 # Second, we look for shmget.
35062 # SunOS has the shmget(2) interfaces, but there appears to be a missing
35067 { echo "$as_me:$LINENO: WARNING: shmget(2) interface ignored on $host_os-$host_vendor." >&5
35068 echo "$as_me: WARNING: shmget(2) interface ignored on $host_os-$host_vendor." >&2;};;
35072 for ac_func in shmget
[all...]

Completed in 434 milliseconds