Lines Matching refs:_libkernel_functions
32 extern _libkernel_functions_t _libkernel_functions;
39 if (_libkernel_functions->malloc) { in malloc()
40 return _libkernel_functions->malloc(size); in malloc()
49 if (_libkernel_functions->free) { in free()
50 _libkernel_functions->free(ptr); in free()
58 if (_libkernel_functions->realloc) { in realloc()
59 return _libkernel_functions->realloc(ptr, size); in realloc()
79 return _libkernel_functions->_pthread_exit_if_canceled(error); in _pthread_exit_if_canceled()
92 if (_libkernel_functions->version >= 3 && in _pthread_clear_qos_tsd()
93 _libkernel_functions->pthread_clear_qos_tsd) { in _pthread_clear_qos_tsd()
94 return _libkernel_functions->pthread_clear_qos_tsd(thread_port); in _pthread_clear_qos_tsd()
102 if (_libkernel_functions->version >= 4 && in pthread_current_stack_contains_np()
103 _libkernel_functions->pthread_current_stack_contains_np) { in pthread_current_stack_contains_np()
104 return _libkernel_functions->pthread_current_stack_contains_np(addr, len); in pthread_current_stack_contains_np()