Home
last modified time | relevance | path

Searched refs:MAPLE_ALLOC_SLOTS (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/include/linux/
Dmaple_tree.h34 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 1) macro
41 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 2) macro
139 struct maple_alloc *slot[MAPLE_ALLOC_SLOTS];
/Linux-v6.1/tools/testing/radix-tree/
Dmaple.c251 for (j = 0; j < MAPLE_ALLOC_SLOTS; j++) { in check_new_node()
303 mas_node_count(&mas, MAPLE_ALLOC_SLOTS + 1); /* Request */ in check_new_node()
306 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS + 1); in check_new_node()
307 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS - 1); in check_new_node()
312 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS); in check_new_node()
313 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS - 2); in check_new_node()
316 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS + 1); in check_new_node()
317 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS - 1); in check_new_node()
320 mas_node_count(&mas, MAPLE_ALLOC_SLOTS + 2); /* Request */ in check_new_node()
326 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS + 2); in check_new_node()
[all …]
/Linux-v6.1/lib/
Dmaple_tree.c1179 if (count && (head->node_count < MAPLE_ALLOC_SLOTS - 1)) { in mas_push_node()
1225 if (!allocated || mas->alloc->node_count == MAPLE_ALLOC_SLOTS - 1) { in mas_alloc_nodes()
1240 max_req = MAPLE_ALLOC_SLOTS; in mas_alloc_nodes()