linux/fs/efivarfs/super.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2012 Red Hat, Inc.
 * Copyright (C) 2012 Jeremy Kerr <[email protected]>
 */

#include <linux/ctype.h>
#include <linux/efi.h>
#include <linux/fs.h>
#include <linux/fs_context.h>
#include <linux/fs_parser.h>
#include <linux/module.h>
#include <linux/pagemap.h>
#include <linux/ucs2_string.h>
#include <linux/slab.h>
#include <linux/magic.h>
#include <linux/statfs.h>
#include <linux/notifier.h>
#include <linux/printk.h>

#include "internal.h"

static int efivarfs_ops_notifier(struct notifier_block *nb, unsigned long event,
				 void *data)
{}

static void efivarfs_evict_inode(struct inode *inode)
{}

static int efivarfs_show_options(struct seq_file *m, struct dentry *root)
{}

static int efivarfs_statfs(struct dentry *dentry, struct kstatfs *buf)
{}
static const struct super_operations efivarfs_ops =;

/*
 * Compare two efivarfs file names.
 *
 * An efivarfs filename is composed of two parts,
 *
 *	1. A case-sensitive variable name
 *	2. A case-insensitive GUID
 *
 * So we need to perform a case-sensitive match on part 1 and a
 * case-insensitive match on part 2.
 */
static int efivarfs_d_compare(const struct dentry *dentry,
			      unsigned int len, const char *str,
			      const struct qstr *name)
{}

static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr)
{}

static const struct dentry_operations efivarfs_d_ops =;

static struct dentry *efivarfs_alloc_dentry(struct dentry *parent, char *name)
{}

static int efivarfs_callback(efi_char16_t *name16, efi_guid_t vendor,
			     unsigned long name_size, void *data,
			     struct list_head *list)
{}

static int efivarfs_destroy(struct efivar_entry *entry, void *data)
{}

enum {};

static const struct fs_parameter_spec efivarfs_parameters[] =;

static int efivarfs_parse_param(struct fs_context *fc, struct fs_parameter *param)
{}

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

static int efivarfs_get_tree(struct fs_context *fc)
{}

static int efivarfs_reconfigure(struct fs_context *fc)
{}

static const struct fs_context_operations efivarfs_context_ops =;

static int efivarfs_init_fs_context(struct fs_context *fc)
{}

static void efivarfs_kill_sb(struct super_block *sb)
{}

static struct file_system_type efivarfs_type =;

static __init int efivarfs_init(void)
{}

static __exit void efivarfs_exit(void)
{}

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS_FS();

module_init();
module_exit(efivarfs_exit);