HomeSort by: relevance | last modified time | path
    Searched defs:shmid (Results 1 - 17 of 17) sorted by relevancy

  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
info-os.c 31 static int shmid = -1, semid = -1, msqid = -1; variable
38 if (shmid >= 0)
39 shmctl (shmid, IPC_RMID, NULL);
72 shmid = shmget (shmkey, 4096, flags | IPC_EXCL);
73 if (shmid >= 0)
79 if (shmid < 0)
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
info-os.c 31 static int shmid = -1, semid = -1, msqid = -1; variable
38 if (shmid >= 0)
39 shmctl (shmid, IPC_RMID, NULL);
72 shmid = shmget (shmkey, 4096, flags | IPC_EXCL);
73 if (shmid >= 0)
79 if (shmid < 0)
  /src/external/bsd/ntp/dist/util/
sht.c 55 int shmid=shmget (0x4e545030+unit, sizeof (struct shmTime), IPC_CREAT|0777); local
56 if (shmid==-1) {
61 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0);
75 HANDLE shmid;
82 shmid=CreateFileMapping ((HANDLE)0xffffffff, 0, PAGE_READWRITE,
84 if (!shmid) {
85 shmid=CreateFileMapping ((HANDLE)0xffffffff, 0, PAGE_READWRITE,
90 if (!shmid) {
99 struct shmTime *p=(struct shmTime *) MapViewOfFile (shmid,
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/
sparc64-adi.c 70 int shmid = shmget (IPC_PRIVATE, SHMSIZE, IPC_CREAT | 0666); local
71 if (shmid == -1)
73 char *shmaddr = (char *)shmat (shmid, NULL, 0x666 | SHM_RND);
76 shmctl (shmid, IPC_RMID, NULL);
142 shmctl (shmid, IPC_RMID, NULL);
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/
sparc64-adi.c 70 int shmid = shmget (IPC_PRIVATE, SHMSIZE, IPC_CREAT | 0666); local
71 if (shmid == -1)
73 char *shmaddr = (char *)shmat (shmid, NULL, 0x666 | SHM_RND);
76 shmctl (shmid, IPC_RMID, NULL);
142 shmctl (shmid, IPC_RMID, NULL);
  /src/tests/lib/libc/sys/
t_mincore.c 312 int shmid; local
317 shmid = shmget(IPC_PRIVATE, npgs * page,
320 ATF_REQUIRE_STRERROR(shmid != -1);
322 addr = shmat(shmid, NULL, 0);
350 ATF_REQUIRE_STRERROR(shmctl(shmid, IPC_RMID, NULL) == 0);
  /src/sys/compat/linux/common/
linux_ipc.c 505 syscallarg(int) shmid;
598 syscallarg(int) shmid;
608 int error, i, cmd, shmid; local
610 shmid = SCARG(uap, shmid);
618 error = shm_find_segment_perm_by_index(shmid, &perm);
621 shmid = IXSEQ_TO_IPCID(shmid, perm);
622 retval[0] = shmid;
626 error = shmctl1(l, shmid, IPC_STAT, &bs)
    [all...]
linux_shm.h 109 syscallarg(int) shmid; member in struct:linux_sys_shmat_args
116 syscallarg(int) shmid; member in struct:linux_sys_shmctl_args
  /src/sys/compat/linux32/common/
linux32_ipccall.c 618 SCARG(&ua, shmid) = SCARG(uap, a1);
662 int shmid, cmd, error; local
667 shmid = SCARG(uap, a1);
676 error = shmctl1(l, shmid, IPC_STAT, &bs);
698 return shmctl1(l, shmid, IPC_SET, &bs);
701 return shmctl1(l, shmid, IPC_RMID, NULL);
704 return shmctl1(l, shmid, SHM_LOCK, NULL);
707 return shmctl1(l, shmid, SHM_UNLOCK, NULL);
  /src/sys/kern/
sysv_shm.c 89 int shmid; member in struct:shmmap_entry
148 shm_find_segment_by_shmid(int shmid)
155 segnum = IPCID_TO_IX(shmid);
164 if (shmseg->shm_perm._seq != IPCID_TO_SEQ(shmid))
213 segnum = IPCID_TO_IX(shmmap_se->shmid);
260 shmmap_se->shmid = oshmmap_se->shmid;
274 shm_memlock(struct shmid_ds *shmseg, int shmid, int cmd)
350 p->p_vmspace, shmmap_se->shmid, shmmap_se->va));
354 shmseg = &shmsegs[IPCID_TO_IX(shmmap_se->shmid)];
    [all...]
  /src/tests/kernel/
t_sysv.c 748 int shmid; local
751 shmid = shmget(shmkey, pgsize, 0);
752 if (shmid == -1)
755 shm_buf = shmat(shmid, NULL, 0);
  /src/external/bsd/ntp/dist/ntpd/
refclock_shm.c 138 int shmid; local
144 shmid=shmget(0x4e545030 + unit, sizeof (struct shmTime),
146 if (shmid == -1) { /* error */
150 p = (struct shmTime *)shmat (shmid, 0, 0);
162 HANDLE shmid = 0;
187 shmid = CreateFileMapping ((HANDLE)0xffffffff, psec, PAGE_READWRITE,
189 if (shmid == NULL) { /*error*/
196 p = (struct shmTime *)MapViewOfFile(shmid, FILE_MAP_WRITE, 0, 0,
  /src/external/mit/xorg/lib/libxcb/files/
shm.h 107 uint32_t shmid; member in struct:xcb_shm_attach_request_t
341 * @param shmid The System V shared memory segment the server should map.
357 uint32_t shmid,
365 * @param shmid The System V shared memory segment the server should map.
378 uint32_t shmid,
  /src/external/gpl3/gdb.old/dist/gdb/nat/
linux-osdata.c 970 int shmid, size, nattch; local
977 &key, &shmid, &perms, &size,
1006 "<column name=\"shmid\">%d</column>"
1021 shmid,
  /src/external/gpl3/gdb/dist/gdb/nat/
linux-osdata.c 970 int shmid, size, nattch; local
977 &key, &shmid, &perms, &size,
1006 "<column name=\"shmid\">%d</column>"
1021 shmid,
  /src/sys/compat/netbsd32/
netbsd32_syscallargs.h 1197 syscallarg(int) shmid; member in struct:netbsd32_shmat_args
1204 syscallarg(int) shmid; member in struct:compat_14_netbsd32_shmctl_args
1649 syscallarg(int) shmid; member in struct:compat_50_netbsd32___shmctl13_args
2378 syscallarg(int) shmid; member in struct:netbsd32___shmctl50_args
  /src/sys/sys/
syscallargs.h 1457 syscallarg(int) shmid; member in struct:sys_shmat_args
1466 syscallarg(int) shmid; member in struct:compat_14_sys_shmctl_args
1995 syscallarg(int) shmid; member in struct:compat_50_sys___shmctl13_args
2904 syscallarg(int) shmid; member in struct:sys___shmctl50_args

Completed in 37 milliseconds