Home
last modified time | relevance | path

Searched refs:tempip (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dtempfile.c66 ASSERT(sc->tempip == NULL); in xrep_tempfile_create()
94 error = xfs_icreate(tp, ino, &args, &sc->tempip); in xrep_tempfile_create()
99 sc->tempip->i_diflags &= ~(XFS_DIFLAG_REALTIME | XFS_DIFLAG_RTINHERIT); in xrep_tempfile_create()
100 xfs_trans_log_inode(tp, sc->tempip, XFS_ILOG_CORE); in xrep_tempfile_create()
107 VFS_I(sc->tempip)->i_flags |= S_PRIVATE; in xrep_tempfile_create()
108 VFS_I(sc->tempip)->i_opflags &= ~IOP_XATTR; in xrep_tempfile_create()
111 error = xfs_dir_init(tp, sc->tempip, dp); in xrep_tempfile_create()
114 } else if (S_ISLNK(VFS_I(sc->tempip)->i_mode)) { in xrep_tempfile_create()
122 error = xfs_symlink_write_target(tp, sc->tempip, in xrep_tempfile_create()
123 sc->tempip->i_ino, ".", 1, 0, 0); in xrep_tempfile_create()
[all …]
Dsymlink_repair.c286 error = xfs_bmap_local_to_extents(sc->tp, sc->tempip, 1, in xrep_symlink_swap_prep()
333 temp_local = sc->tempip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_symlink_swap()
341 sc->tempip->i_disk_size <= xfs_inode_data_fork_size(sc->ip)) { in xrep_symlink_swap()
363 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->tempip, XFS_DATA_FORK); in xrep_symlink_reset_fork()
368 error = xrep_reap_ifork(sc, sc->tempip, XFS_DATA_FORK); in xrep_symlink_reset_fork()
373 trace_xrep_symlink_reset_fork(sc->tempip); in xrep_symlink_reset_fork()
377 return xfs_symlink_write_target(sc->tp, sc->tempip, sc->tempip->i_ino, in xrep_symlink_reset_fork()
416 xfs_trans_ijoin(sc->tp, sc->tempip, 0); in xrep_symlink_rebuild()
425 error = xfs_trans_reserve_quota_nblks(sc->tp, sc->tempip, resblks, 0, in xrep_symlink_rebuild()
431 xfs_idestroy_fork(&sc->tempip->i_df); in xrep_symlink_rebuild()
[all …]
Dattr_repair.c616 .dp = rx->sc->tempip, in xrep_xattr_insert_rec()
662 trace_xrep_xattr_insert_pptr(rx->sc->tempip, key->flags, in xrep_xattr_insert_rec()
667 trace_xrep_xattr_insert_rec(rx->sc->tempip, key->flags, in xrep_xattr_insert_rec()
807 struct xfs_ifork *ifp = &sc->tempip->i_af; in xrep_xattr_full_reset()
810 trace_xrep_xattr_full_reset(sc->ip, sc->tempip); in xrep_xattr_full_reset()
813 if (sc->tempip->i_df.if_format == XFS_DINODE_FMT_BTREE) { in xrep_xattr_full_reset()
827 xfs_trans_ijoin(sc->tp, sc->tempip, 0); in xrep_xattr_full_reset()
833 if (xfs_ifork_has_extents(&sc->tempip->i_af)) { in xrep_xattr_full_reset()
834 error = xrep_reap_ifork(sc, sc->tempip, XFS_ATTR_FORK); in xrep_xattr_full_reset()
840 xfs_idata_realloc(sc->tempip, sizeof(*hdr), XFS_ATTR_FORK); in xrep_xattr_full_reset()
[all …]
Ddir_repair.c337 trace_xrep_dir_stash_createname(rd->sc->tempip, name, ino); in xrep_dir_stash_createname()
364 trace_xrep_dir_stash_removename(rd->sc->tempip, name, ino); in xrep_dir_stash_removename()
689 struct xfs_inode *dp = rd->sc->tempip; in xrep_dir_replay_createname()
751 xfs_trans_ijoin(rd->sc->tp, rd->sc->tempip, 0); in xrep_dir_replay_update()
762 error = xchk_dir_lookup(rd->sc, rd->sc->tempip, xname, &ino); in xrep_dir_replay_update()
786 error = xchk_dir_lookup(rd->sc, rd->sc->tempip, xname, &ino); in xrep_dir_replay_update()
1160 trace_xrep_dir_stash_createname(sc->tempip, &xfs_name_dotdot, in xrep_dir_scan_dirent()
1388 trace_xrep_dir_stash_createname(sc->tempip, in xrep_dir_live_update()
1394 trace_xrep_dir_stash_removename(sc->tempip, in xrep_dir_live_update()
1419 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->tempip, XFS_DATA_FORK); in xrep_dir_reset_fork()
[all …]
Dparent_repair.c302 trace_xrep_parent_replay_parentadd(sc->tempip, xname, in xrep_parent_replay_update()
305 return xfs_parent_set(sc->tempip, sc->ip->i_ino, xname, in xrep_parent_replay_update()
309 trace_xrep_parent_replay_parentremove(sc->tempip, xname, in xrep_parent_replay_update()
312 return xfs_parent_unset(sc->tempip, sc->ip->i_ino, xname, in xrep_parent_replay_update()
383 trace_xrep_parent_stash_parentadd(rp->sc->tempip, dp, name); in xrep_parent_stash_parentadd()
409 trace_xrep_parent_stash_parentremove(rp->sc->tempip, dp, name); in xrep_parent_stash_parentremove()
964 trace_xrep_parent_stash_xattr(rp->sc->tempip, key.flags, (void *)name, in xrep_parent_stash_xattr()
987 .dp = rp->sc->tempip, in xrep_parent_insert_xattr()
1033 trace_xrep_parent_insert_xattr(rp->sc->tempip, key->flags, in xrep_parent_insert_xattr()
1210 error = xfs_attr_add_fork(sc->tempip, in xrep_parent_ensure_attr_fork()
Drtsummary_repair.c134 xfs_trans_ijoin(sc->tp, sc->tempip, 0); in xrep_rtsummary()
172 return xrep_reap_ifork(sc, sc->tempip, XFS_DATA_FORK); in xrep_rtsummary()
Dscrub.h163 struct xfs_inode *tempip; member
Dscrub.c190 ASSERT(sc->tempip == sub->sc.tempip); in xchk_scrub_free_subord()
Dfindparent.c159 if (dp == sc->ip || dp == sc->tempip) in xrep_findparent_walk_directory()
Dreaddir.c334 if (dp == sc->tempip) in xchk_dir_lookup()
Dreap.c1015 ASSERT(ip == sc->ip || ip == sc->tempip); in xrep_reap_ifork()
Dtrace.h2711 __entry->temp_inum = sc->tempip->i_ino;
2738 __entry->ino = sc->tempip->i_ino;