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
struct dentry * parent
start of walk
void * data
data passed to enter
() and finish
()
enum d_walk_ret (*)(void *, struct dentry *) enter
callback when first entering the dentry
void (*)(void *) finish
callback when successfully finished the walk
Description
The enter
() and finish
() callbacks are called with d_lock held.