File Index
Files and directories
Sign in
FILE

maple-shim.c

File preview with syntax highlighting.

linux-6.19.14/tools/testing/shared/maple-shim.c C
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2
 3/* Very simple shim around the maple tree. */
 4
 5#include "maple-shared.h"
 6#include <linux/slab.h>
 7
 8#include "../../../lib/maple_tree.c"
 9
10void maple_rcu_cb(struct rcu_head *head) {
11	struct maple_node *node = container_of(head, struct maple_node, rcu);
12
13	kmem_cache_free(maple_node_cache, node);
14}
~/ Read-only file preview.