Lines Matching refs:ccache
63 kcm_ccache *ccache)
68 *ccache = NULL;
85 *ccache = p;
96 kcm_ccache *ccache)
101 *ccache = NULL;
118 *ccache = p;
234 kcm_ccache *p, ccache;
256 ccache = *p;
258 kcm_free_ccache_data_internal(context, ccache);
259 free(ccache);
270 kcm_ccache *ccache)
276 *ccache = NULL;
332 *ccache = slot;
348 kcm_ccache ccache)
352 k = ccache->creds;
361 ccache->creds = NULL;
368 kcm_ccache ccache)
372 KCM_ASSERT_VALID(ccache);
374 HEIMDAL_MUTEX_lock(&ccache->mutex);
375 ret = kcm_ccache_remove_creds_internal(context, ccache);
376 HEIMDAL_MUTEX_unlock(&ccache->mutex);
417 kcm_ccache ccache)
419 KCM_ASSERT_VALID(ccache);
421 HEIMDAL_MUTEX_lock(&ccache->mutex);
422 ccache->refcnt++;
423 HEIMDAL_MUTEX_unlock(&ccache->mutex);
452 kcm_ccache *ccache)
462 ret = kcm_ccache_new(context, name, ccache);
471 kcm_ccache *ccache)
475 ret = kcm_ccache_alloc(context, name, ccache);
481 kcm_retain_ccache(context, *ccache);
489 kcm_ccache ccache)
493 KCM_ASSERT_VALID(ccache);
495 if (ccache->creds == NULL) {
496 ret = kcm_ccache_destroy(context, ccache->name);
505 kcm_ccache ccache,
512 KCM_ASSERT_VALID(ccache);
514 HEIMDAL_MUTEX_lock(&ccache->mutex);
515 ret = kcm_ccache_store_cred_internal(context, ccache, creds, copy, &tmp);
516 HEIMDAL_MUTEX_unlock(&ccache->mutex);
523 kcm_ccache ccache,
528 for (c = ccache->creds; c != NULL; c = c->next)
539 kcm_ccache ccache,
547 for (c = &ccache->creds; *c != NULL; c = &(*c)->next)
574 kcm_ccache ccache,
583 for (c = &ccache->creds; *c != NULL; c = &(*c)->next) {
601 kcm_ccache ccache,
607 KCM_ASSERT_VALID(ccache);
609 HEIMDAL_MUTEX_lock(&ccache->mutex);
610 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds);
611 HEIMDAL_MUTEX_unlock(&ccache->mutex);
618 kcm_ccache ccache,
632 for (c = ccache->creds; c != NULL; c = c->next) {
648 kcm_ccache ccache,
655 KCM_ASSERT_VALID(ccache);
657 HEIMDAL_MUTEX_lock(&ccache->mutex);
658 ret = kcm_ccache_retrieve_cred_internal(context, ccache,
660 HEIMDAL_MUTEX_unlock(&ccache->mutex);