Lines Matching refs:sx
114 struct xchk_xattr *sx; in xchk_xattr_listent() local
118 sx = container_of(context, struct xchk_xattr, context); in xchk_xattr_listent()
120 if (xchk_should_terminate(sx->sc, &error)) { in xchk_xattr_listent()
127 xchk_ino_set_preen(sx->sc, context->dp->i_ino); in xchk_xattr_listent()
133 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_listent()
142 error = xchk_setup_xattr_buf(sx->sc, valuelen, XCHK_GFP_FLAGS); in xchk_xattr_listent()
159 args.value = xchk_xattr_valuebuf(sx->sc); in xchk_xattr_listent()
166 if (!xchk_fblock_process_error(sx->sc, XFS_ATTR_FORK, args.blkno, in xchk_xattr_listent()
170 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, in xchk_xattr_listent()
173 if (sx->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_xattr_listent()
476 struct xchk_xattr sx; in xchk_xattr() local
483 memset(&sx, 0, sizeof(sx)); in xchk_xattr()
494 sx.context.dp = sc->ip; in xchk_xattr()
495 sx.context.resynch = 1; in xchk_xattr()
496 sx.context.put_listent = xchk_xattr_listent; in xchk_xattr()
497 sx.context.tp = sc->tp; in xchk_xattr()
498 sx.context.allow_incomplete = true; in xchk_xattr()
499 sx.sc = sc; in xchk_xattr()
517 error = xfs_attr_list_ilocked(&sx.context); in xchk_xattr()
522 if (sx.context.seen_enough < 0) in xchk_xattr()
523 error = sx.context.seen_enough; in xchk_xattr()