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