// SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/ceph/buffer.h> #include <linux/ceph/decode.h> #include <linux/ceph/libceph.h> /* for kvmalloc */ struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) { … } EXPORT_SYMBOL(…); void ceph_buffer_release(struct kref *kref) { … } EXPORT_SYMBOL(…); int ceph_decode_buffer(struct ceph_buffer **b, void **p, void *end) { … }