Lines Matching refs:sem
1326 int sem_init_intercept(sem_t *sem, int pshared, unsigned int value) in sem_init_intercept() argument
1332 sem, pshared, value, 0, 0); in sem_init_intercept()
1333 CALL_FN_W_WWW(ret, fn, sem, pshared, value); in sem_init_intercept()
1335 sem, 0, 0, 0, 0); in sem_init_intercept()
1340 (sem_t *sem, int pshared, unsigned int value), (sem, pshared, value));
1344 int sema_init_intercept(sema_t *sem, unsigned int value, int type, void *arg) in sema_init_intercept() argument
1350 sem, type == USYNC_PROCESS ? 1 : 0, in sema_init_intercept()
1352 CALL_FN_W_WWWW(ret, fn, sem, value, type, arg); in sema_init_intercept()
1354 sem, 0, 0, 0, 0); in sema_init_intercept()
1359 (sema_t *sem, unsigned int value, int type, void *arg),
1360 (sem, value, type, arg));
1364 int sem_destroy_intercept(sem_t *sem) in sem_destroy_intercept() argument
1370 sem, 0, 0, 0, 0); in sem_destroy_intercept()
1371 CALL_FN_W_W(ret, fn, sem); in sem_destroy_intercept()
1373 sem, 0, 0, 0, 0); in sem_destroy_intercept()
1377 PTH_FUNCS(int, semZudestroy, sem_destroy_intercept, (sem_t *sem), (sem));
1379 PTH_FUNCS(int, semaZudestroy, sem_destroy_intercept, (sem_t *sem), (sem));
1402 static __always_inline int sem_close_intercept(sem_t *sem) in sem_close_intercept() argument
1408 sem, 0, 0, 0, 0); in sem_close_intercept()
1409 CALL_FN_W_W(ret, fn, sem); in sem_close_intercept()
1411 sem, 0, 0, 0, 0); in sem_close_intercept()
1415 PTH_FUNCS(int, semZuclose, sem_close_intercept, (sem_t *sem), (sem));
1417 static __always_inline int sem_wait_intercept(sem_t *sem) in sem_wait_intercept() argument
1423 sem, 0, 0, 0, 0); in sem_wait_intercept()
1424 CALL_FN_W_W(ret, fn, sem); in sem_wait_intercept()
1426 sem, ret == 0, 0, 0, 0); in sem_wait_intercept()
1430 PTH_FUNCS(int, semZuwait, sem_wait_intercept, (sem_t *sem), (sem));
1432 PTH_FUNCS(int, semaZuwait, sem_wait_intercept, (sem_t *sem), (sem));
1435 static __always_inline int sem_trywait_intercept(sem_t *sem) in sem_trywait_intercept() argument
1441 sem, 0, 0, 0, 0); in sem_trywait_intercept()
1442 CALL_FN_W_W(ret, fn, sem); in sem_trywait_intercept()
1444 sem, ret == 0, 0, 0, 0); in sem_trywait_intercept()
1448 PTH_FUNCS(int, semZutrywait, sem_trywait_intercept, (sem_t *sem), (sem));
1450 PTH_FUNCS(int, semaZutrywait, sem_trywait_intercept, (sem_t *sem), (sem));
1454 int sem_timedwait_intercept(sem_t *sem, const struct timespec *abs_timeout) in sem_timedwait_intercept() argument
1460 sem, 0, 0, 0, 0); in sem_timedwait_intercept()
1461 CALL_FN_W_WW(ret, fn, sem, abs_timeout); in sem_timedwait_intercept()
1463 sem, ret == 0, 0, 0, 0); in sem_timedwait_intercept()
1468 (sem_t *sem, const struct timespec *abs_timeout),
1469 (sem, abs_timeout));
1472 (sem_t *sem, const struct timespec *timeout),
1473 (sem, timeout));
1475 (sem_t *sem, const struct timespec *timeout),
1476 (sem, timeout));
1479 static __always_inline int sem_post_intercept(sem_t *sem) in sem_post_intercept() argument
1485 sem, 0, 0, 0, 0); in sem_post_intercept()
1486 CALL_FN_W_W(ret, fn, sem); in sem_post_intercept()
1488 sem, ret == 0, 0, 0, 0); in sem_post_intercept()
1492 PTH_FUNCS(int, semZupost, sem_post_intercept, (sem_t *sem), (sem));
1494 PTH_FUNCS(int, semaZupost, sem_post_intercept, (sem_t *sem), (sem));