Lines Matching refs:spc
50 struct xchk_parent_ctx *spc; in xchk_parent_actor() local
53 spc = container_of(dc, struct xchk_parent_ctx, dc); in xchk_parent_actor()
54 if (spc->ino == ino) in xchk_parent_actor()
55 spc->nlink++; in xchk_parent_actor()
62 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
63 spc->cancelled = true; in xchk_parent_actor()
75 struct xchk_parent_ctx spc = { in xchk_parent_count_parent_dentries() local
107 error = xfs_readdir(sc->tp, parent, &spc.dc, bufsize); in xchk_parent_count_parent_dentries()
110 if (spc.cancelled) { in xchk_parent_count_parent_dentries()
114 if (oldpos == spc.dc.pos) in xchk_parent_count_parent_dentries()
116 oldpos = spc.dc.pos; in xchk_parent_count_parent_dentries()
118 *nlink = spc.nlink; in xchk_parent_count_parent_dentries()