_devfs_descend
Section: Kernel Hacker's Manual (9)
Updated: _devfs_descend
Index
Return to Main Contents
NAME
_devfs_descend - Descend down a tree using the next component name.
SYNOPSIS
struct devfs_entry * _devfs_descend
(struct devfs_entry *dir,
const char *name,
int namelen,
int *next_pos);
ARGUMENTS
- dir
-
The directory to search.
- name
-
The component name to search for.
- namelen
-
The length of name.
- next_pos
-
The position of the next '/' or ' ' is written here.
DESCRIPTION
Descend into a directory, searching for a component. This function forms
the core of a tree-walking algorithm. The directory will be locked.
The devfs entry corresponding to the component is returned. If there is
no matching entry, NULL is returned.
An implicit devfs_get is performed on the returned entry.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:15:43 GMT, June 12, 2005