tag | line | file | source code |
shmid | 203 | ipc/shm.c | int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf) |
shmid | 210 | ipc/shm.c | if (cmd < 0 || shmid < 0) |
shmid | 261 | ipc/shm.c | if (shmid > max_shmid) |
shmid | 263 | ipc/shm.c | shp = shm_segs[shmid]; |
shmid | 268 | ipc/shm.c | id = (unsigned int) shp->shm_perm.seq * SHMMNI + shmid; |
shmid | 281 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
shmid | 284 | ipc/shm.c | if (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI) |
shmid | 452 | ipc/shm.c | int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr) |
shmid | 460 | ipc/shm.c | if (shmid < 0) { |
shmid | 465 | ipc/shm.c | shp = shm_segs[id = (unsigned int) shmid % SHMMNI]; |
shmid | 495 | ipc/shm.c | if (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI) |
shmid | 501 | ipc/shm.c | if ((shp != shm_segs[id]) || (shp->shm_perm.seq != (unsigned int) shmid / SHMMNI)) { |
shmid | 32 | ipc/util.c | extern int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr); |
shmid | 34 | ipc/util.c | extern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf); |