Lines Matching refs:ret
595 int ret; in shm_mmap() local
602 ret = __shm_open(sfd); in shm_mmap()
603 if (ret) in shm_mmap()
604 return ret; in shm_mmap()
606 ret = call_mmap(sfd->file, vma); in shm_mmap()
607 if (ret) { in shm_mmap()
609 return ret; in shm_mmap()
1698 unsigned long ret; in SYSCALL_DEFINE3() local
1701 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in SYSCALL_DEFINE3()
1705 return (long)ret; in SYSCALL_DEFINE3()
1716 unsigned long ret; in COMPAT_SYSCALL_DEFINE3() local
1719 err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA); in COMPAT_SYSCALL_DEFINE3()
1723 return (long)ret; in COMPAT_SYSCALL_DEFINE3()