Lines Matching full:buffer

22  * enum ring_buffer_type - internal ring buffer types
70 * will try to remove the event from the ring buffer completely
76 * ring_buffer_discard_commit(buffer, event);
78 * ring_buffer_unlock_commit(buffer, event);
80 void ring_buffer_discard_commit(struct trace_buffer *buffer,
84 * size is in bytes for each per CPU buffer.
90 * Because the ring buffer is generic, if other users of the ring buffer get
92 * ring buffer's lock class separate.
100 int ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full);
101 __poll_t ring_buffer_poll_wait(struct trace_buffer *buffer, int cpu,
107 void ring_buffer_free(struct trace_buffer *buffer);
109 int ring_buffer_resize(struct trace_buffer *buffer, unsigned long size, int cpu);
111 void ring_buffer_change_overwrite(struct trace_buffer *buffer, int val);
113 struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer,
115 int ring_buffer_unlock_commit(struct trace_buffer *buffer,
117 int ring_buffer_write(struct trace_buffer *buffer,
120 void ring_buffer_nest_start(struct trace_buffer *buffer);
121 void ring_buffer_nest_end(struct trace_buffer *buffer);
124 ring_buffer_peek(struct trace_buffer *buffer, int cpu, u64 *ts,
127 ring_buffer_consume(struct trace_buffer *buffer, int cpu, u64 *ts,
131 ring_buffer_read_prepare(struct trace_buffer *buffer, int cpu, gfp_t flags);
143 unsigned long ring_buffer_size(struct trace_buffer *buffer, int cpu);
145 void ring_buffer_reset_cpu(struct trace_buffer *buffer, int cpu);
146 void ring_buffer_reset_online_cpus(struct trace_buffer *buffer);
147 void ring_buffer_reset(struct trace_buffer *buffer);
161 bool ring_buffer_empty(struct trace_buffer *buffer);
162 bool ring_buffer_empty_cpu(struct trace_buffer *buffer, int cpu);
164 void ring_buffer_record_disable(struct trace_buffer *buffer);
165 void ring_buffer_record_enable(struct trace_buffer *buffer);
166 void ring_buffer_record_off(struct trace_buffer *buffer);
167 void ring_buffer_record_on(struct trace_buffer *buffer);
168 bool ring_buffer_record_is_on(struct trace_buffer *buffer);
169 bool ring_buffer_record_is_set_on(struct trace_buffer *buffer);
170 void ring_buffer_record_disable_cpu(struct trace_buffer *buffer, int cpu);
171 void ring_buffer_record_enable_cpu(struct trace_buffer *buffer, int cpu);
173 u64 ring_buffer_oldest_event_ts(struct trace_buffer *buffer, int cpu);
174 unsigned long ring_buffer_bytes_cpu(struct trace_buffer *buffer, int cpu);
175 unsigned long ring_buffer_entries(struct trace_buffer *buffer);
176 unsigned long ring_buffer_overruns(struct trace_buffer *buffer);
177 unsigned long ring_buffer_entries_cpu(struct trace_buffer *buffer, int cpu);
178 unsigned long ring_buffer_overrun_cpu(struct trace_buffer *buffer, int cpu);
179 unsigned long ring_buffer_commit_overrun_cpu(struct trace_buffer *buffer, int cpu);
180 unsigned long ring_buffer_dropped_events_cpu(struct trace_buffer *buffer, int cpu);
181 unsigned long ring_buffer_read_events_cpu(struct trace_buffer *buffer, int cpu);
183 u64 ring_buffer_time_stamp(struct trace_buffer *buffer, int cpu);
184 void ring_buffer_normalize_time_stamp(struct trace_buffer *buffer,
186 void ring_buffer_set_clock(struct trace_buffer *buffer,
188 void ring_buffer_set_time_stamp_abs(struct trace_buffer *buffer, bool abs);
189 bool ring_buffer_time_stamp_abs(struct trace_buffer *buffer);
191 size_t ring_buffer_nr_pages(struct trace_buffer *buffer, int cpu);
192 size_t ring_buffer_nr_dirty_pages(struct trace_buffer *buffer, int cpu);
194 void *ring_buffer_alloc_read_page(struct trace_buffer *buffer, int cpu);
195 void ring_buffer_free_read_page(struct trace_buffer *buffer, int cpu, void *data);
196 int ring_buffer_read_page(struct trace_buffer *buffer, void **data_page,