.TH "_devfs_find_entry" 9 "_devfs_find_entry" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME _devfs_find_entry \- Find a devfs entry. .SH SYNOPSIS .B "struct devfs_entry *" _devfs_find_entry .BI "(devfs_handle_t " dir "," .BI "const char *" name "," .BI "unsigned int " major "," .BI "unsigned int " minor "," .BI "char " type "," .BI "int " traverse_symlink ");" .SH ARGUMENTS .IP "dir" 12 The handle to the parent devfs directory entry. If this is NULL the name is relative to the root of the devfs. .IP "name" 12 The name of the entry. This may be NULL. .IP "major" 12 The major number. This is used if lookup by \fIname\fP fails. .IP "minor" 12 The minor number. This is used if lookup by \fIname\fP fails. .IP "type" 12 The type of special file to search for. This may be either DEVFS_SPECIAL_CHR or DEVFS_SPECIAL_BLK. .IP "traverse_symlink" 12 If TRUE then symbolic links are traversed. .SH "NOTE" If \fImajor\fP and \fIminor\fP are both 0, searching by major and minor numbers is disabled. .SH "DESCRIPTION" Returns the devfs_entry pointer on success, else NULL. An implicit \fBdevfs_get\fP is performed.