linux/tools/testing/nvdimm/test/iomap.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
 */
#include <linux/memremap.h>
#include <linux/rculist.h>
#include <linux/export.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/pfn_t.h>
#include <linux/acpi.h>
#include <linux/io.h>
#include <linux/mm.h>
#include "nfit_test.h"

static LIST_HEAD(iomap_head);

static struct iomap_ops {} iomap_ops =;

void nfit_test_setup(nfit_test_lookup_fn lookup,
		nfit_test_evaluate_dsm_fn evaluate)
{}
EXPORT_SYMBOL();

void nfit_test_teardown(void)
{}
EXPORT_SYMBOL();

static struct nfit_test_resource *__get_nfit_res(resource_size_t resource)
{}

struct nfit_test_resource *get_nfit_res(resource_size_t resource)
{}
EXPORT_SYMBOL();

#define __nfit_test_ioremap(offset, size, fallback_fn)

void __iomem *__wrap_devm_ioremap(struct device *dev,
		resource_size_t offset, unsigned long size)
{}
EXPORT_SYMBOL();

void *__wrap_devm_memremap(struct device *dev, resource_size_t offset,
		size_t size, unsigned long flags)
{}
EXPORT_SYMBOL();

static void nfit_test_kill(void *_pgmap)
{}

static void dev_pagemap_percpu_release(struct percpu_ref *ref)
{}

void *__wrap_devm_memremap_pages(struct device *dev, struct dev_pagemap *pgmap)
{}
EXPORT_SYMBOL_GPL();

pfn_t __wrap_phys_to_pfn_t(phys_addr_t addr, unsigned long flags)
{}
EXPORT_SYMBOL();

void *__wrap_memremap(resource_size_t offset, size_t size,
		unsigned long flags)
{}
EXPORT_SYMBOL();

void __wrap_devm_memunmap(struct device *dev, void *addr)
{}
EXPORT_SYMBOL();

void __iomem *__wrap_ioremap(resource_size_t offset, unsigned long size)
{}
EXPORT_SYMBOL();

void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size)
{}
EXPORT_SYMBOL();

void __wrap_iounmap(volatile void __iomem *addr)
{}
EXPORT_SYMBOL();

void __wrap_memunmap(void *addr)
{}
EXPORT_SYMBOL();

static bool nfit_test_release_region(struct device *dev,
		struct resource *parent, resource_size_t start,
		resource_size_t n);

static void nfit_devres_release(struct device *dev, void *data)
{}

static int match(struct device *dev, void *__res, void *match_data)
{}

static bool nfit_test_release_region(struct device *dev,
		struct resource *parent, resource_size_t start,
		resource_size_t n)
{}

static struct resource *nfit_test_request_region(struct device *dev,
		struct resource *parent, resource_size_t start,
		resource_size_t n, const char *name, int flags)
{}

struct resource *__wrap___request_region(struct resource *parent,
		resource_size_t start, resource_size_t n, const char *name,
		int flags)
{}
EXPORT_SYMBOL();

int __wrap_insert_resource(struct resource *parent, struct resource *res)
{}
EXPORT_SYMBOL();

int __wrap_remove_resource(struct resource *res)
{}
EXPORT_SYMBOL();

struct resource *__wrap___devm_request_region(struct device *dev,
		struct resource *parent, resource_size_t start,
		resource_size_t n, const char *name)
{}
EXPORT_SYMBOL();

void __wrap___release_region(struct resource *parent, resource_size_t start,
		resource_size_t n)
{}
EXPORT_SYMBOL();

void __wrap___devm_release_region(struct device *dev, struct resource *parent,
		resource_size_t start, resource_size_t n)
{}
EXPORT_SYMBOL();

acpi_status __wrap_acpi_evaluate_object(acpi_handle handle, acpi_string path,
		struct acpi_object_list *p, struct acpi_buffer *buf)
{}
EXPORT_SYMBOL();

union acpi_object * __wrap_acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
		u64 rev, u64 func, union acpi_object *argv4)
{}
EXPORT_SYMBOL();

MODULE_DESCRIPTION();
MODULE_LICENSE();