Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c222 int ret = -ENOMEM; in mqueue_get_inode() local
286 ret = -EMFILE; in mqueue_get_inode()
306 return ERR_PTR(ret); in mqueue_get_inode()
490 ssize_t ret; in mqueue_read_file() local
504 ret = simple_read_from_buffer(u_data, count, off, buffer, in mqueue_read_file()
506 if (ret <= 0) in mqueue_read_file()
507 return ret; in mqueue_read_file()
510 return ret; in mqueue_read_file()
736 int ret; in do_create() local
739 ret = mq_attr_ok(ipc_ns, attr); in do_create()
[all …]
Dsyscall.c19 int version, ret; in SYSCALL_DEFINE6() local
75 ret = do_shmat(first, (char __user *)ptr, in SYSCALL_DEFINE6()
77 if (ret) in SYSCALL_DEFINE6()
78 return ret; in SYSCALL_DEFINE6()
Dcompat_mq.c131 long ret; in compat_sys_mq_getsetattr() local
140 ret = sys_mq_getsetattr(mqdes, in compat_sys_mq_getsetattr()
143 if (ret) in compat_sys_mq_getsetattr()
144 return ret; in compat_sys_mq_getsetattr()
Dutil.c939 int ret; in sysvipc_proc_open() local
943 ret = -ENOMEM; in sysvipc_proc_open()
948 ret = seq_open(file, &sysvipc_proc_seqops); in sysvipc_proc_open()
949 if (ret) in sysvipc_proc_open()
958 return ret; in sysvipc_proc_open()
Dshm.c370 int ret; in shm_mmap() local
372 ret = sfd->file->f_op->mmap(sfd->file, vma); in shm_mmap()
373 if (ret != 0) in shm_mmap()
374 return ret; in shm_mmap()
382 return ret; in shm_mmap()
1132 unsigned long ret; in SYSCALL_DEFINE3() local
1135 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in SYSCALL_DEFINE3()
1139 return (long)ret; in SYSCALL_DEFINE3()
Dcompat.c557 unsigned long ret; in COMPAT_SYSCALL_DEFINE3() local
560 err = do_shmat(shmid, compat_ptr(shmaddr), shmflg, &ret, COMPAT_SHMLBA); in COMPAT_SYSCALL_DEFINE3()
564 return (long)ret; in COMPAT_SYSCALL_DEFINE3()