Scroll to navigation

D_WALK(9) The Linux VFS D_WALK(9)

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.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.