1DEBUGFS_CREATE_X8(9) The debugfs filesystem DEBUGFS_CREATE_X8(9)
2
3
4
6 debugfs_create_x8 - create a debugfs file that is used to read and
7 write an unsigned 8-bit value
8
10 struct dentry * debugfs_create_x8(const char * name, mode_t mode,
11 struct dentry * parent, u8 * value);
12
14 name
15 a pointer to a string containing the name of the file to create.
16
17 mode
18 the permission that the file should have
19
20 parent
21 a pointer to the parent dentry for this file. This should be a
22 directory dentry if set. If this parameter is NULL, then the file
23 will be created in the root of the debugfs filesystem.
24
25 value
26 a pointer to the variable that the file should read to and write
27 from.
28
30Kernel Hackers Manual 2.6. November 2011 DEBUGFS_CREATE_X8(9)