diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-09-08 10:09:35 +0100 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:28:41 -0400 |
| commit | 4b0c4fb9bc51282e2cf895b838c533f364c2e7a1 (patch) | |
| tree | 5ff2b43ef78af3e927c1170adae0a9ff92de242b /scripts/Makefile.thinlto | |
| parent | 084100a1b579e6e08085dfc33caa4df31bb25696 (diff) | |
| download | linux-next-4b0c4fb9bc51282e2cf895b838c533f364c2e7a1.tar.gz linux-next-4b0c4fb9bc51282e2cf895b838c533f364c2e7a1.zip | |
ring-buffer: Rename ring_buffer_size() to ring_buffer_capacity()
Since commit 8a5f63637890 ("ring-buffer: Fix subbuf resize race with
ring buffer readers"), "capacity" refers to the memory available for
events (excluding subbuffer headers) while "size" refers to the raw
allocation. ring_buffer_size() actually calculates this event capacity.
Rename it to ring_buffer_capacity() to align with this convention.
Link: https://patch.msgid.link/20260908090937.838544-2-vdonnefort@google.com
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
