From: Liam R. Howlett Date: Wed, 8 Oct 2025 23:22:35 +0000 (-0400) Subject: add some inlines X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=97166a023741875b85d72c3315816f484c5d2042;p=users%2Fjedix%2Flinux-maple.git add some inlines Signed-off-by: Liam R. Howlett --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index b2300c798fea..6d36303aafd9 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1547,7 +1547,7 @@ static inline unsigned long ma_leaf_max_gap(struct maple_node *mn, * * Return: The maximum gap in the leaf. */ -static unsigned long mas_leaf_max_gap(struct ma_state *mas) +static inline unsigned long mas_leaf_max_gap(struct ma_state *mas) { enum maple_type mt; struct maple_node *mn; @@ -3873,7 +3873,7 @@ static void mas_wr_rebalance(struct ma_wr_state *wr_mas) * mas_wr_store_entry() - Internal call to store a value * @wr_mas: The maple write state */ -static void mas_wr_store_entry(struct ma_wr_state *wr_mas) +static inline void mas_wr_store_entry(struct ma_wr_state *wr_mas) { struct ma_state *mas = wr_mas->mas;