linux/drivers/xen/xenfs/super.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  xenfs.c - a filesystem for passing info between the a domain and
 *  the hypervisor.
 *
 * 2008-10-07  Alex Zeffertt    Replaced /proc/xen/xenbus with xenfs filesystem
 *                              and /proc/xen compatibility mount point.
 *                              Turned xenfs into a loadable module.
 */

#define pr_fmt(fmt)

#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/fs_context.h>
#include <linux/magic.h>

#include <xen/xen.h>
#include <xen/xenbus.h>

#include "xenfs.h"
#include "../privcmd.h"

#include <asm/xen/hypervisor.h>

MODULE_DESCRIPTION();
MODULE_LICENSE();

static ssize_t capabilities_read(struct file *file, char __user *buf,
				 size_t size, loff_t *off)
{}

static const struct file_operations capabilities_file_ops =;

static int xenfs_fill_super(struct super_block *sb, struct fs_context *fc)
{}

static int xenfs_get_tree(struct fs_context *fc)
{}

static const struct fs_context_operations xenfs_context_ops =;

static int xenfs_init_fs_context(struct fs_context *fc)
{}

static struct file_system_type xenfs_type =;
MODULE_ALIAS_FS();

static int __init xenfs_init(void)
{}

static void __exit xenfs_exit(void)
{}

module_init();
module_exit(xenfs_exit);