Searched refs:retval (Results 1 – 4 of 4) sorted by relevance
604 __poll_t retval = 0; in mqueue_poll_file() local610 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() local656 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()
136 int retval; in newque() local148 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()
511 int retval; in newary() local531 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()
1631 int retval = -EINVAL; in ksys_shmdt() local1639 return retval; in ksys_shmdt()1694 retval = 0; in ksys_shmdt()1724 retval = 0; in ksys_shmdt()1730 return retval; in ksys_shmdt()