Lines Matching refs:vdir

711 static struct dentry *bch2_lookup(struct inode *vdir, struct dentry *dentry,  in bch2_lookup()  argument
714 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_lookup()
715 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_lookup()
725 if (!inode && IS_CASEFOLDED(vdir)) { in bch2_lookup()
744 struct inode *vdir, struct dentry *dentry, in bch2_mknod() argument
748 __bch2_create(idmap, to_bch_ei(vdir), dentry, mode, rdev, in bch2_mknod()
759 struct inode *vdir, struct dentry *dentry, in bch2_create() argument
762 return bch2_mknod(idmap, vdir, dentry, mode|S_IFREG, 0); in bch2_create()
793 static int bch2_link(struct dentry *old_dentry, struct inode *vdir, in bch2_link() argument
796 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_link()
797 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_link()
814 int __bch2_unlink(struct inode *vdir, struct dentry *dentry, in __bch2_unlink() argument
817 struct bch_fs *c = vdir->i_sb->s_fs_info; in __bch2_unlink()
818 struct bch_inode_info *dir = to_bch_ei(vdir); in __bch2_unlink()
849 if (IS_CASEFOLDED(vdir)) in __bch2_unlink()
858 static int bch2_unlink(struct inode *vdir, struct dentry *dentry) in bch2_unlink() argument
860 struct bch_inode_info *dir= to_bch_ei(vdir); in bch2_unlink()
864 __bch2_unlink(vdir, dentry, false); in bch2_unlink()
869 struct inode *vdir, struct dentry *dentry, in bch2_symlink() argument
872 struct bch_fs *c = vdir->i_sb->s_fs_info; in bch2_symlink()
873 struct bch_inode_info *dir = to_bch_ei(vdir), *inode; in bch2_symlink()
904 struct inode *vdir, struct dentry *dentry, umode_t mode) in bch2_mkdir() argument
906 return ERR_PTR(bch2_mknod(idmap, vdir, dentry, mode|S_IFDIR, 0)); in bch2_mkdir()
1246 struct inode *vdir, struct file *file, umode_t mode) in bch2_tmpfile() argument
1249 __bch2_create(idmap, to_bch_ei(vdir), in bch2_tmpfile()
1874 struct inode *vdir) in bch2_encode_fh() argument
1877 struct bch_inode_info *dir = to_bch_ei(vdir); in bch2_encode_fh()