Lines Matching defs:tree
149 * The only case where lru_lock is not acquired while holding tree.lock is
151 * needs to be verified that it's still valid in the tree.
732 /* lock out zswap shrinker walking memcg tree */
990 struct xarray *tree;
1020 * swapoff so we can safely dereference the zswap tree here.
1026 tree = swap_zswap_tree(swpentry);
1027 if (entry != xa_load(tree, offset)) {
1037 xa_erase(tree, offset);
1114 * tree using pointer value comparison. Only when that
1137 * until the entry is verified to still be alive in the tree.
1323 * - No writeback-candidate memcgs found in a memcg tree walk.
1362 * we found candidate memcgs in the last tree walk.
1433 * The entry is successfully compressed and stored in the tree, there is
1437 * when the entry is removed from the tree.
1549 struct xarray *tree;
1552 tree = swap_zswap_tree(swp_entry(type, offset + index));
1553 entry = xa_erase(tree, offset + index);
1586 struct xarray *tree = swap_zswap_tree(swp);
1605 entry = xa_load(tree, offset);
1628 xa_erase(tree, offset);
1638 struct xarray *tree = swap_zswap_tree(swp);
1641 if (xa_empty(tree))
1644 entry = xa_erase(tree, offset);
1651 struct xarray *trees, *tree;
1655 trees = kvzalloc_objs(*tree, nr);