Lines Matching refs:event_idx

713 					  size_t event_idx,  in catalog_event_len_validate()  argument
724 if (event_idx >= event_entry_count) { in catalog_event_len_validate()
732 event_idx); in catalog_event_len_validate()
740 event_idx, ev_len, event); in catalog_event_len_validate()
745 event_idx, ev_len, ev_end, end, in catalog_event_len_validate()
753 event_idx, event_data_bytes, event, end, in catalog_event_len_validate()
760 event_idx, event, ev_end, offset, calc_ev_end); in catalog_event_len_validate()
784 event_data_bytes, junk_events, event_idx, event_attr_ct, i, in create_events_from_catalog() local
889 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog()
891 event_idx++, event = (void *)event + ev_len) { in create_events_from_catalog()
896 ev_len = catalog_event_len_validate(event, event_idx, in create_events_from_catalog()
911 event_idx, nl, name); in create_events_from_catalog()
918 event_idx, nl, name, event->domain); in create_events_from_catalog()
926 event_idx_last = event_idx; in create_events_from_catalog()
937 event_descs = kmalloc_array(event_idx + 1, sizeof(*event_descs), in create_events_from_catalog()
944 event_long_descs = kmalloc_array(event_idx + 1, in create_events_from_catalog()
953 event = event_data, event_idx = 0; in create_events_from_catalog()
954 event_idx < event_idx_last; in create_events_from_catalog()
955 event_idx++, ev_len = be16_to_cpu(event->length), in create_events_from_catalog()
974 ct = event_data_to_attrs(event_idx, events + event_attr_ct, in create_events_from_catalog()
978 event_idx, nl, name); in create_events_from_catalog()
993 event_idx, event_attr_ct, junk_events, desc_ct); in create_events_from_catalog()