d_walk(9) 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.

COPYRIGHT