Searched refs:xnc (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/fs/xfs/scrub/ |
D | nlinks.c | 50 struct xchk_nlink_ctrs *xnc; in xchk_setup_nlinks() local 61 xnc = kvzalloc(sizeof(struct xchk_nlink_ctrs), XCHK_GFP_FLAGS); in xchk_setup_nlinks() 62 if (!xnc) in xchk_setup_nlinks() 64 xnc->xname.name = xnc->namebuf; in xchk_setup_nlinks() 65 xnc->sc = sc; in xchk_setup_nlinks() 66 sc->buf = xnc; in xchk_setup_nlinks() 119 struct xchk_nlink_ctrs *xnc, in xchk_nlinks_update_incore() argument 128 if (!xnc->nlinks) in xchk_nlinks_update_incore() 131 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore() 135 trace_xchk_nlinks_update_incore(xnc->sc->mp, ino, &nl, parents_delta, in xchk_nlinks_update_incore() [all …]
|
D | nlinks_repair.c | 92 struct xchk_nlink_ctrs *xnc) in xrep_nlinks_repair_inode() argument 95 struct xfs_scrub *sc = xnc->sc; in xrep_nlinks_repair_inode() 122 error = xrep_adoption_trans_alloc(sc, &xnc->adoption); in xrep_nlinks_repair_inode() 150 mutex_lock(&xnc->lock); in xrep_nlinks_repair_inode() 152 if (xchk_iscan_aborted(&xnc->collect_iscan)) { in xrep_nlinks_repair_inode() 157 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs); in xrep_nlinks_repair_inode() 165 mutex_unlock(&xnc->lock); in xrep_nlinks_repair_inode() 193 error = xrep_adoption_compute_name(&xnc->adoption, &xnc->xname); in xrep_nlinks_repair_inode() 202 error = xrep_adoption_move(&xnc->adoption); in xrep_nlinks_repair_inode() 210 mutex_lock(&xnc->lock); in xrep_nlinks_repair_inode() [all …]
|