• Home
  • Raw
  • Download

Lines Matching full:sdc

55 	struct xchk_dir_ctx	*sdc,  in xchk_dir_check_ftype()  argument
60 struct xfs_mount *mp = sdc->sc->mp; in xchk_dir_check_ftype()
67 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_check_ftype()
80 error = xfs_iget(mp, sdc->sc->tp, inum, 0, 0, &ip); in xchk_dir_check_ftype()
81 if (!xchk_fblock_xref_process_error(sdc->sc, XFS_DATA_FORK, offset, in xchk_dir_check_ftype()
89 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, offset); in xchk_dir_check_ftype()
114 struct xchk_dir_ctx *sdc; in xchk_dir_actor() local
120 sdc = container_of(dir_iter, struct xchk_dir_ctx, dir_iter); in xchk_dir_actor()
121 ip = sdc->sc->ip; in xchk_dir_actor()
128 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, offset); in xchk_dir_actor()
135 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
138 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
146 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
149 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
158 error = xfs_dir_lookup(sdc->sc->tp, ip, &xname, &lookup_ino, NULL); in xchk_dir_actor()
162 if (!xchk_fblock_process_error(sdc->sc, XFS_DATA_FORK, offset, in xchk_dir_actor()
166 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, offset); in xchk_dir_actor()
171 error = xchk_dir_check_ftype(sdc, offset, lookup_ino, type); in xchk_dir_actor()
180 if (error == 0 && sdc->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_dir_actor()
778 struct xchk_dir_ctx sdc = { in xchk_directory() local
839 error = xfs_readdir(sc->tp, sc->ip, &sdc.dir_iter, bufsize); in xchk_directory()
843 if (oldpos == sdc.dir_iter.pos) in xchk_directory()
845 oldpos = sdc.dir_iter.pos; in xchk_directory()