Lines Matching defs:ah
52 adt_session_data_t *ah; /* audit handle */
59 adt_session_data_t *ah; /* audit handle */
76 if (adt_start_session(&ah, NULL, 0) != 0) {
88 if (adt_set_from_ucred(ah, uc, ADT_NEW) != 0) {
94 if (adt_set_user(ah, ADT_NO_ATTRIB, ADT_NO_ATTRIB, ADT_NO_ATTRIB,
100 priv->ah = ah;
122 if (priv->ah == NULL) {
127 if ((event = adt_alloc_event(priv->ah, event_id)) == NULL) {
197 adt_end_session(priv->ah);
198 priv->ah = NULL;