Lines Matching defs:rtn
185 kern_return_t rtn = KERN_SUCCESS;
193 rtn = semaphore_wait(producerSema);
194 while( (KERN_SUCCESS != rtn)
195 && (KERN_OPERATION_TIMED_OUT != rtn)
196 && (KERN_SEMAPHORE_DESTROYED != rtn)
197 && (KERN_TERMINATED != rtn)
200 rtn = semaphore_timedwait(producerSema, MACH_TIMESPEC_ZERO);
202 if (KERN_SUCCESS != rtn)
203 return rtn;
231 return rtn;
238 kern_return_t rtn;
248 rtn = semaphore_timedwait(producerSema, MACH_TIMESPEC_ZERO);
249 } while (rtn == KERN_SUCCESS);