• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/

Lines Matching refs:dentry

113 	struct inode *ip = path->dentry->d_inode;
126 static struct dentry *
127 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags)
134 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL);
140 return (d_splice_alias(NULL, dentry));
145 return (d_splice_alias(ip, dentry));
191 * as of the 3.18 kernel revaliding the mountpoint dentry will result in
196 zpl_snapdir_revalidate(struct dentry *dentry, struct nameidata *i)
198 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags)
201 return (!!dentry->d_inode);
217 static struct dentry *
218 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry,
228 error = -zfsctl_snapdir_lookup(dip, dname(dentry), &ip,
238 d_clear_d_op(dentry);
239 d_set_d_op(dentry, &zpl_dops_snapdirs);
240 dentry->d_flags |= DCACHE_NEED_AUTOMOUNT;
242 return (d_splice_alias(ip, dentry));
305 struct dentry *sdentry, struct inode *tdip, struct dentry *tdentry,
308 zpl_snapdir_rename2(struct inode *sdip, struct dentry *sdentry,
309 struct inode *tdip, struct dentry *tdentry, unsigned int flags)
330 zpl_snapdir_rename(struct inode *sdip, struct dentry *sdentry,
331 struct inode *tdip, struct dentry *tdentry)
338 zpl_snapdir_rmdir(struct inode *dip, struct dentry *dentry)
344 error = -zfsctl_snapdir_remove(dip, dname(dentry), cr, 0);
354 struct dentry *dentry, umode_t mode)
356 zpl_snapdir_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
368 error = -zfsctl_snapdir_mkdir(dip, dname(dentry), vap, &ip, cr, 0);
370 d_clear_d_op(dentry);
371 d_set_d_op(dentry, &zpl_dops_snapdirs);
372 d_instantiate(dentry, ip);
396 struct inode *ip = path->dentry->d_inode;
451 static struct dentry *
452 zpl_shares_lookup(struct inode *dip, struct dentry *dentry,
462 error = -zfsctl_shares_lookup(dip, dname(dentry), &ip,
470 return (d_splice_alias(NULL, dentry));
475 return (d_splice_alias(ip, dentry));
538 struct inode *ip = path->dentry->d_inode;
547 generic_fillattr(user_ns, path->dentry->d_inode, stat);
549 generic_fillattr(path->dentry->d_inode, stat);