Lines Matching refs:shmid
111 " key shmid perms size cpid lpid nattch uid gid cuid cgid atime dtime ctime\n",
402 * shmid gets reported as "inode#" in /proc/pid/maps.
596 static int shmctl_down(struct ipc_namespace *ns, int shmid, int cmd,
609 ipcp = ipcctl_pre_down(&shm_ids(ns), shmid, cmd, &shmid64.shm_perm, 0);
636 SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf)
642 if (cmd < 0 || shmid < 0) {
708 shp = shm_lock(ns, shmid);
715 shp = shm_lock_check(ns, shmid);
751 shp = shm_lock_check(ns, shmid);
792 err = shmctl_down(ns, shmid, cmd, buf, version);
811 long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr)
828 if (shmid < 0)
867 shp = shm_lock_check(ns, shmid);
932 shp = shm_lock(ns, shmid);
956 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg)
961 err = do_shmat(shmid, shmaddr, shmflg, &ret);