Searched refs:to_free (Results 1 – 2 of 2) sorted by relevance
513 struct idr_layer *to_free; in sub_remove() local530 to_free = NULL; in sub_remove()532 if (to_free) in sub_remove()533 free_layer(idp, to_free); in sub_remove()534 to_free = **paa; in sub_remove()539 if (to_free) in sub_remove()540 free_layer(idp, to_free); in sub_remove()553 struct idr_layer *to_free; in idr_remove() local572 to_free = idp->top; in idr_remove()576 to_free->count = 0; in idr_remove()[all …]
1259 struct radix_tree_node *to_free = root->rnode; in radix_tree_shrink() local1262 BUG_ON(!radix_tree_is_indirect_ptr(to_free)); in radix_tree_shrink()1263 to_free = indirect_to_ptr(to_free); in radix_tree_shrink()1269 if (to_free->count != 1) in radix_tree_shrink()1271 if (!to_free->slots[0]) in radix_tree_shrink()1281 slot = to_free->slots[0]; in radix_tree_shrink()1308 *((unsigned long *)&to_free->slots[0]) |= in radix_tree_shrink()1311 radix_tree_node_free(to_free); in radix_tree_shrink()