Lines Matching refs:spc
51 struct xchk_parent_ctx *spc; in xchk_parent_actor() local
54 spc = container_of(dc, struct xchk_parent_ctx, dc); in xchk_parent_actor()
55 if (spc->ino == ino) in xchk_parent_actor()
56 spc->nlink++; in xchk_parent_actor()
63 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
64 spc->cancelled = true; in xchk_parent_actor()
76 struct xchk_parent_ctx spc = { in xchk_parent_count_parent_dentries() local
108 error = xfs_readdir(sc->tp, parent, &spc.dc, bufsize); in xchk_parent_count_parent_dentries()
111 if (spc.cancelled) { in xchk_parent_count_parent_dentries()
115 if (oldpos == spc.dc.pos) in xchk_parent_count_parent_dentries()
117 oldpos = spc.dc.pos; in xchk_parent_count_parent_dentries()
119 *nlink = spc.nlink; in xchk_parent_count_parent_dentries()