linux/net/ceph/msgpool.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/ceph/ceph_debug.h>

#include <linux/err.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/vmalloc.h>

#include <linux/ceph/messenger.h>
#include <linux/ceph/msgpool.h>

static void *msgpool_alloc(gfp_t gfp_mask, void *arg)
{}

static void msgpool_free(void *element, void *arg)
{}

int ceph_msgpool_init(struct ceph_msgpool *pool, int type,
		      int front_len, int max_data_items, int size,
		      const char *name)
{}

void ceph_msgpool_destroy(struct ceph_msgpool *pool)
{}

struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len,
				  int max_data_items)
{}

void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg)
{}