Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c295 int ret = -ENOMEM; in mqueue_get_inode() local
349 ret = -EINVAL; in mqueue_get_inode()
361 ret = -EOVERFLOW; in mqueue_get_inode()
384 ret = -EMFILE; in mqueue_get_inode()
401 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.c55 int ret, semmni; in proc_ipc_sem_dointvec() local
58 ret = proc_dointvec(table, write, buffer, lenp, ppos); in proc_ipc_sem_dointvec()
60 if (!ret) in proc_ipc_sem_dointvec()
61 ret = sem_check_semmni(ns); in proc_ipc_sem_dointvec()
66 if (ret) in proc_ipc_sem_dointvec()
68 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.c595 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()
[all …]
Dmsg.c1308 int ret; in msg_init_ns() local
1314 ret = percpu_counter_init(&ns->percpu_msg_bytes, 0, GFP_KERNEL); in msg_init_ns()
1315 if (ret) in msg_init_ns()
1317 ret = percpu_counter_init(&ns->percpu_msg_hdrs, 0, GFP_KERNEL); in msg_init_ns()
1318 if (ret) in msg_init_ns()
1326 return ret; in msg_init_ns()
Dsem.c2230 int ret; in do_semtimedop() local
2245 ret = -EFAULT; in do_semtimedop()
2249 ret = __do_semtimedop(semid, sops, nsops, timeout, ns); in do_semtimedop()
2255 return ret; in do_semtimedop()