Lines Matching refs:n_u64

125 	unsigned int i, size, n_u64;  in synth_event_define_fields()  local
130 for (i = 0, n_u64 = 0; i < event->n_fields; i++) { in synth_event_define_fields()
140 event->fields[i]->offset = n_u64; in synth_event_define_fields()
144 n_u64 += STR_VAR_LEN_MAX / sizeof(u64); in synth_event_define_fields()
147 n_u64++; in synth_event_define_fields()
151 event->n_u64 = n_u64; in synth_event_define_fields()
328 unsigned int i, n_u64; in print_synth_event() local
337 for (i = 0, n_u64 = 0; i < se->n_fields; i++) { in print_synth_event()
355 offset = (u32)entry->fields[n_u64]; in print_synth_event()
364 n_u64++; in print_synth_event()
368 (char *)&entry->fields[n_u64], in print_synth_event()
370 n_u64 += STR_VAR_LEN_MAX / sizeof(u64); in print_synth_event()
380 entry->fields[n_u64], in print_synth_event()
386 entry->fields[n_u64], in print_synth_event()
390 n_u64++; in print_synth_event()
408 unsigned int *n_u64) in trace_string() argument
417 data_offset += event->n_u64 * sizeof(u64); in trace_string()
426 *(u32 *)&entry->fields[*n_u64] = data_offset; in trace_string()
428 (*n_u64)++; in trace_string()
430 str_field = (char *)&entry->fields[*n_u64]; in trace_string()
433 (*n_u64) += STR_VAR_LEN_MAX / sizeof(u64); in trace_string()
443 unsigned int i, n_u64, val_idx, len, data_size = 0; in trace_event_raw_event_synth() local
456 fields_size = event->n_u64 * sizeof(u64); in trace_event_raw_event_synth()
482 for (i = 0, n_u64 = 0; i < event->n_fields; i++) { in trace_event_raw_event_synth()
489 data_size, &n_u64); in trace_event_raw_event_synth()
497 *(u8 *)&entry->fields[n_u64] = (u8)val; in trace_event_raw_event_synth()
501 *(u16 *)&entry->fields[n_u64] = (u16)val; in trace_event_raw_event_synth()
505 *(u32 *)&entry->fields[n_u64] = (u32)val; in trace_event_raw_event_synth()
509 entry->fields[n_u64] = val; in trace_event_raw_event_synth()
512 n_u64++; in trace_event_raw_event_synth()
1583 fields_size = trace_state->event->n_u64 * sizeof(u64); in __synth_event_trace_start()
1634 unsigned int i, n_u64, len, data_size = 0; in synth_event_trace() local
1675 for (i = 0, n_u64 = 0; i < state.event->n_fields; i++) { in synth_event_trace()
1685 data_size, &n_u64); in synth_event_trace()
1692 *(u8 *)&state.entry->fields[n_u64] = (u8)val; in synth_event_trace()
1696 *(u16 *)&state.entry->fields[n_u64] = (u16)val; in synth_event_trace()
1700 *(u32 *)&state.entry->fields[n_u64] = (u32)val; in synth_event_trace()
1704 state.entry->fields[n_u64] = val; in synth_event_trace()
1707 n_u64++; in synth_event_trace()
1739 unsigned int i, n_u64, field_pos, len, data_size = 0; in synth_event_trace_array() local
1771 for (i = 0, n_u64 = 0; i < state.event->n_fields; i++) { in synth_event_trace_array()
1777 data_size, &n_u64); in synth_event_trace_array()
1785 *(u8 *)&state.entry->fields[n_u64] = (u8)val; in synth_event_trace_array()
1789 *(u16 *)&state.entry->fields[n_u64] = (u16)val; in synth_event_trace_array()
1793 *(u32 *)&state.entry->fields[n_u64] = (u32)val; in synth_event_trace_array()
1797 state.entry->fields[n_u64] = val; in synth_event_trace_array()
1800 n_u64++; in synth_event_trace_array()