David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 Red Hat, Inc. |
| 4 | * Copyright (C) 2012 Jeremy Kerr <jeremy.kerr@canonical.com> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 5 | */ |
| 6 | #ifndef EFIVAR_FS_INTERNAL_H |
| 7 | #define EFIVAR_FS_INTERNAL_H |
| 8 | |
| 9 | #include <linux/list.h> |
| 10 | |
| 11 | extern const struct file_operations efivarfs_file_operations; |
| 12 | extern const struct inode_operations efivarfs_dir_inode_operations; |
| 13 | extern bool efivarfs_valid_name(const char *str, int len); |
| 14 | extern struct inode *efivarfs_get_inode(struct super_block *sb, |
| 15 | const struct inode *dir, int mode, dev_t dev, |
| 16 | bool is_removable); |
| 17 | |
| 18 | extern struct list_head efivarfs_list; |
| 19 | |
| 20 | #endif /* EFIVAR_FS_INTERNAL_H */ |