Home
last modified time | relevance | path

Searched refs:event_class (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dgetauditflags.c128 if (((event_class[i].event_mask & masks->as_success) > 0) || in getauditflagschar()
129 ((event_class[i].event_mask & masks->as_failure) > 0)) { in getauditflagschar()
134 if (((event_class[i].event_mask & masks->as_success) > in getauditflagschar()
136 ((event_class[i].event_mask & masks->as_failure) > 0)) in getauditflagschar()
142 if ((event_class[i].event_mask & masks->as_success) > 0) in getauditflagschar()
152 if ((event_class[i].event_mask & masks->as_failure) > 0) in getauditflagschar()
249 ((stringcopy(auditstring,event_class[11].event_lname,1)) == -1) in getauditflagschar()
252 if ((stringcopy(auditstring, event_class[11].event_sname,1)) == -1) in getauditflagschar()
273 event_class[except[i].exception].event_lname, 1))==-1) in getauditflagschar()
277 event_class[except[i].exception].event_sname, 1))==-1) in getauditflagschar()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c69 char *event_class = sysevent_get_class_name(ev); in sysevent_handler() local
73 nlog(LOG_DEBUG, "sysevent_handler: event %s/%s", event_class, in sysevent_handler()
77 if ((strcmp(event_class, EC_DEV_ADD) != 0 && in sysevent_handler()
78 strcmp(event_class, EC_DEV_REMOVE) != 0) || in sysevent_handler()
81 "class/subclass %s/%s", event_class, event_subclass); in sysevent_handler()
85 link_added = (strcmp(event_class, EC_DEV_ADD) == 0); in sysevent_handler()
/titanic_44/usr/src/lib/libsysevent/
H A Dlibsysevent.h58 int sysevent_post_event(char *event_class, char *event_subclass, char *vendor,
86 const char *event_class, const char **event_subclass_list,
89 const char *event_class);
92 sysevent_t *sysevent_alloc_event(char *event_class, char *event_subclass,
105 int sysevent_register_event(sysevent_handle_t *shp, const char *event_class,
108 const char *event_class);
H A Dllib-lsysevent34 int sysevent_post_event(char *event_class, char *event_subclass, char *vendor,
75 sysevent_t * sysevent_alloc_event(char *event_class, char *event_subclass,
93 int sysevent_register_event(sysevent_handle_t *shp, const char *event_class,
97 const char *event_class);
107 int sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class,
111 const char *event_class);
120 int sysevent_evc_publish(evchan_t *scp, const char *event_class,
125 const char *event_class,
129 const char *event_class,
H A Dlibsysevent.c1597 char *event_class, *event_subclass; in sysevent_send_event() local
1604 event_class = sysevent_get_class_name(ev); in sysevent_send_event()
1624 cache_find_class(shp, event_class), EC_SUB_ALL); in sysevent_send_event()
1631 cache_find_class(shp, event_class), event_subclass); in sysevent_send_event()
1722 event_class, event_subclass); in sysevent_send_event()
2312 char *event_class = (char *)ev_class; in sysevent_register_event() local
2319 if (event_class == NULL || event_subclass_list == NULL || in sysevent_register_event()
2331 if (nvlist_add_string_array(nvl, event_class, event_subclass_list, in sysevent_register_event()
2655 sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class, in sysevent_subscribe_event() argument
2658 return (sysevent_register_event(shp, event_class, in sysevent_subscribe_event()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dlog_sysevent.c868 char *event_class, int index) in create_channel_registration() argument
873 class_len = strlen(event_class) + 1; in create_channel_registration()
876 bcopy(event_class, c_list->cl_name, class_len); in create_channel_registration()
1181 insert_class(sysevent_channel_descriptor_t *chan, char *event_class, in insert_class() argument
1186 if (strcmp(event_class, EC_ALL) == 0) { in insert_class()
1192 if (strlen(event_class) + 1 > MAX_CLASS_LEN) in insert_class()
1196 if ((c_list = find_class(chan, event_class)) == NULL) { in insert_class()
1197 c_list = create_channel_registration(chan, event_class, in insert_class()
1198 CLASS_HASH(event_class)); in insert_class()
1212 char *event_class; in add_registration() local
[all …]
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dauevents.h45 } event_class[] ={ variable