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

/linux-master/include/linux/
H A Dmaple_tree.h32 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 1) macro
38 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 2) macro
136 struct maple_alloc *slot[MAPLE_ALLOC_SLOTS];
/linux-master/tools/testing/radix-tree/
H A Dmaple.c81 mas_node_count_gfp(mas, MAPLE_ALLOC_SLOTS + 1, GFP_KERNEL);
82 mas_node_count_gfp(mas, MAPLE_ALLOC_SLOTS + 3, GFP_KERNEL);
291 for (j = 0; j < MAPLE_ALLOC_SLOTS; j++) {
346 mas_node_count(&mas, MAPLE_ALLOC_SLOTS + 1); /* Request */
349 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS + 1);
350 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS);
355 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS);
356 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS - 1);
359 MT_BUG_ON(mt, mas_allocated(&mas) != MAPLE_ALLOC_SLOTS + 1);
360 MT_BUG_ON(mt, mas.alloc->node_count != MAPLE_ALLOC_SLOTS);
[all...]
/linux-master/lib/
H A Dmaple_tree.c1197 if (count && (head->node_count < MAPLE_ALLOC_SLOTS)) {
1241 if (!allocated || mas->alloc->node_count == MAPLE_ALLOC_SLOTS) {
1261 max_req = MAPLE_ALLOC_SLOTS - node->node_count;

Completed in 212 milliseconds