Home
last modified time | relevance | path

Searched refs:RB_EVNT_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dring_buffer.c128 #define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array)) macro
178 return length + RB_EVNT_HDR_SIZE; in rb_event_data_length()
194 return event->array[0] + RB_EVNT_HDR_SIZE; in rb_event_length()
248 length -= RB_EVNT_HDR_SIZE; in ring_buffer_event_length()
2500 event->array[0] = (BUF_PAGE_SIZE - tail) - RB_EVNT_HDR_SIZE; in rb_reset_tail()
2730 length -= RB_EVNT_HDR_SIZE; in rb_update_event()
2749 length += RB_EVNT_HDR_SIZE; in rb_calculate_event_length()
2973 event->array[0] = rb_event_data_length(event) - RB_EVNT_HDR_SIZE; in rb_event_discard()