Home
last modified time | relevance | path

Searched defs:rb (Results 1 – 8 of 8) sorted by relevance

/kernel/events/
Dring_buffer.c38 struct perf_buffer *rb = handle->rb; in perf_output_get_handle() local
52 struct perf_buffer *rb = handle->rb; in perf_output_put_handle() local
154 struct perf_buffer *rb; in __perf_output_begin() local
306 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init()
366 struct perf_buffer *rb; in perf_aux_output_begin() local
454 static __always_inline bool rb_need_aux_wakeup(struct perf_buffer *rb) in rb_need_aux_wakeup()
480 struct perf_buffer *rb = handle->rb; in perf_aux_output_end() local
537 struct perf_buffer *rb = handle->rb; in perf_aux_output_skip() local
574 struct perf_buffer *rb = aux_handle->rb; in perf_output_copy_aux() local
631 static void rb_free_aux_page(struct perf_buffer *rb, int idx) in rb_free_aux_page()
[all …]
Dinternal.h65 struct perf_buffer *rb; in rb_free_rcu() local
71 static inline void rb_toggle_paused(struct perf_buffer *rb, bool pause) in rb_toggle_paused()
88 static inline bool rb_has_aux(struct perf_buffer *rb) in rb_has_aux()
106 static inline int page_order(struct perf_buffer *rb) in page_order()
113 static inline int page_order(struct perf_buffer *rb) in page_order()
119 static inline int data_page_nr(struct perf_buffer *rb) in data_page_nr()
124 static inline unsigned long perf_data_size(struct perf_buffer *rb) in perf_data_size()
129 static inline unsigned long perf_aux_size(struct perf_buffer *rb) in perf_aux_size()
Dcore.c5588 struct perf_buffer *rb; in perf_poll() local
5844 struct perf_buffer *rb; in _perf_ioctl() local
5968 struct perf_buffer *rb; in perf_event_init_userpage() local
6000 struct perf_buffer *rb; in perf_event_update_userpage() local
6051 struct perf_buffer *rb; in perf_mmap_fault() local
6084 struct perf_buffer *rb) in ring_buffer_attach()
6146 struct perf_buffer *rb; in ring_buffer_wakeup() local
6162 struct perf_buffer *rb; in ring_buffer_get() local
6178 void ring_buffer_put(struct perf_buffer *rb) in ring_buffer_put()
6215 struct perf_buffer *rb = ring_buffer_get(event); in perf_mmap_close() local
[all …]
/kernel/printk/
Dprintk_ringbuffer.c564 static bool data_make_reusable(struct printk_ringbuffer *rb, in data_make_reusable()
632 static bool data_push_tail(struct printk_ringbuffer *rb, unsigned long lpos) in data_push_tail()
767 static bool desc_push_tail(struct printk_ringbuffer *rb, in desc_push_tail()
875 static bool desc_reserve(struct printk_ringbuffer *rb, unsigned long *id_out) in desc_reserve()
1024 static char *data_alloc(struct printk_ringbuffer *rb, unsigned int size, in data_alloc()
1105 static char *data_realloc(struct printk_ringbuffer *rb, unsigned int size, in data_realloc()
1350 bool prb_reserve_in_last(struct prb_reserved_entry *e, struct printk_ringbuffer *rb, in prb_reserve_in_last()
1485 bool prb_reserve(struct prb_reserved_entry *e, struct printk_ringbuffer *rb, in prb_reserve()
1796 static int prb_read(struct printk_ringbuffer *rb, u64 seq, in prb_read()
1835 static u64 prb_first_seq(struct printk_ringbuffer *rb) in prb_first_seq()
[all …]
Dprintk_ringbuffer.h106 struct printk_ringbuffer *rb; member
355 #define prb_for_each_record(from, rb, s, r) \ argument
373 #define prb_for_each_info(from, rb, s, i, lc) \ argument
Dprintk.c1051 static unsigned int __init add_to_rb(struct printk_ringbuffer *rb, in add_to_rb()
2323 #define prb_read_valid(rb, seq, r) false argument
2324 #define prb_first_valid_seq(rb) 0 argument
/kernel/bpf/
Dringbuf.c52 struct bpf_ringbuf *rb; member
69 struct bpf_ringbuf *rb; in bpf_ringbuf_area_alloc() local
124 struct bpf_ringbuf *rb = container_of(work, struct bpf_ringbuf, work); in bpf_ringbuf_notify() local
131 struct bpf_ringbuf *rb; in bpf_ringbuf_alloc() local
181 static void bpf_ringbuf_free(struct bpf_ringbuf *rb) in bpf_ringbuf_free()
244 static unsigned long ringbuf_avail_data_sz(struct bpf_ringbuf *rb) in ringbuf_avail_data_sz()
287 static size_t bpf_ringbuf_rec_pg_off(struct bpf_ringbuf *rb, in bpf_ringbuf_rec_pg_off()
305 static void *__bpf_ringbuf_reserve(struct bpf_ringbuf *rb, u64 size) in __bpf_ringbuf_reserve()
374 struct bpf_ringbuf *rb; in bpf_ringbuf_commit() local
454 struct bpf_ringbuf *rb; in BPF_CALL_2() local
/kernel/trace/
Dring_buffer.c6027 struct ring_buffer_per_cpu *rb = trace_buffer->buffers[cpu]; in trace_buffer_pack_size() local
6050 struct ring_buffer_per_cpu *rb; in trace_buffer_pack() local