summaryrefslogtreecommitdiff
path: root/include/linux/rolling_buffer.h
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-08-10 00:36:11 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-08-10 01:20:05 +0200
commitdbaafe9cc56a996931eedfe043eb34418cc9cd9b (patch)
tree812b63d549e87c3fff744a21b75b73c8f096b5c5 /include/linux/rolling_buffer.h
parent67b1e7245bd60f54f820859b9e400136a7b6d00a (diff)
parentdb2ddb87143519e20a95aa36c60b36107b736a58 (diff)
Merge tag 'v7.2-rc7' into driver-core-next
We need the driver-core fixes in here as well to build on top of. Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/rolling_buffer.h')
-rw-r--r--include/linux/rolling_buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/rolling_buffer.h b/include/linux/rolling_buffer.h
index ac15b1ffdd83..9e5dad29669c 100644
--- a/include/linux/rolling_buffer.h
+++ b/include/linux/rolling_buffer.h
@@ -43,13 +43,13 @@ struct rolling_buffer_snapshot {
#define ROLLBUF_MARK_2 BIT(1)
int rolling_buffer_init(struct rolling_buffer *roll, unsigned int rreq_id,
- unsigned int direction);
-int rolling_buffer_make_space(struct rolling_buffer *roll);
+ unsigned int direction, gfp_t gfp);
+int rolling_buffer_make_space(struct rolling_buffer *roll, gfp_t gfp);
ssize_t rolling_buffer_load_from_ra(struct rolling_buffer *roll,
struct readahead_control *ractl,
struct folio_batch *put_batch);
ssize_t rolling_buffer_append(struct rolling_buffer *roll, struct folio *folio,
- unsigned int flags);
+ unsigned int flags, gfp_t gfp);
struct folio_queue *rolling_buffer_delete_spent(struct rolling_buffer *roll);
void rolling_buffer_clear(struct rolling_buffer *roll);