Searched refs:event_class (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | sysevent_events.c | 69 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()
|
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libsysevent.h | 58 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 D | libsysevent.c | 1598 char *event_class, *event_subclass; in sysevent_send_event() local 1605 event_class = sysevent_get_class_name(ev); in sysevent_send_event() 1625 cache_find_class(shp, event_class), EC_SUB_ALL); in sysevent_send_event() 1632 cache_find_class(shp, event_class), event_subclass); in sysevent_send_event() 1723 event_class, event_subclass); in sysevent_send_event() 2311 char *event_class = (char *)ev_class; in sysevent_register_event() local 2318 if (event_class == NULL || event_subclass_list == NULL || in sysevent_register_event() 2330 if (nvlist_add_string_array(nvl, event_class, event_subclass_list, in sysevent_register_event() 2654 sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class, in sysevent_subscribe_event() argument 2657 return (sysevent_register_event(shp, event_class, in sysevent_subscribe_event() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | log_sysevent.c | 889 char *event_class, int index) in create_channel_registration() argument 894 class_len = strlen(event_class) + 1; in create_channel_registration() 897 bcopy(event_class, c_list->cl_name, class_len); in create_channel_registration() 1202 insert_class(sysevent_channel_descriptor_t *chan, char *event_class, in insert_class() argument 1207 if (strcmp(event_class, EC_ALL) == 0) { in insert_class() 1213 if (strlen(event_class) + 1 > MAX_CLASS_LEN) in insert_class() 1217 if ((c_list = find_class(chan, event_class)) == NULL) { in insert_class() 1218 c_list = create_channel_registration(chan, event_class, in insert_class() 1219 CLASS_HASH(event_class)); in insert_class() 1233 char *event_class; in add_registration() local [all …]
|