_devfs_search_dir(9)
NAME
_devfs_search_dir - Search for a devfs entry in a direc
tory.
SYNOPSIS
struct devfs_entry * _devfs_search_dir (struct devfs_entry *dir, const char *name, unsigned int namelen);
ARGUMENTS
dir The directory to search.
name The name of the entry to search for.
namelen The number of characters in name.
DESCRIPTION
- Search for a devfs entry in a directory and returns a
pointer to the entry on success, else NULL. The directory
must be locked already. An implicit devfs_get is per formed on the returned entry.