• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/kcm/

Lines Matching refs:ccache

147 			   kcm_ccache *ccache)
152 *ccache = NULL;
167 *ccache = p;
178 kcm_ccache *ccache)
183 *ccache = NULL;
198 *ccache = p;
334 kcm_update_renew_time(kcm_ccache ccache)
337 time_t expire = ccache->expire;
348 ccache->name, (int)(renewtime - time(NULL)));
350 heim_ipc_event_set_time(ccache->renew_event, renewtime);
351 ccache->renew_time = renewtime;
550 kcm_ccache ccache,
558 if ((ccache->flags & KCM_MASK_KEY_PRESENT) == 0)
560 if (ccache->client == NULL)
565 kcm_update_expire_time(ccache, 0);
569 ccache->next_refresh_time = 0;
573 kcm_update_expire_time(ccache, time(NULL) + 300);
579 if (ccache->expire > now) {
580 next_refresh = ccache->expire;
582 if (ccache->expire - now > 300)
584 kcm_update_expire_time(ccache, next_refresh + 300);
586 ccache->next_refresh_time = 0;
601 cred.client = ccache->client;
613 ret = kcm_ccache_store_cred_internal(context, ccache, &cred, NULL, 1);
647 kcm_ccache ccache)
651 k = ccache->creds;
660 ccache->creds = NULL;
669 kcm_ccache ccache)
673 KCM_ASSERT_VALID(ccache);
675 HEIMDAL_MUTEX_lock(&ccache->mutex);
676 ret = kcm_ccache_remove_creds_internal(context, ccache);
677 HEIMDAL_MUTEX_unlock(&ccache->mutex);
718 kcm_ccache ccache)
720 KCM_ASSERT_VALID(ccache);
722 HEIMDAL_MUTEX_lock(&ccache->mutex);
723 ccache->refcnt++;
724 HEIMDAL_MUTEX_unlock(&ccache->mutex);
758 kcm_ccache *ccache)
762 ret = kcm_ccache_alloc(context, name, ccache);
768 kcm_retain_ccache(context, *ccache);
776 kcm_ccache ccache,
782 KCM_ASSERT_VALID(ccache);
784 HEIMDAL_MUTEX_lock(&ccache->mutex);
785 ret = kcm_ccache_store_cred_internal(context, ccache, creds, NULL, copy);
786 HEIMDAL_MUTEX_unlock(&ccache->mutex);
793 kcm_ccache ccache,
798 for (c = ccache->creds; c != NULL; c = c->next)
809 kcm_ccache ccache,
821 c = &ccache->creds;
864 kcm_ccache ccache,
873 for (c = &ccache->creds; *c != NULL; c = &(*c)->next) {
893 kcm_ccache ccache,
899 KCM_ASSERT_VALID(ccache);
901 HEIMDAL_MUTEX_lock(&ccache->mutex);
902 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds);
903 HEIMDAL_MUTEX_unlock(&ccache->mutex);
910 kcm_ccache ccache,
924 for (c = ccache->creds; c != NULL; c = c->next) {
940 kcm_ccache ccache,
947 KCM_ASSERT_VALID(ccache);
949 HEIMDAL_MUTEX_lock(&ccache->mutex);
950 ret = kcm_ccache_retrieve_cred_internal(context, ccache,
952 HEIMDAL_MUTEX_unlock(&ccache->mutex);