^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (C) 2012 Red Hat, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (C) 2012 Jeremy Kerr <jeremy.kerr@canonical.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef EFIVAR_FS_INTERNAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define EFIVAR_FS_INTERNAL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/list.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern const struct file_operations efivarfs_file_operations;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern const struct inode_operations efivarfs_dir_inode_operations;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern bool efivarfs_valid_name(const char *str, int len);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern struct inode *efivarfs_get_inode(struct super_block *sb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) const struct inode *dir, int mode, dev_t dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) bool is_removable);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern struct list_head efivarfs_list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif /* EFIVAR_FS_INTERNAL_H */