Lines Matching refs:ccache

58 		   kcm_ccache *ccache)
63 *ccache = NULL;
80 *ccache = p;
91 kcm_ccache *ccache)
96 *ccache = NULL;
113 *ccache = p;
229 kcm_ccache *p, ccache;
251 ccache = *p;
253 kcm_free_ccache_data_internal(context, ccache);
254 free(ccache);
265 kcm_ccache *ccache)
271 *ccache = NULL;
326 *ccache = slot;
342 kcm_ccache ccache)
346 k = ccache->creds;
355 ccache->creds = NULL;
362 kcm_ccache ccache)
366 KCM_ASSERT_VALID(ccache);
368 HEIMDAL_MUTEX_lock(&ccache->mutex);
369 ret = kcm_ccache_remove_creds_internal(context, ccache);
370 HEIMDAL_MUTEX_unlock(&ccache->mutex);
411 kcm_ccache ccache)
413 KCM_ASSERT_VALID(ccache);
415 HEIMDAL_MUTEX_lock(&ccache->mutex);
416 ccache->refcnt++;
417 HEIMDAL_MUTEX_unlock(&ccache->mutex);
446 kcm_ccache *ccache)
456 ret = kcm_ccache_new(context, name, ccache);
465 kcm_ccache *ccache)
469 ret = kcm_ccache_alloc(context, name, ccache);
475 kcm_retain_ccache(context, *ccache);
483 kcm_ccache ccache)
487 KCM_ASSERT_VALID(ccache);
489 if (ccache->creds == NULL) {
490 ret = kcm_ccache_destroy(context, ccache->name);
499 kcm_ccache ccache,
506 KCM_ASSERT_VALID(ccache);
508 HEIMDAL_MUTEX_lock(&ccache->mutex);
509 ret = kcm_ccache_store_cred_internal(context, ccache, creds, copy, &tmp);
510 HEIMDAL_MUTEX_unlock(&ccache->mutex);
517 kcm_ccache ccache,
522 for (c = ccache->creds; c != NULL; c = c->next)
533 kcm_ccache ccache,
541 for (c = &ccache->creds; *c != NULL; c = &(*c)->next)
568 kcm_ccache ccache,
577 for (c = &ccache->creds; *c != NULL; c = &(*c)->next) {
595 kcm_ccache ccache,
601 KCM_ASSERT_VALID(ccache);
603 HEIMDAL_MUTEX_lock(&ccache->mutex);
604 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds);
605 HEIMDAL_MUTEX_unlock(&ccache->mutex);
612 kcm_ccache ccache,
626 for (c = ccache->creds; c != NULL; c = c->next) {
642 kcm_ccache ccache,
649 KCM_ASSERT_VALID(ccache);
651 HEIMDAL_MUTEX_lock(&ccache->mutex);
652 ret = kcm_ccache_retrieve_cred_internal(context, ccache,
654 HEIMDAL_MUTEX_unlock(&ccache->mutex);