Lines Matching defs:ndp
147 static struct audit_parent *audit_init_parent(struct nameidata *ndp)
149 struct inode *inode = ndp->path.dentry->d_inode;
356 static int audit_get_nd(char *path, struct nameidata **ndp, struct nameidata **ndw)
384 *ndp = ndparent;
391 static void audit_put_nd(struct nameidata *ndp, struct nameidata *ndw)
393 if (ndp) {
394 path_put(&ndp->path);
395 kfree(ndp);
443 struct nameidata *ndp = NULL, *ndw = NULL;
449 ret = audit_get_nd(watch->path, &ndp, &ndw);
465 parent = audit_find_parent(ndp->path.dentry->d_inode);
467 parent = audit_init_parent(ndp);
482 audit_put_nd(ndp, ndw); /* NULL args OK */