* @count: The number of nodes needed
* @gfp: the gfp flags
*/
-static void mas_node_count_gfp(struct ma_state *mas, int count, gfp_t gfp)
+static inline void mas_node_count_gfp(struct ma_state *mas, int count, gfp_t gfp)
{
unsigned long allocated = mas_allocated(mas);
}
}
-static inline unsigned char mas_wr_new_end(struct ma_wr_state *wr_mas)
+static __always_inline unsigned char mas_wr_new_end(struct ma_wr_state *wr_mas)
{
struct ma_state *mas = wr_mas->mas;
unsigned char new_end = mas->end + 2;
*
* Return: True if this is a spanning write, false otherwise.
*/
-static inline bool mas_is_span_wr(struct ma_wr_state *wr_mas)
+static __always_inline bool mas_is_span_wr(struct ma_wr_state *wr_mas)
{
unsigned long max = wr_mas->r_max;
unsigned long last = wr_mas->mas->last;