tag | line | file | source code |
shmflg | 499 | arch/alpha/kernel/osf_sys.c | asmlinkage long osf_shmat(int shmid, void *shmaddr, int shmflg) |
shmflg | 504 | arch/alpha/kernel/osf_sys.c | err = sys_shmat(shmid, shmaddr, shmflg, &raddr); |
shmflg | 63 | include/linux/shm.h | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr); |
shmflg | 20 | ipc/shm.c | extern int ipcperms (struct ipc_perm *ipcp, short shmflg); |
shmflg | 23 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
shmflg | 74 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
shmflg | 112 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
shmflg | 133 | ipc/shm.c | asmlinkage int sys_shmget (key_t key, int size, int shmflg) |
shmflg | 141 | ipc/shm.c | return newseg(key, shmflg, size); |
shmflg | 143 | ipc/shm.c | if (!(shmflg & IPC_CREAT)) |
shmflg | 145 | ipc/shm.c | return newseg(key, shmflg, size); |
shmflg | 147 | ipc/shm.c | if ((shmflg & IPC_CREAT) && (shmflg & IPC_EXCL)) |
shmflg | 154 | ipc/shm.c | if (ipcperms (&shp->shm_perm, shmflg)) |
shmflg | 456 | ipc/shm.c | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr) |
shmflg | 476 | ipc/shm.c | if (shmflg & SHM_REMAP) |
shmflg | 481 | ipc/shm.c | if (shmflg & SHM_RND) |
shmflg | 496 | ipc/shm.c | if (!(shmflg & SHM_REMAP)) |
shmflg | 503 | ipc/shm.c | if (ipcperms(&shp->shm_perm, shmflg & SHM_RDONLY ? S_IRUGO : S_IRUGO|S_IWUGO)) |
shmflg | 520 | ipc/shm.c | shmd->vm_page_prot = (shmflg & SHM_RDONLY) ? PAGE_READONLY : PAGE_SHARED; |
shmflg | 523 | ipc/shm.c | | ((shmflg & SHM_RDONLY) ? 0 : VM_MAYWRITE | VM_WRITE); |
shmflg | 106 | ipc/util.c | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr) |