1
2
3
4
5
6
7
8 #ifndef _DEBUGFS_INTERNAL_H_
9 #define _DEBUGFS_INTERNAL_H_
10
11 struct file_operations;
12
13
14 extern const struct file_operations debugfs_noop_file_operations;
15 extern const struct file_operations debugfs_open_proxy_file_operations;
16 extern const struct file_operations debugfs_full_proxy_file_operations;
17
18 struct debugfs_fsdata {
19 const struct file_operations *real_fops;
20 refcount_t active_users;
21 struct completion active_users_drained;
22 };
23
24
25
26
27
28
29
30 #define DEBUGFS_FSDATA_IS_REAL_FOPS_BIT BIT(0)
31
32 #endif