Lines Matching refs:pthread_functions
317 if (!pthread_functions) { in pthread_init()
320 pthread_functions->pthread_init(); in pthread_init()
326 pthread_functions->pth_proc_hashinit(p); in pth_proc_hashinit()
332 pthread_functions->pth_proc_hashdelete(p); in pth_proc_hashdelete()
339 …return pthread_functions->bsdthread_create(p, uap->func, uap->func_arg, uap->stack, uap->pthread, … in bsdthread_create()
351 if (pthread_functions->version >= 1) { in bsdthread_register()
352 return pthread_functions->bsdthread_register2(p, uap->threadstart, in bsdthread_register()
357 return pthread_functions->bsdthread_register(p, uap->threadstart, in bsdthread_register()
394 return pthread_functions->bsdthread_terminate(p, uap->stackaddr, uap->freesize, thp, sem, retval); in bsdthread_terminate()
400 return pthread_functions->thread_selfid(p, retval); in thread_selfid()
408 …return pthread_functions->psynch_mutexwait(p, uap->mutex, uap->mgen, uap->ugen, uap->tid, uap->fla… in psynch_mutexwait()
414 …return pthread_functions->psynch_mutexdrop(p, uap->mutex, uap->mgen, uap->ugen, uap->tid, uap->fla… in psynch_mutexdrop()
420 …return pthread_functions->psynch_cvbroad(p, uap->cv, uap->cvlsgen, uap->cvudgen, uap->flags, uap->… in psynch_cvbroad()
426 …return pthread_functions->psynch_cvsignal(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->thread_port,… in psynch_cvsignal()
432 …return pthread_functions->psynch_cvwait(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->mutex, uap->mu… in psynch_cvwait()
438 …return pthread_functions->psynch_cvclrprepost(p, uap->cv, uap->cvgen, uap->cvugen, uap->cvsgen, ua… in psynch_cvclrprepost()
444 …return pthread_functions->psynch_rw_longrdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw… in psynch_rw_longrdlock()
450 …return pthread_functions->psynch_rw_rdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc,… in psynch_rw_rdlock()
456 …return pthread_functions->psynch_rw_unlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc,… in psynch_rw_unlock()
468 …return pthread_functions->psynch_rw_wrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc,… in psynch_rw_wrlock()
474 …return pthread_functions->psynch_rw_yieldwrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->r… in psynch_rw_yieldwrlock()
492 if (pthread_functions->pthread_find_owner) { in kdp_pthread_find_owner()
493 pthread_functions->pthread_find_owner(thread, waitinfo); in kdp_pthread_find_owner()
500 if (pthread_functions->pthread_get_thread_kwq) { in kdp_pthread_get_thread_kwq()
501 return pthread_functions->pthread_get_thread_kwq(thread); in kdp_pthread_get_thread_kwq()
619 pthread_functions_t pthread_functions = NULL; variable
630 if (pthread_functions != NULL) { in pthread_kext_register()
641 pthread_functions = fns; in pthread_kext_register()