2019-06-04 15:11:33 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2013-02-08 23:27:24 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Red Hat, Inc.
|
|
|
|
* Copyright (C) 2012 Jeremy Kerr <jeremy.kerr@canonical.com>
|
|
|
|
*/
|
|
|
|
#ifndef EFIVAR_FS_INTERNAL_H
|
|
|
|
#define EFIVAR_FS_INTERNAL_H
|
|
|
|
|
|
|
|
#include <linux/list.h>
|
|
|
|
|
|
|
|
extern const struct file_operations efivarfs_file_operations;
|
|
|
|
extern const struct inode_operations efivarfs_dir_inode_operations;
|
|
|
|
extern bool efivarfs_valid_name(const char *str, int len);
|
|
|
|
extern struct inode *efivarfs_get_inode(struct super_block *sb,
|
2016-02-09 02:48:15 +07:00
|
|
|
const struct inode *dir, int mode, dev_t dev,
|
|
|
|
bool is_removable);
|
2013-02-08 23:27:24 +07:00
|
|
|
|
|
|
|
extern struct list_head efivarfs_list;
|
|
|
|
|
|
|
|
#endif /* EFIVAR_FS_INTERNAL_H */
|