Lines Matching refs:in
736 struct ceph_mds_reply_inode *info = iinfo->in; in fill_inode()
1150 static int splice_dentry(struct dentry **pdn, struct inode *in) in splice_dentry() argument
1157 if (S_ISDIR(in->i_mode)) { in splice_dentry()
1162 realdn = d_find_any_alias(in); in splice_dentry()
1181 realdn = d_splice_alias(in, dn); in splice_dentry()
1184 PTR_ERR(realdn), dn, in, ceph_vinop(in)); in splice_dentry()
1219 struct inode *in = NULL; in ceph_fill_trace() local
1263 tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in ceph_fill_trace()
1264 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1297 tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in ceph_fill_trace()
1298 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1300 in = ceph_get_inode(sb, tvino); in ceph_fill_trace()
1301 if (IS_ERR(in)) { in ceph_fill_trace()
1302 err = PTR_ERR(in); in ceph_fill_trace()
1305 req->r_target_inode = in; in ceph_fill_trace()
1307 err = fill_inode(in, req->r_locked_page, &rinfo->targeti, NULL, in ceph_fill_trace()
1314 in, ceph_vinop(in)); in ceph_fill_trace()
1342 dvino.ino = le64_to_cpu(rinfo->diri.in->ino); in ceph_fill_trace()
1343 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1350 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
1416 ihold(in); in ceph_fill_trace()
1417 err = splice_dentry(&req->r_dentry, in); in ceph_fill_trace()
1421 } else if (d_really_is_positive(dn) && d_inode(dn) != in) { in ceph_fill_trace()
1424 ceph_vinop(in)); in ceph_fill_trace()
1445 dout(" linking snapped dir %p to dn %p\n", in, req->r_dentry); in ceph_fill_trace()
1447 ihold(in); in ceph_fill_trace()
1448 err = splice_dentry(&req->r_dentry, in); in ceph_fill_trace()
1454 dvino.ino = le64_to_cpu(rinfo->diri.in->ino); in ceph_fill_trace()
1455 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1457 tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in ceph_fill_trace()
1458 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1483 struct inode *in; in readdir_prepopulate_inodes_only() local
1486 vino.ino = le64_to_cpu(rde->inode.in->ino); in readdir_prepopulate_inodes_only()
1487 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
1489 in = ceph_get_inode(req->r_dentry->d_sb, vino); in readdir_prepopulate_inodes_only()
1490 if (IS_ERR(in)) { in readdir_prepopulate_inodes_only()
1491 err = PTR_ERR(in); in readdir_prepopulate_inodes_only()
1495 rc = fill_inode(in, NULL, &rde->inode, NULL, session, in readdir_prepopulate_inodes_only()
1499 pr_err("fill_inode badness on %p got %d\n", in, rc); in readdir_prepopulate_inodes_only()
1503 ceph_async_iput(in); in readdir_prepopulate_inodes_only()
1565 struct inode *in; in ceph_readdir_prepopulate() local
1632 tvino.ino = le64_to_cpu(rde->inode.in->ino); in ceph_readdir_prepopulate()
1633 tvino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir_prepopulate()
1684 in = d_inode(dn); in ceph_readdir_prepopulate()
1686 in = ceph_get_inode(parent->d_sb, tvino); in ceph_readdir_prepopulate()
1687 if (IS_ERR(in)) { in ceph_readdir_prepopulate()
1691 err = PTR_ERR(in); in ceph_readdir_prepopulate()
1696 ret = fill_inode(in, NULL, &rde->inode, NULL, session, in ceph_readdir_prepopulate()
1700 pr_err("fill_inode badness on %p\n", in); in ceph_readdir_prepopulate()
1704 ceph_async_iput(in); in ceph_readdir_prepopulate()
1712 if (ceph_security_xattr_deadlock(in)) { in ceph_readdir_prepopulate()
1714 " (security xattr deadlock)\n", dn, in); in ceph_readdir_prepopulate()
1715 ceph_async_iput(in); in ceph_readdir_prepopulate()
1720 err = splice_dentry(&dn, in); in ceph_readdir_prepopulate()