Lines Matching refs:r
223 int r; in pthread_mutex_init() local
237 r = ll_pthread_mutex_init(mutex, attr); in pthread_mutex_init()
238 if (r == 0) in pthread_mutex_init()
246 return r; in pthread_mutex_init()
251 int r; in pthread_mutex_lock() local
271 r = ll_pthread_mutex_lock(mutex); in pthread_mutex_lock()
272 if (r) in pthread_mutex_lock()
275 return r; in pthread_mutex_lock()
280 int r; in pthread_mutex_trylock() local
285 r = ll_pthread_mutex_trylock(mutex); in pthread_mutex_trylock()
286 if (r) in pthread_mutex_trylock()
289 return r; in pthread_mutex_trylock()
294 int r; in pthread_mutex_unlock() local
304 r = ll_pthread_mutex_unlock(mutex); in pthread_mutex_unlock()
305 if (r) in pthread_mutex_unlock()
308 return r; in pthread_mutex_unlock()
329 int r; in pthread_rwlock_init() local
333 r = ll_pthread_rwlock_init(rwlock, attr); in pthread_rwlock_init()
334 if (r == 0) in pthread_rwlock_init()
337 return r; in pthread_rwlock_init()
351 int r; in pthread_rwlock_rdlock() local
356 r = ll_pthread_rwlock_rdlock(rwlock); in pthread_rwlock_rdlock()
357 if (r) in pthread_rwlock_rdlock()
360 return r; in pthread_rwlock_rdlock()
365 int r; in pthread_rwlock_tryrdlock() local
370 r = ll_pthread_rwlock_tryrdlock(rwlock); in pthread_rwlock_tryrdlock()
371 if (r) in pthread_rwlock_tryrdlock()
374 return r; in pthread_rwlock_tryrdlock()
379 int r; in pthread_rwlock_trywrlock() local
384 r = ll_pthread_rwlock_trywrlock(rwlock); in pthread_rwlock_trywrlock()
385 if (r) in pthread_rwlock_trywrlock()
388 return r; in pthread_rwlock_trywrlock()
393 int r; in pthread_rwlock_wrlock() local
398 r = ll_pthread_rwlock_wrlock(rwlock); in pthread_rwlock_wrlock()
399 if (r) in pthread_rwlock_wrlock()
402 return r; in pthread_rwlock_wrlock()
407 int r; in pthread_rwlock_unlock() local
412 r = ll_pthread_rwlock_unlock(rwlock); in pthread_rwlock_unlock()
413 if (r) in pthread_rwlock_unlock()
416 return r; in pthread_rwlock_unlock()