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

NAME

6       debugfs_lookup - look up an existing debugfs file
7

SYNOPSIS

9       struct dentry * debugfs_lookup(const char * name,
10                                      struct dentry * parent);
11

ARGUMENTS

13       name
14           a pointer to a string containing the name of the file to look up.
15
16       parent
17           a pointer to the parent dentry of the file.
18

DESCRIPTION

20       This function will return a pointer to a dentry if it succeeds. If the
21       file doesn't exist or an error occurs, NULL will be returned. The
22       returned dentry must be passed to dput when it is no longer needed.
23
24       If debugfs is not enabled in the kernel, the value -ENODEV will be
25       returned.
26
28Kernel Hackers Manual 3.10         June 2019                 DEBUGFS_LOOKUP(9)
Impressum