shmaddr 43 arch/xtensa/kernel/syscall.c asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg) shmaddr 48 arch/xtensa/kernel/syscall.c err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); shmaddr 762 include/linux/compat.h asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg); shmaddr 1676 include/linux/lsm_hooks.h int (*shm_shmat)(struct kern_ipc_perm *perm, char __user *shmaddr, shmaddr 426 include/linux/security.h int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); shmaddr 1183 include/linux/security.h char __user *shmaddr, int shmflg) shmaddr 17 include/linux/shm.h long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, shmaddr 27 include/linux/shm.h static inline long do_shmat(int shmid, char __user *shmaddr, shmaddr 794 include/linux/syscalls.h asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg); shmaddr 795 include/linux/syscalls.h asmlinkage long sys_shmdt(char __user *shmaddr); shmaddr 1418 include/linux/syscalls.h long ksys_shmdt(char __user *shmaddr); shmaddr 1418 ipc/shm.c long do_shmat(int shmid, char __user *shmaddr, int shmflg, shmaddr 1422 ipc/shm.c unsigned long addr = (unsigned long)shmaddr; shmaddr 1491 ipc/shm.c err = security_shm_shmat(&shp->shm_perm, shmaddr, shmflg); shmaddr 1591 ipc/shm.c SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) shmaddr 1596 ipc/shm.c err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); shmaddr 1609 ipc/shm.c COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg) shmaddr 1614 ipc/shm.c err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA); shmaddr 1626 ipc/shm.c long ksys_shmdt(char __user *shmaddr) shmaddr 1630 ipc/shm.c unsigned long addr = (unsigned long)shmaddr; shmaddr 1733 ipc/shm.c SYSCALL_DEFINE1(shmdt, char __user *, shmaddr) shmaddr 1735 ipc/shm.c return ksys_shmdt(shmaddr); shmaddr 1830 security/security.c int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg) shmaddr 1832 security/security.c return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg); shmaddr 6160 security/selinux/hooks.c char __user *shmaddr, int shmflg) shmaddr 3003 security/smack/smack_lsm.c static int smack_shm_shmat(struct kern_ipc_perm *isp, char __user *shmaddr, shmaddr 318 tools/testing/selftests/powerpc/benchmarks/context_switch.c void *shmaddr; shmaddr 326 tools/testing/selftests/powerpc/benchmarks/context_switch.c shmaddr = shmat(shmid, NULL, 0); shmaddr 327 tools/testing/selftests/powerpc/benchmarks/context_switch.c if (shmaddr == (char *)-1) { shmaddr 335 tools/testing/selftests/powerpc/benchmarks/context_switch.c m1 = shmaddr; shmaddr 336 tools/testing/selftests/powerpc/benchmarks/context_switch.c m2 = shmaddr + sizeof(*m1); shmaddr 59 tools/testing/selftests/vm/hugepage-shm.c char *shmaddr; shmaddr 68 tools/testing/selftests/vm/hugepage-shm.c shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS); shmaddr 69 tools/testing/selftests/vm/hugepage-shm.c if (shmaddr == (char *)-1) { shmaddr 74 tools/testing/selftests/vm/hugepage-shm.c printf("shmaddr: %p\n", shmaddr); shmaddr 78 tools/testing/selftests/vm/hugepage-shm.c shmaddr[i] = (char)(i); shmaddr 86 tools/testing/selftests/vm/hugepage-shm.c if (shmaddr[i] != (char)i) { shmaddr 92 tools/testing/selftests/vm/hugepage-shm.c if (shmdt((const void *)shmaddr) != 0) {