blob: 30ae44cb74531d1542bf942eb43f8cc5ef2d9051 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Matt Flemingd68772b2013-02-08 16:27:24 +00002/*
3 * Copyright (C) 2012 Red Hat, Inc.
4 * Copyright (C) 2012 Jeremy Kerr <jeremy.kerr@canonical.com>
Matt Flemingd68772b2013-02-08 16:27:24 +00005 */
6#ifndef EFIVAR_FS_INTERNAL_H
7#define EFIVAR_FS_INTERNAL_H
8
9#include <linux/list.h>
10
11extern const struct file_operations efivarfs_file_operations;
12extern const struct inode_operations efivarfs_dir_inode_operations;
13extern bool efivarfs_valid_name(const char *str, int len);
14extern struct inode *efivarfs_get_inode(struct super_block *sb,
Peter Jonesed8b0de2016-02-08 14:48:15 -050015 const struct inode *dir, int mode, dev_t dev,
16 bool is_removable);
Matt Flemingd68772b2013-02-08 16:27:24 +000017
18extern struct list_head efivarfs_list;
19
20#endif /* EFIVAR_FS_INTERNAL_H */