Searched refs:shmid (Results 1 - 11 of 11) sorted by relevance

/macosx-10.10.1/ntp-92/util/
H A Dsht.c48 int shmid=shmget (0x4e545030+unit, sizeof (struct shmTime), IPC_CREAT|0777); local
49 if (shmid==-1) {
54 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0);
68 HANDLE shmid;
75 shmid=CreateFileMapping ((HANDLE)0xffffffff, 0, PAGE_READWRITE,
77 if (!shmid) {
78 shmid=CreateFileMapping ((HANDLE)0xffffffff, 0, PAGE_READWRITE,
83 if (!shmid) {
92 struct shmTime *p=(struct shmTime *) MapViewOfFile (shmid,
/macosx-10.10.1/apr-32/apr/apr/include/arch/unix/
H A Dapr_arch_shm.h69 int shmid; /* shmem ID returned from shmget() */ member in struct:apr_shm_t
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dsysv_shm.c158 int shmid; /* segment id */ member in struct:shmmap_state
244 shm_find_segment_by_shmid(int shmid) argument
249 segnum = IPCID_TO_IX(shmid);
255 shmseg->u.shm_perm._seq != IPCID_TO_SEQ(shmid))
292 segnum = IPCID_TO_IX(shmmap_s->shmid);
300 shmmap_s->shmid = -1;
334 if (shmmap_s->shmid != -1 &&
346 shmsegptr = &shmsegs[IPCID_TO_IX(shmmap_s->shmid)];
379 AUDIT_ARG(svipc_id, uap->shmid);
398 shmmap_s[i].shmid
713 int i, segnum, shmid; local
[all...]
/macosx-10.10.1/Libc-1044.1.2/sys/
H A Dshmctl.c35 shmctl(int shmid, int cmd, struct shmid_ds *ds) argument
64 rv = __shmctl(shmid, cmd, (void *)ds_new);
/macosx-10.10.1/ntp-92/ntpd/
H A Drefclock_shm.c114 int shmid=0; local
120 shmid=shmget (0x4e545030+unit, sizeof (struct shmTime),
122 if (shmid==-1) { /*error */
127 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0);
137 HANDLE shmid=0;
155 shmid=CreateFileMapping ((HANDLE)0xffffffff, psec, PAGE_READWRITE,
157 if (!shmid) { /*error*/
165 struct shmTime *p=(struct shmTime *) MapViewOfFile (shmid,
/macosx-10.10.1/apr-32/apr/apr/shmem/unix/
H A Dshm.c69 if (shmctl(m->shmid, IPC_RMID, NULL) == -1 && errno != EINVAL) {
179 if ((new_m->shmid = shmget(IPC_PRIVATE, new_m->realsize,
184 if ((new_m->base = shmat(new_m->shmid, NULL, 0)) == (void *)-1) {
189 if (shmctl(new_m->shmid, IPC_STAT, &shmbuf) == -1) {
195 if (shmctl(new_m->shmid, IPC_SET, &shmbuf) == -1) {
203 if (shmctl(new_m->shmid, IPC_RMID, NULL) == -1) {
322 if ((new_m->shmid = shmget(shmkey, new_m->realsize,
327 if ((new_m->base = shmat(new_m->shmid, NULL, 0)) == (void *)-1) {
332 if (shmctl(new_m->shmid, IPC_STAT, &shmbuf) == -1) {
338 if (shmctl(new_m->shmid, IPC_SE
371 int shmid; local
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/vmalloc/
H A Dvmmopen.c103 int shmid; /* ID of the shared mem */ member in struct:_mmdisc_s
121 sprintf(mesg, "Shmid: %10d\n", mmdc->shmid); write(fd, mesg, strlen(mesg));
147 mmvm = (Mmvm_t*)shmat(mmdc->shmid, base, 0);
197 if((mmdc->shmid = shmget(key, size, IPC_CREAT|FILE_MODE)) < 0 )
201 mmvm = (Mmvm_t*)shmat(mmdc->shmid, NIL(Void_t*), 0);
290 { if(mmdc->shmid >= 0 )
291 (void)shmctl(mmdc->shmid, IPC_RMID, &shmds);
412 mmdc->shmid = -1;
/macosx-10.10.1/apache-793/httpd/test/
H A Dtime-sem.c444 int shmid = -1; local
450 if ((shmid = shmget(shmkey, size, IPC_CREAT | SHM_R | SHM_W)) == -1) {
471 if ((result = shmat(shmid, 0, 0)) == BADSHMAT) {
478 if (shmctl(shmid, IPC_RMID, NULL) != 0) {
/macosx-10.10.1/apache-793/httpd/modules/slotmem/
H A Dmod_slotmem_shm.c96 int shmid; local
102 if ((shmid = shmget(shmkey, 0, SHM_R | SHM_W)) == -1) {
111 if (shmctl(shmid, IPC_SET, &shmbuf) == -1) {
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dsaslcache.c84 int shmid = 0; local
/macosx-10.10.1/vim-55/runtime/autoload/
H A Dphpcomplete.vim4084 \ 'shmop_close(': 'int shmid | void',
4085 \ 'shmop_delete(': 'int shmid | bool',
4087 \ 'shmop_read(': 'int shmid, int start, int count | string',
4088 \ 'shmop_size(': 'int shmid | int',
4089 \ 'shmop_write(': 'int shmid, string data, int offset | int',

Completed in 192 milliseconds