Lines Matching refs:aemp
73 struct audit_event_map *aemp;
75 aemp = malloc(sizeof(*aemp));
76 if (aemp == NULL)
77 return (aemp);
78 bzero(aemp, sizeof(*aemp));
79 aemp->ev.ae_name = aemp->ev_name;
80 aemp->ev.ae_desc = aemp->ev_desc;
81 return (aemp);
85 audit_event_map_free(struct audit_event_map *aemp)
88 free(aemp);
98 struct audit_event_map *aemp;
102 while ((aemp = LIST_FIRST(&ev_cache)) != NULL) {
103 LIST_REMOVE(aemp, ev_list);
104 audit_event_map_free(aemp);
111 struct audit_event_map *aemp;
122 aemp = audit_event_map_alloc();
123 if (aemp == NULL) {
127 ep = getauevent_r(&aemp->ev);
129 LIST_INSERT_HEAD(&ev_cache, aemp, ev_list);
131 audit_event_map_free(aemp);