Lines Matching refs:rtp
191 struct radix_tree_preload *rtp; in radix_tree_node_alloc() local
198 rtp = this_cpu_ptr(&radix_tree_preloads); in radix_tree_node_alloc()
199 if (rtp->nr) { in radix_tree_node_alloc()
200 ret = rtp->nodes[rtp->nr - 1]; in radix_tree_node_alloc()
201 rtp->nodes[rtp->nr - 1] = NULL; in radix_tree_node_alloc()
202 rtp->nr--; in radix_tree_node_alloc()
254 struct radix_tree_preload *rtp; in __radix_tree_preload() local
259 rtp = this_cpu_ptr(&radix_tree_preloads); in __radix_tree_preload()
260 while (rtp->nr < ARRAY_SIZE(rtp->nodes)) { in __radix_tree_preload()
266 rtp = this_cpu_ptr(&radix_tree_preloads); in __radix_tree_preload()
267 if (rtp->nr < ARRAY_SIZE(rtp->nodes)) in __radix_tree_preload()
268 rtp->nodes[rtp->nr++] = node; in __radix_tree_preload()
1473 struct radix_tree_preload *rtp; in radix_tree_callback() local
1477 rtp = &per_cpu(radix_tree_preloads, cpu); in radix_tree_callback()
1478 while (rtp->nr) { in radix_tree_callback()
1480 rtp->nodes[rtp->nr-1]); in radix_tree_callback()
1481 rtp->nodes[rtp->nr-1] = NULL; in radix_tree_callback()
1482 rtp->nr--; in radix_tree_callback()