// SPDX-License-Identifier: GPL-2.0 #include <linux/slab.h> #include <linux/gfp.h> #include <linux/string.h> #include <linux/spinlock.h> #include <linux/ceph/string_table.h> static DEFINE_SPINLOCK(string_tree_lock); static struct rb_root string_tree = …; struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) { … } EXPORT_SYMBOL(…); void ceph_release_string(struct kref *ref) { … } EXPORT_SYMBOL(…); bool ceph_strings_empty(void) { … }