Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 4 of 4) sorted by relevance

/ipc/
Dmqueue.c298 int ret = -ENOMEM; in mqueue_get_inode() local
352 ret = -EINVAL; in mqueue_get_inode()
364 ret = -EOVERFLOW; in mqueue_get_inode()
380 ret = -EMFILE; in mqueue_get_inode()
400 return ERR_PTR(ret); in mqueue_get_inode()
640 ssize_t ret; in mqueue_read_file() local
654 ret = simple_read_from_buffer(u_data, count, off, buffer, in mqueue_read_file()
656 if (ret <= 0) in mqueue_read_file()
657 return ret; in mqueue_read_file()
660 return ret; in mqueue_read_file()
[all …]
Dipc_sysctl.c90 int ret, semmni; in proc_ipc_sem_dointvec() local
94 ret = proc_ipc_dointvec(table, write, buffer, lenp, ppos); in proc_ipc_sem_dointvec()
96 if (!ret) in proc_ipc_sem_dointvec()
97 ret = sem_check_semmni(current->nsproxy->ipc_ns); in proc_ipc_sem_dointvec()
102 if (ret) in proc_ipc_sem_dointvec()
104 return ret; in proc_ipc_sem_dointvec()
Dsyscall.c23 int version, ret; in ksys_ipc() local
85 ret = do_shmat(first, (char __user *)ptr, in ksys_ipc()
87 if (ret) in ksys_ipc()
88 return ret; in ksys_ipc()
Dshm.c582 int ret; in shm_mmap() local
589 ret = __shm_open(vma); in shm_mmap()
590 if (ret) in shm_mmap()
591 return ret; in shm_mmap()
593 ret = call_mmap(sfd->file, vma); in shm_mmap()
594 if (ret) { in shm_mmap()
596 return ret; in shm_mmap()
1688 unsigned long ret; in SYSCALL_DEFINE3() local
1691 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in SYSCALL_DEFINE3()
1695 return (long)ret; in SYSCALL_DEFINE3()
[all …]