Lines Matching refs:clone
1196 * @clone: Copy of matching data with pending insertions and deletions
1201 static int pipapo_realloc_scratch(struct nft_pipapo_match *clone,
1227 pipapo_free_scratch(clone, i);
1245 *per_cpu_ptr(clone->scratch, i) = scratch;
1265 * pipapo_maybe_clone() - Build clone for pending data changes, if not existing
1268 * Return: newly created or existing clone, if any. NULL on allocation failure
1275 if (priv->clone)
1276 return priv->clone;
1280 priv->clone = pipapo_clone(m);
1282 return priv->clone;
1815 if (!priv->clone)
1819 pipapo_gc(set, priv->clone);
1821 old = rcu_replace_pointer(priv->match, priv->clone,
1823 priv->clone = NULL;
1833 if (!priv->clone)
1835 pipapo_free_match(priv->clone);
1836 priv->clone = NULL;
1874 /* removal must occur on priv->clone, if we are low on memory
2047 struct nft_pipapo_match *m = priv->clone;
2146 * Test if destructive action is needed or not, clone active backend if needed
2335 if (priv->clone) {
2336 nft_set_pipapo_match_destroy(ctx, set, priv->clone);
2337 pipapo_free_match(priv->clone);
2338 priv->clone = NULL;