Lines Matching defs:credp
177 static void kauth_cred_unref_hashlocked(kauth_cred_t *credp);
3529 * Parameters: credp Pointer to address containing
3535 * *credp Set to NOCRED
3552 kauth_cred_unref_hashlocked(kauth_cred_t *credp)
3557 NULLCRED_CHECK(*credp);
3560 old_value = OSAddAtomic(-1, (SInt32 *)&(*credp)->cr_ref);
3564 panic("%s:0x%08x kauth_cred_unref_hashlocked: dropping a reference on a cred with no references", current_proc()->p_comm, *credp);
3566 panic("%s:0x%08x kauth_cred_unref_hashlocked: dropping a reference on a cred with no hash entry", current_proc()->p_comm, *credp);
3570 if ( is_target_cred( *credp ) != 0 ) {
3581 kauth_cred_remove(*credp);
3583 *credp = NOCRED;
3594 * Parameters: credp Pointer to address containing
3600 * *credp Set to NOCRED
3606 kauth_cred_unref(kauth_cred_t *credp)
3609 kauth_cred_unref_hashlocked(credp);
4274 void *credp;
4335 nextp->credp = found_cred;