Lines Matching refs:rtp
211 struct radix_tree_preload *rtp; in radix_tree_node_alloc() local
218 rtp = &__get_cpu_var(radix_tree_preloads); in radix_tree_node_alloc()
219 if (rtp->nr) { in radix_tree_node_alloc()
220 ret = rtp->nodes[rtp->nr - 1]; in radix_tree_node_alloc()
221 rtp->nodes[rtp->nr - 1] = NULL; in radix_tree_node_alloc()
222 rtp->nr--; in radix_tree_node_alloc()
269 struct radix_tree_preload *rtp; in radix_tree_preload() local
274 rtp = &__get_cpu_var(radix_tree_preloads); in radix_tree_preload()
275 while (rtp->nr < ARRAY_SIZE(rtp->nodes)) { in radix_tree_preload()
281 rtp = &__get_cpu_var(radix_tree_preloads); in radix_tree_preload()
282 if (rtp->nr < ARRAY_SIZE(rtp->nodes)) in radix_tree_preload()
283 rtp->nodes[rtp->nr++] = node; in radix_tree_preload()
1432 struct radix_tree_preload *rtp; in radix_tree_callback() local
1436 rtp = &per_cpu(radix_tree_preloads, cpu); in radix_tree_callback()
1437 while (rtp->nr) { in radix_tree_callback()
1439 rtp->nodes[rtp->nr-1]); in radix_tree_callback()
1440 rtp->nodes[rtp->nr-1] = NULL; in radix_tree_callback()
1441 rtp->nr--; in radix_tree_callback()