Name
d_walk —
walk the dentry tree
Synopsis
void d_walk ( | struct dentry * parent, |
| void * data, |
| enum d_walk_ret (*enter)
( void *, struct dentry *) , |
| void (*finish)
( void *) ) ; |
Arguments
parent
start of walk
data
data passed to @enter
and @finish
enter
callback when first entering the dentry
finish
callback when successfully finished the walk
Description
The @enter
and @finish
callbacks are called with d_lock held.