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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dshm.h98 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr);
101 static inline long do_shmat(int shmid, char __user *shmaddr, argument
H A Dsyscalls.h468 asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg);
471 asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dsyscall.h20 asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dipcs.c124 int maxid, shmid, id; local
171 "shmid", "perms", "cuid", "cgid", "uid", "gid");
177 "shmid", "owner", "attached", "detached", "changed");
183 "shmid", "owner", "cpid", "lpid");
189 "key", "shmid", "owner", "perms", "bytes", "nattch",
195 shmid = shmctl(id, SHM_STAT, &shmseg);
196 if (shmid < 0)
199 print_perms(shmid, ipcp);
206 printf("%-10d %-10.10s", shmid, pw->pw_name);
208 printf("%-10d %-10d", shmid, ipc
463 print_shm(int shmid) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/kernel/
H A Dsyscall.c85 asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg) argument
90 err = do_shmat(shmid, shmaddr, shmflg, &ret);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/
H A Dshm.c139 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime\n",
403 * shmid gets reported as "inode#" in /proc/pid/maps.
446 int shmid = shm_buildid(ns, id, shp->shm_perm.seq); local
449 err = shmid;
580 asmlinkage long sys_shmctl (int shmid, int cmd, struct shmid_ds __user *buf) argument
587 if (cmd < 0 || shmid < 0) {
649 shp = shm_lock(ns, shmid);
655 if (shmid > shm_ids(ns).max_id)
657 result = shm_buildid(ns, shmid, shp->shm_perm.seq);
659 err = shm_checkid(ns, shp,shmid);
836 do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr) argument
985 sys_shmat(int shmid, char __user *shmaddr, int shmflg) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/sysklogd/
H A Dsyslogd.c76 int shmid; /* ipc shared memory id */ \
122 .shmid = -1,
188 if (G.shmid != -1) {
191 if (G.shmid != -1) {
192 shmctl(G.shmid, IPC_RMID, NULL);
204 G.shmid = shmget(KEY_ID, G.shm_size, IPC_CREAT | 0644);
205 if (G.shmid == -1) {
209 G.shbuf = shmat(G.shmid, NULL, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/pcp/
H A Dsamba.c147 int shmid = -1; variable
299 if ((shmid = shmget(PROF_SHMEM_KEY, 0, 0)) == -1) {
300 fprintf(stderr, "shmid: %s\n", strerror(errno));
304 shmheader = (struct profile_header *)shmat(shmid, NULL, SHM_RDONLY);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavdevice/
H A Dx11grab.c138 x11grab->shminfo.shmid = shmget(IPC_PRIVATE,
141 if (x11grab->shminfo.shmid == -1) {
145 x11grab->shminfo.shmaddr = image->data = shmat(x11grab->shminfo.shmid, 0, 0);
504 shmctl(x11grab->shminfo.shmid, IPC_RMID, NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/torture/
H A Dtorture.c70 int shmid; local
73 shmid = shmget(IPC_PRIVATE, size, S_IRUSR | S_IWUSR);
74 if (shmid == -1) {
78 ret = (void *)shmat(shmid, 0, 0);
85 just that the shmid is no longer valid for other shm calls. This
90 shmctl(shmid, IPC_RMID, 0);

Completed in 171 milliseconds