Home
last modified time | relevance | path

Searched refs:xqc (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dquotacheck.c129 struct xqcheck *xqc, in xqcheck_update_incore_counts() argument
213 struct xqcheck *xqc; in xqcheck_mod_live_ino_dqtrx() local
218 xqc = container_of(nb, struct xqcheck, qhook.mod_hook.nb); in xqcheck_mod_live_ino_dqtrx()
235 if (!xqc->ucounts) in xqcheck_mod_live_ino_dqtrx()
239 if (!xqc->gcounts) in xqcheck_mod_live_ino_dqtrx()
243 if (!xqc->pcounts) in xqcheck_mod_live_ino_dqtrx()
251 if (!xchk_iscan_want_live_update(&xqc->iscan, p->ino)) in xqcheck_mod_live_ino_dqtrx()
255 mutex_lock(&xqc->lock); in xqcheck_mod_live_ino_dqtrx()
256 dqa = rhashtable_lookup_fast(&xqc->shadow_dquot_acct, &p->tx_id, in xqcheck_mod_live_ino_dqtrx()
264 error = rhashtable_insert_fast(&xqc->shadow_dquot_acct, in xqcheck_mod_live_ino_dqtrx()
[all …]
Dquotacheck_repair.c45 struct xqcheck *xqc, in xqcheck_commit_dquot() argument
50 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype); in xqcheck_commit_dquot()
57 error = xchk_trans_alloc(xqc->sc, 0); in xqcheck_commit_dquot()
62 xfs_trans_dqjoin(xqc->sc->tp, dq); in xqcheck_commit_dquot()
64 if (xchk_iscan_aborted(&xqc->iscan)) { in xqcheck_commit_dquot()
69 mutex_lock(&xqc->lock); in xqcheck_commit_dquot()
107 mutex_unlock(&xqc->lock); in xqcheck_commit_dquot()
111 trace_xrep_quotacheck_dquot(xqc->sc->mp, dq->q_type, dq->q_id); in xqcheck_commit_dquot()
117 xfs_trans_log_dquot(xqc->sc->tp, dq); in xqcheck_commit_dquot()
124 error = xrep_trans_commit(xqc->sc); in xqcheck_commit_dquot()
[all …]
Dquotacheck.h60 struct xqcheck *xqc, in xqcheck_counters_for() argument
65 return xqc->ucounts; in xqcheck_counters_for()
67 return xqc->gcounts; in xqcheck_counters_for()
69 return xqc->pcounts; in xqcheck_counters_for()
/linux-6.12.1/drivers/crypto/hisilicon/
Dqm_common.h75 int qm_set_and_get_xqc(struct hisi_qm *qm, u8 cmd, void *xqc, u32 qp_id, bool op);
Dqm.c619 int qm_set_and_get_xqc(struct hisi_qm *qm, u8 cmd, void *xqc, u32 qp_id, bool op) in qm_set_and_get_xqc() argument
662 memcpy(tmp_xqc, xqc, size); in qm_set_and_get_xqc()
667 memcpy(xqc, tmp_xqc, size); in qm_set_and_get_xqc()