Lines Matching refs:tlsKey
219 static pthread_key_t tlsKey = INVALID_KEY; variable
694 if(tlsKey != INVALID_KEY) { in set_thread_context()
695 pthread_setspecific(tlsKey, (void*)&hlist[domain]); in set_thread_context()
702 list = (struct handle_list*)pthread_getspecific(tlsKey); in get_domain_id()
715 list = (struct handle_list*)pthread_getspecific(tlsKey); in is_smmu_enabled()
761 if(0 == pthread_getspecific(tlsKey)) { in remote_handle_invoke_domain()
762 pthread_setspecific(tlsKey, (void*)list); in remote_handle_invoke_domain()
791 if (0 == pthread_getspecific(tlsKey)) in remote_handle_invoke_domain()
793 pthread_setspecific(tlsKey, (void *)1); in remote_handle_invoke_domain()
807 list = (struct handle_list*)pthread_getspecific(tlsKey); in remote_handle_invoke()
1205 list = (struct handle_list*)pthread_getspecific(tlsKey); in remote_mmap64()
1233 list = (struct handle_list*)pthread_getspecific(tlsKey); in remote_munmap64()
1632 pthread_setspecific(tlsKey, (void*)&hlist[domain]); in apps_dev_init()
1762 if(0 == pthread_getspecific(tlsKey)) { in open_dev()
1763 pthread_setspecific(tlsKey, (void*)&hlist[domain]); in open_dev()
1811 if(tlsKey != INVALID_KEY) { in fastrpc_apps_user_deinit()
1812 pthread_key_delete(tlsKey); in fastrpc_apps_user_deinit()
1813 tlsKey = INVALID_KEY; in fastrpc_apps_user_deinit()
1881 VERIFY(AEE_SUCCESS == (nErr = pthread_key_create(&tlsKey, exit_thread))); in fastrpc_apps_user_init()