Lines Matching defs:credp
255 static void kauth_cred_unref_hashlocked(kauth_cred_t *credp);
4440 * Parameters: credp Pointer to address containing
4446 * *credp Set to NOCRED
4463 kauth_cred_unref_hashlocked(kauth_cred_t *credp)
4468 NULLCRED_CHECK(*credp);
4470 old_value = OSAddAtomicLong(-1, (long*)&(*credp)->cr_ref);
4474 panic("%s:0x%08x kauth_cred_unref_hashlocked: dropping a reference on a cred with no references", current_proc()->p_comm, *credp);
4476 panic("%s:0x%08x kauth_cred_unref_hashlocked: dropping a reference on a cred with no hash entry", current_proc()->p_comm, *credp);
4480 if ( is_target_cred( *credp ) != 0 ) {
4491 kauth_cred_remove(*credp);
4493 *credp = NOCRED;
4504 * Parameters: credp Pointer to address containing
4510 * *credp Set to NOCRED
4516 kauth_cred_unref(kauth_cred_t *credp)
4519 kauth_cred_unref_hashlocked(credp);
5207 void *credp;
5268 nextp->credp = found_cred;