Lines Matching defs:kbuf
90 static int do_swap(struct kbuffer *kbuf) in do_swap()
140 static unsigned long long read_8(struct kbuffer *kbuf, void *ptr) in read_8()
145 static unsigned int read_4(struct kbuffer *kbuf, void *ptr) in read_4()
150 static unsigned long long __read_long_8(struct kbuffer *kbuf, void *ptr) in __read_long_8()
155 static unsigned long long __read_long_4(struct kbuffer *kbuf, void *ptr) in __read_long_4()
160 static unsigned long long read_long(struct kbuffer *kbuf, void *ptr) in read_long()
165 static int calc_index(struct kbuffer *kbuf, void *ptr) in calc_index()
182 struct kbuffer *kbuf; in kbuffer_alloc() local
238 void kbuffer_free(struct kbuffer *kbuf) in kbuffer_free()
243 static unsigned int type4host(struct kbuffer *kbuf, in type4host()
252 static unsigned int len4host(struct kbuffer *kbuf, in len4host()
261 static unsigned int type_len4host(struct kbuffer *kbuf, in type_len4host()
270 static unsigned int ts4host(struct kbuffer *kbuf, in ts4host()
290 static unsigned int old_update_pointers(struct kbuffer *kbuf) in old_update_pointers()
344 static int __old_next_event(struct kbuffer *kbuf) in __old_next_event()
359 translate_data(struct kbuffer *kbuf, void *data, void **rptr, in translate_data()
406 static unsigned int update_pointers(struct kbuffer *kbuf) in update_pointers()
435 struct kbuffer kbuf; in kbuffer_translate_data() local
463 static int __next_event(struct kbuffer *kbuf) in __next_event()
477 static int next_event(struct kbuffer *kbuf) in next_event()
494 void *kbuffer_next_event(struct kbuffer *kbuf, unsigned long long *ts) in kbuffer_next_event()
522 int kbuffer_load_subbuffer(struct kbuffer *kbuf, void *subbuffer) in kbuffer_load_subbuffer()
572 void *kbuffer_read_event(struct kbuffer *kbuf, unsigned long long *ts) in kbuffer_read_event()
591 unsigned long long kbuffer_timestamp(struct kbuffer *kbuf) in kbuffer_timestamp()
614 void *kbuffer_read_at_offset(struct kbuffer *kbuf, int offset, in kbuffer_read_at_offset()
644 int kbuffer_subbuffer_size(struct kbuffer *kbuf) in kbuffer_subbuffer_size()
659 int kbuffer_curr_index(struct kbuffer *kbuf) in kbuffer_curr_index()
671 int kbuffer_curr_offset(struct kbuffer *kbuf) in kbuffer_curr_offset()
683 int kbuffer_event_size(struct kbuffer *kbuf) in kbuffer_event_size()
695 int kbuffer_curr_size(struct kbuffer *kbuf) in kbuffer_curr_size()
709 int kbuffer_missed_events(struct kbuffer *kbuf) in kbuffer_missed_events()
727 void kbuffer_set_old_format(struct kbuffer *kbuf) in kbuffer_set_old_format()