1DEBUGFS_CREATE_ATOMI(9)     The debugfs filesystem     DEBUGFS_CREATE_ATOMI(9)
2
3
4

NAME

6       debugfs_create_atomic_t - create a debugfs file that is used to read
7       and write an atomic_t value
8

SYNOPSIS

10       struct dentry * debugfs_create_atomic_t(const char * name,
11                                               umode_t mode,
12                                               struct dentry * parent,
13                                               atomic_t * value);
14

ARGUMENTS

16       name
17           a pointer to a string containing the name of the file to create.
18
19       mode
20           the permission that the file should have
21
22       parent
23           a pointer to the parent dentry for this file. This should be a
24           directory dentry if set. If this parameter is NULL, then the file
25           will be created in the root of the debugfs filesystem.
26
27       value
28           a pointer to the variable that the file should read to and write
29           from.
30
32Kernel Hackers Manual 3.10         June 2019           DEBUGFS_CREATE_ATOMI(9)
Impressum