Lines Matching refs:event_idx

690 					  size_t event_idx,  in catalog_event_len_validate()  argument
701 if (event_idx >= event_entry_count) { in catalog_event_len_validate()
709 event_idx); in catalog_event_len_validate()
717 event_idx, ev_len, event); in catalog_event_len_validate()
722 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
730 event_idx, event_data_bytes, event, end, in catalog_event_len_validate()
737 event_idx, event, ev_end, offset, calc_ev_end); in catalog_event_len_validate()
761 event_data_bytes, junk_events, event_idx, event_attr_ct, i, in create_events_from_catalog() local
866 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
868 event_idx++, event = (void *)event + ev_len) { in create_events_from_catalog()
873 ev_len = catalog_event_len_validate(event, event_idx, in create_events_from_catalog()
888 event_idx, nl, name); in create_events_from_catalog()
895 event_idx, nl, name, event->domain); in create_events_from_catalog()
903 event_idx_last = event_idx; in create_events_from_catalog()
914 event_descs = kmalloc_array(event_idx + 1, sizeof(*event_descs), in create_events_from_catalog()
921 event_long_descs = kmalloc_array(event_idx + 1, in create_events_from_catalog()
930 event = event_data, event_idx = 0; in create_events_from_catalog()
931 event_idx < event_idx_last; in create_events_from_catalog()
932 event_idx++, ev_len = be16_to_cpu(event->length), in create_events_from_catalog()
951 ct = event_data_to_attrs(event_idx, events + event_attr_ct, in create_events_from_catalog()
955 event_idx, nl, name); in create_events_from_catalog()
970 event_idx, event_attr_ct, junk_events, desc_ct); in create_events_from_catalog()