HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
[linux/fpc-iii.git] / fs / efivarfs / internal.h
blobb4505188e799b9f5f50b2f792090775fd4244127
1 /*
2 * Copyright (C) 2012 Red Hat, Inc.
3 * Copyright (C) 2012 Jeremy Kerr <jeremy.kerr@canonical.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
9 #ifndef EFIVAR_FS_INTERNAL_H
10 #define EFIVAR_FS_INTERNAL_H
12 #include <linux/list.h>
14 extern const struct file_operations efivarfs_file_operations;
15 extern const struct inode_operations efivarfs_dir_inode_operations;
16 extern bool efivarfs_valid_name(const char *str, int len);
17 extern struct inode *efivarfs_get_inode(struct super_block *sb,
18 const struct inode *dir, int mode, dev_t dev,
19 bool is_removable);
21 extern struct list_head efivarfs_list;
23 #endif /* EFIVAR_FS_INTERNAL_H */