linux/mm/dmapool_test.c

#include <linux/device.h>
#include <linux/dma-map-ops.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/module.h>

#define NR_TESTS

struct dma_pool_pair {};

struct dmapool_parms {};

static const struct dmapool_parms pool_parms[] =;

static struct dma_pool *pool;
static struct device test_dev;
static u64 dma_mask;

static inline int nr_blocks(int size)
{}

static int dmapool_test_alloc(struct dma_pool_pair *p, int blocks)
{}

static int dmapool_test_block(const struct dmapool_parms *parms)
{}

static void dmapool_test_release(struct device *dev)
{}

static int dmapool_checks(void)
{}

static void dmapool_exit(void)
{}

module_init();
module_exit(dmapool_exit);
MODULE_DESCRIPTION();
MODULE_LICENSE();