Lines Matching refs:id

81 rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep)
83 struct mem_data *t = (struct mem_data *)id->data;
151 krb5_rc_mem_get_name(krb5_context context, krb5_rcache id)
153 return (((struct mem_data *)(id->data))->name);
158 krb5_rc_mem_get_span(krb5_context context, krb5_rcache id,
163 k5_mutex_lock(&id->lock);
166 t = (struct mem_data *)id->data;
170 k5_mutex_unlock(&id->lock);
176 krb5_rc_mem_init_locked(krb5_context context, krb5_rcache id,
179 struct mem_data *t = (struct mem_data *)id->data;
187 krb5_rc_mem_init(krb5_context context, krb5_rcache id, krb5_deltat lifespan)
191 k5_mutex_lock(&id->lock);
194 retval = krb5_rc_mem_init_locked(context, id, lifespan);
197 k5_mutex_unlock(&id->lock);
208 krb5_rc_mem_close(krb5_context context, krb5_rcache id)
214 krb5_rc_mem_destroy(krb5_context context, krb5_rcache id)
216 return (krb5_rc_mem_close(context, id));
221 krb5_rc_mem_resolve(krb5_context context, krb5_rcache id, char *name)
234 id->data = (krb5_pointer)grcache.data;
238 /* allocate id? no */
243 grcache.data = id->data = (krb5_pointer)t;
272 id->data = NULL;
284 krb5_rc_mem_recover(krb5_context context, krb5_rcache id)
290 krb5_rc_mem_recover_or_init(krb5_context context, krb5_rcache id,
295 retval = krb5_rc_mem_recover(context, id);
297 retval = krb5_rc_mem_init(context, id, lifespan);
303 krb5_rc_mem_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep)
305 k5_mutex_lock(&id->lock);
308 switch (rc_store(context, id, rep)) {
311 k5_mutex_unlock(&id->lock);
315 k5_mutex_unlock(&id->lock);
319 k5_mutex_unlock(&id->lock);
326 k5_mutex_unlock(&id->lock);