Lines Matching refs:aia_p
85 #define AU_SENTRY_PTR(aia_p) ((au_sentry_t *)(aia_p))
179 static void audit_session_event(int event, auditinfo_addr_t *aia_p);
436 auditinfo_addr_t *aia_p = cred->cr_audit.as_aia_p;
441 if (IS_VALID_SESSION(aia_p)) {
444 if (aia_p->ai_asid == sdtp->se_asid) {
448 se = AU_SENTRY_PTR(aia_p);
573 audit_session_event(int event, auditinfo_addr_t *aia_p)
581 if (NULL == aia_p)
608 ar->k_ar.ar_subj_auid = aia_p->ai_auid;
609 ar->k_ar.ar_subj_asid = aia_p->ai_asid;
610 bcopy(&aia_p->ai_termid, &ar->k_ar.ar_subj_term_addr,
614 ar->k_ar.ar_arg_amask.am_success = aia_p->ai_mask.am_success;
615 ar->k_ar.ar_arg_amask.am_failure = aia_p->ai_mask.am_failure;
619 ar->k_ar.ar_arg_value64 = aia_p->ai_flags;
963 audit_session_aiaref(auditinfo_addr_t *aia_p)
966 audit_ref_session(AU_SENTRY_PTR(aia_p));
975 auditinfo_addr_t *aia_p;
980 aia_p = cred->cr_audit.as_aia_p;
981 audit_session_aiaref(aia_p);
984 void audit_session_aiaunref(auditinfo_addr_t *aia_p)
987 audit_unref_session(AU_SENTRY_PTR(aia_p));
996 auditinfo_addr_t *aia_p;
1001 aia_p = cred->cr_audit.as_aia_p;
1002 audit_session_aiaunref(aia_p);
1013 auditinfo_addr_t *aia_p;
1018 aia_p = cred->cr_audit.as_aia_p;
1020 audit_inc_procount(AU_SENTRY_PTR(aia_p));
1031 auditinfo_addr_t *aia_p;
1036 aia_p = cred->cr_audit.as_aia_p;
1038 audit_dec_procount(AU_SENTRY_PTR(aia_p));
1224 auditinfo_addr_t *aia_p;
1234 aia_p = cred->cr_audit.as_aia_p;
1235 if (!IS_VALID_SESSION(aia_p)) {
1241 se = AU_SENTRY_PTR(aia_p);
1255 sendport = audit_session_mksend(aia_p, &se->se_port);
1293 auditinfo_addr_t *aia_p = NULL;
1309 aia_p = cred->cr_audit.as_aia_p;
1316 uap->asid == aia_p->ai_asid) {
1318 if (!IS_VALID_SESSION(aia_p)) {
1327 se = AU_SENTRY_PTR(aia_p);
1340 aia_p = &se->se_auinfo;
1359 sendport = audit_session_mksend(aia_p, &se->se_port);
1675 audit_sdev_get_aia(proc_t p, struct auditinfo_addr *aia_p)
1683 if (NULL != aia_p)
1684 bcopy(scred->cr_audit.as_aia_p, aia_p, sizeof (*aia_p));