Lines Matching refs:shmaddr
1512 long do_shmat(int shmid, char __user *shmaddr, int shmflg, in do_shmat() argument
1516 unsigned long addr = (unsigned long)shmaddr; in do_shmat()
1585 err = security_shm_shmat(&shp->shm_perm, shmaddr, shmflg); in do_shmat()
1686 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) in SYSCALL_DEFINE3() argument
1691 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in SYSCALL_DEFINE3()
1704 COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg) in COMPAT_SYSCALL_DEFINE3() argument
1709 err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA); in COMPAT_SYSCALL_DEFINE3()
1721 long ksys_shmdt(char __user *shmaddr) in ksys_shmdt() argument
1725 unsigned long addr = (unsigned long)shmaddr; in ksys_shmdt()
1828 SYSCALL_DEFINE1(shmdt, char __user *, shmaddr) in SYSCALL_DEFINE1() argument
1830 return ksys_shmdt(shmaddr); in SYSCALL_DEFINE1()