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

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.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12