Lines Matching refs:dentry
56 struct dentry *dentry = d_find_alias(inode);
57 if (!dentry)
61 dir = d_inode_rcu(dentry->d_parent);
64 sfh->hash = ceph_dentry_hash(dir, dentry);
68 dput(dentry);
184 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino)
206 static struct dentry *__snapfh_to_dentry(struct super_block *sb,
294 * convert regular fh to dentry
296 static struct dentry *ceph_fh_to_dentry(struct super_block *sb,
318 static struct dentry *__get_parent(struct super_block *sb,
319 struct dentry *child, u64 ino)
364 static struct dentry *ceph_get_parent(struct dentry *child)
368 struct dentry *dn;
397 * will fail. Do not mark snapdir dentry as disconnected,
415 static struct dentry *ceph_fh_to_parent(struct super_block *sb,
421 struct dentry *dentry;
434 dentry = __get_parent(sb, NULL, cfh->ino);
435 if (unlikely(dentry == ERR_PTR(-ENOENT)))
436 dentry = __fh_to_dentry(sb, cfh->parent_ino);
437 return dentry;
440 static int __get_snap_name(struct dentry *parent, char *name,
441 struct dentry *child)
532 doutc(fsc->client, "child dentry %p %p %llx.%llx err=%d\n", child,
537 static int ceph_get_name(struct dentry *parent, char *name,
538 struct dentry *child)
594 doutc(mdsc->fsc->client, "child dentry %p %p %llx.%llx err %d %s%s\n",