*
* Return: The minimum range value that is contained in @offset.
*/
-static inline unsigned long
+static __always_inline unsigned long
mas_safe_min(struct ma_state *mas, unsigned long *pivots, unsigned char offset)
{
if (likely(offset))
*
* Return: True if this is a spanning write, false otherwise.
*/
-static bool mas_is_span_wr(struct ma_wr_state *wr_mas)
+static 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;
return true;
}
-static inline void mas_wr_walk_descend(struct ma_wr_state *wr_mas)
+static __always_inline
+void mas_wr_walk_descend(struct ma_wr_state *wr_mas)
{
wr_mas->type = mte_node_type(wr_mas->mas->node);
mas_wr_node_walk(wr_mas);
wr_mas->slots = ma_slots(wr_mas->node, wr_mas->type);
}
-static inline void mas_wr_walk_traverse(struct ma_wr_state *wr_mas)
+static __always_inline
+void mas_wr_walk_traverse(struct ma_wr_state *wr_mas)
{
wr_mas->mas->max = wr_mas->r_max;
wr_mas->mas->min = wr_mas->r_min;