Lines Matching refs:vdir
651 static struct dentry *bch2_lookup(struct inode *vdir, struct dentry *dentry, in bch2_lookup() argument
654 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_lookup()
655 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_lookup()
669 struct inode *vdir, struct dentry *dentry, in bch2_mknod() argument
673 __bch2_create(idmap, to_bch_ei(vdir), dentry, mode, rdev, in bch2_mknod()
684 struct inode *vdir, struct dentry *dentry, in bch2_create() argument
687 return bch2_mknod(idmap, vdir, dentry, mode|S_IFREG, 0); in bch2_create()
718 static int bch2_link(struct dentry *old_dentry, struct inode *vdir, in bch2_link() argument
721 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_link()
722 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_link()
739 int __bch2_unlink(struct inode *vdir, struct dentry *dentry, in __bch2_unlink() argument
742 struct bch_fs *c = vdir->i_sb->s_fs_info; in __bch2_unlink()
743 struct bch_inode_info *dir = to_bch_ei(vdir); in __bch2_unlink()
780 static int bch2_unlink(struct inode *vdir, struct dentry *dentry) in bch2_unlink() argument
782 struct bch_inode_info *dir= to_bch_ei(vdir); in bch2_unlink()
786 __bch2_unlink(vdir, dentry, false); in bch2_unlink()
791 struct inode *vdir, struct dentry *dentry, in bch2_symlink() argument
794 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_symlink()
795 struct bch_inode_info *dir = to_bch_ei(vdir), *inode; in bch2_symlink()
826 struct inode *vdir, struct dentry *dentry, umode_t mode) in bch2_mkdir() argument
828 return bch2_mknod(idmap, vdir, dentry, mode|S_IFDIR, 0); in bch2_mkdir()
1168 struct inode *vdir, struct file *file, umode_t mode) in bch2_tmpfile() argument
1171 __bch2_create(idmap, to_bch_ei(vdir), in bch2_tmpfile()
1528 struct inode *vdir) in bch2_encode_fh() argument
1531 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_encode_fh()