Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c604 __poll_t retval = 0; in mqueue_poll_file() local
610 retval = EPOLLIN | EPOLLRDNORM; in mqueue_poll_file()
613 retval |= EPOLLOUT | EPOLLWRNORM; in mqueue_poll_file()
616 return retval; in mqueue_poll_file()
643 int retval; in wq_sleep() local
656 retval = 0; in wq_sleep()
661 retval = 0; in wq_sleep()
665 retval = -ERESTARTSYS; in wq_sleep()
669 retval = -ETIMEDOUT; in wq_sleep()
677 return retval; in wq_sleep()
Dmsg.c136 int retval; in newque() local
148 retval = security_msg_queue_alloc(&msq->q_perm); in newque()
149 if (retval) { in newque()
151 return retval; in newque()
164 retval = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); in newque()
165 if (retval < 0) { in newque()
167 return retval; in newque()
Dsem.c511 int retval; in newary() local
531 retval = security_sem_alloc(&sma->sem_perm); in newary()
532 if (retval) { in newary()
534 return retval; in newary()
552 retval = ipc_addid(&sem_ids(ns), &sma->sem_perm, ns->sc_semmni); in newary()
553 if (retval < 0) { in newary()
555 return retval; in newary()
Dshm.c1631 int retval = -EINVAL; in ksys_shmdt() local
1639 return retval; in ksys_shmdt()
1694 retval = 0; in ksys_shmdt()
1724 retval = 0; in ksys_shmdt()
1730 return retval; in ksys_shmdt()