Searched refs:ret (Results 1 – 4 of 4) sorted by relevance
/ipc/ |
D | mqueue.c | 237 int ret = -ENOMEM; in mqueue_get_inode() local 291 ret = -EINVAL; in mqueue_get_inode() 303 ret = -EOVERFLOW; in mqueue_get_inode() 319 ret = -EMFILE; in mqueue_get_inode() 339 return ERR_PTR(ret); in mqueue_get_inode() 566 ssize_t ret; in mqueue_read_file() local 580 ret = simple_read_from_buffer(u_data, count, off, buffer, in mqueue_read_file() 582 if (ret <= 0) in mqueue_read_file() 583 return ret; in mqueue_read_file() 586 return ret; in mqueue_read_file() [all …]
|
D | ipc_sysctl.c | 90 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()
|
D | syscall.c | 23 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()
|
D | shm.c | 490 int ret; in shm_mmap() local 497 ret = __shm_open(vma); in shm_mmap() 498 if (ret) in shm_mmap() 499 return ret; in shm_mmap() 501 ret = call_mmap(sfd->file, vma); in shm_mmap() 502 if (ret) { in shm_mmap() 504 return ret; in shm_mmap() 1593 unsigned long ret; in SYSCALL_DEFINE3() local 1596 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in SYSCALL_DEFINE3() 1600 return (long)ret; in SYSCALL_DEFINE3() [all …]
|