Lines Matching refs:ip
50 struct xfs_inode *ip = sc->ip;
63 xfs_trans_ijoin(sc->tp, ip, 0);
72 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs);
78 * We still hold @ip's ILOCK, so its link count cannot change.
82 total_links = xchk_nlink_total(ip, &obs);
83 actual_nlink = VFS_I(ip)->i_nlink;
95 if (!S_ISDIR(VFS_I(ip)->i_mode) && obs.children != 0) {
96 trace_xrep_nlinks_unfixable_inode(mp, ip, &obs);
110 trace_xrep_nlinks_unfixable_inode(mp, ip, &obs);
117 trace_xrep_nlinks_unfixable_inode(mp, ip, &obs);
121 trace_xrep_nlinks_update_inode(mp, ip, &obs);
123 set_nlink(VFS_I(ip), total_links);
132 xfs_trans_log_inode(sc->tp, ip, XFS_ILOG_CORE);
190 ASSERT(sc->ip == NULL);
192 while ((error = xrep_nlinks_iter(xnc, &sc->ip)) == 1) {
200 xchk_iscan_mark_visited(&xnc->compare_iscan, sc->ip);
201 xchk_irele(sc, sc->ip);
202 sc->ip = NULL;