Lines Matching refs:rv
50 int rv;
52 rv = _lwp_sema_wait(sem);
53 } while (rv == EINTR);
70 int rv;
71 rv = _lwp_sema_wait(sem);
72 switch (rv) {
74 /* rv = 0 ; success */
78 rv = 1; /* interrrupted */
82 return (rv);
93 int rv;
94 rv = _lwp_sema_trywait(sem);
96 switch (rv) {
98 rv = 1; /* success */
102 rv = 0; /* failed */
106 return (rv);