Lines Matching refs:old_dentry
553 int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
556 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry))))
558 return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry);
561 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
565 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) ||
571 old_dir, old_dentry);
576 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir,
617 int security_inode_link(struct dentry *old_dentry, struct inode *dir,
620 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry))))
622 return call_int_hook(inode_link, 0, old_dentry, dir, new_dentry);
662 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
666 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) ||
672 old_dir, old_dentry);
677 return call_int_hook(inode_rename, 0, old_dir, old_dentry,