Lines Matching refs:dentry
934 context->pwd.dentry = NULL; in audit_free_names()
1533 if (context->pwd.dentry && context->pwd.mnt) in audit_log_name()
1791 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
2110 static void handle_path(const struct dentry *dentry) in handle_path() argument
2114 const struct dentry *d, *parent; in handle_path()
2124 d = dentry; in handle_path()
2188 if (!context->pwd.dentry) in audit_alloc_name()
2244 const struct dentry *dentry) in audit_copy_fcaps() argument
2249 if (!dentry) in audit_copy_fcaps()
2252 rc = get_vfs_caps_from_disk(&init_user_ns, dentry, &caps); in audit_copy_fcaps()
2268 const struct dentry *dentry, in audit_copy_inode() argument
2282 audit_copy_fcaps(name, dentry); in audit_copy_inode()
2291 void __audit_inode(struct filename *name, const struct dentry *dentry, in __audit_inode() argument
2295 struct inode *inode = d_backing_inode(dentry); in __audit_inode()
2385 handle_path(dentry); in __audit_inode()
2386 audit_copy_inode(n, dentry, inode, flags & AUDIT_INODE_NOEVAL); in __audit_inode()
2391 __audit_inode(NULL, file->f_path.dentry, 0); in __audit_file()
2409 const struct dentry *dentry, in __audit_inode_child() argument
2413 struct inode *inode = d_backing_inode(dentry); in __audit_inode_child()
2414 const struct qstr *dname = &dentry->d_name; in __audit_inode_child()
2504 audit_copy_inode(found_child, dentry, inode, 0); in __audit_inode_child()
2810 bprm->file->f_path.dentry, &vcaps); in __audit_log_bprm_fcaps()