*
* Return: True if this is a spanning write, false otherwise.
*/
-bool mas_is_span_wr(struct ma_state *mas, unsigned long piv,
- enum maple_type type, void *entry)
+static bool mas_is_span_wr(struct ma_state *mas, unsigned long piv,
+ enum maple_type type, void *entry)
{
unsigned long max;
unsigned long last = mas->last;
*
* Return: True if it's contained in a node, false on spanning write.
*/
-bool mas_wr_walk(struct ma_state *mas, unsigned long *range_min,
- unsigned long *range_max, void *entry)
+static bool mas_wr_walk(struct ma_state *mas, unsigned long *range_min,
+ unsigned long *range_max, void *entry)
{
enum maple_type type;
*
* Return: 0 on success, -EINVAL on invalid request, -ENOMEM if memory could not
* be allocated.
- */int mtree_insert(struct maple_tree *mt, unsigned long index, void *entry,
+ */
+int mtree_insert(struct maple_tree *mt, unsigned long index, void *entry,
gfp_t gfp)
{
return mtree_insert_range(mt, index, index, entry, gfp);