Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c678 __poll_t retval = 0; in mqueue_poll_file() local
684 retval = EPOLLIN | EPOLLRDNORM; in mqueue_poll_file()
687 retval |= EPOLLOUT | EPOLLWRNORM; in mqueue_poll_file()
690 return retval; in mqueue_poll_file()
717 int retval; in wq_sleep() local
733 retval = 0; in wq_sleep()
740 retval = 0; in wq_sleep()
744 retval = -ERESTARTSYS; in wq_sleep()
748 retval = -ETIMEDOUT; in wq_sleep()
756 return retval; in wq_sleep()
Dmsg.c146 int retval; in newque() local
158 retval = security_msg_queue_alloc(&msq->q_perm); in newque()
159 if (retval) { in newque()
161 return retval; in newque()
174 retval = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); in newque()
175 if (retval < 0) { in newque()
177 return retval; in newque()
Dsem.c530 int retval; in newary() local
550 retval = security_sem_alloc(&sma->sem_perm); in newary()
551 if (retval) { in newary()
553 return retval; in newary()
571 retval = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); in newary()
572 if (retval < 0) { in newary()
574 return retval; in newary()
Dshm.c1726 int retval = -EINVAL; in ksys_shmdt() local
1734 return retval; in ksys_shmdt()
1789 retval = 0; in ksys_shmdt()
1819 retval = 0; in ksys_shmdt()
1825 return retval; in ksys_shmdt()