Provided by: kernel-doc-2.4.27_2.4.27-12_all
_devfs_find_entry - Find a devfs entry.
struct devfs_entry * _devfs_find_entry (devfs_handle_t dir, const char
*name, unsigned int major, unsigned int minor, char type, int
dir The handle to the parent devfs directory entry. If this is
NULL the name is relative to the root of the devfs.
name The name of the entry. This may be NULL.
major The major number. This is used if lookup by name fails.
minor The minor number. This is used if lookup by name fails.
type The type of special file to search for. This may be either
DEVFS_SPECIAL_CHR or DEVFS_SPECIAL_BLK.
If TRUE then symbolic links are traversed.
If major and minor are both 0, searching by major and minor numbers is
Returns the devfs_entry pointer on success, else NULL. An implicit
devfs_get is performed.