Lines Matching refs:event_data
217 static void process_event_record(uint8_t *event_data, size_t bytes) in process_event_record() argument
219 struct record *rec = (struct record *)event_data; in process_event_record()
227 static void display_event(uint8_t *event_data, size_t bytes) in display_event() argument
231 if (!(event_data && bytes > 0)) in display_event()
236 printf("\t0x%02x", event_data[i]); in display_event()
238 printf("\n\t0x%02x", event_data[i]); in display_event()
240 printf(" 0x%02x", event_data[i]); in display_event()
243 process_event_record(event_data, bytes); in display_event()
249 uint8_t event_data[128]; /* Event data buffer */ in get_hab_status() local
250 size_t bytes = sizeof(event_data); /* Event size in bytes */ in get_hab_status()
271 while (hab_rvt_report_event(HAB_FAILURE, index, event_data, in get_hab_status()
277 display_event(event_data, bytes); in get_hab_status()
279 bytes = sizeof(event_data); in get_hab_status()