Searched refs:context_key (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
H A D | init.c | 40 static HEIMDAL_thread_key context_key; variable 60 HEIMDAL_key_create(&context_key, destroy_context, ret); in _gsskrb5_init() 69 *context = HEIMDAL_getspecific(context_key); in _gsskrb5_init() 74 HEIMDAL_setspecific(context_key, *context, ret); in _gsskrb5_init()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
H A D | context.c | 16 static HEIMDAL_thread_key context_key; variable 43 HEIMDAL_key_create(&context_key, destroy_context, ret); in _gss_mechglue_thread() 52 ctx = HEIMDAL_getspecific(context_key); in _gss_mechglue_thread() 58 HEIMDAL_setspecific(context_key, ctx, ret); in _gss_mechglue_thread()
|
/netbsd-src/lib/librefuse/ |
H A D | refuse.c | 128 static pthread_key_t context_key; variable 139 if ((ctxt = pthread_getspecific(context_key)) == NULL) { in fuse_get_context() 143 pthread_setspecific(context_key, ctxt); in fuse_get_context() 176 if (pthread_key_create(&context_key, free_context) != 0) { in create_context_key() 210 free(pthread_getspecific(context_key)); in delete_context_key() 211 pthread_key_delete(context_key); in delete_context_key()
|