Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A 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 …]
H A Dquotacheck_repair.c45 struct xqcheck *xqc, in xqcheck_commit_dquot() argument
50 struct xfarray *counts = xqcheck_counters_for(xqc, dqtype); in xqcheck_commit_dquot()
55 error = xchk_trans_alloc(xqc->sc, 0); in xqcheck_commit_dquot()
60 xfs_trans_dqjoin(xqc->sc->tp, dq); in xqcheck_commit_dquot()
62 if (xchk_iscan_aborted(&xqc->iscan)) { in xqcheck_commit_dquot()
67 mutex_lock(&xqc->lock); in xqcheck_commit_dquot()
105 mutex_unlock(&xqc->lock); in xqcheck_commit_dquot()
109 trace_xrep_quotacheck_dquot(xqc->sc->mp, dq->q_type, dq->q_id); in xqcheck_commit_dquot()
115 xfs_trans_log_dquot(xqc->sc->tp, dq); in xqcheck_commit_dquot()
116 return xrep_trans_commit(xqc->sc); in xqcheck_commit_dquot()
[all …]
H A 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/drivers/crypto/hisilicon/
H A Dqm_common.h75 int qm_set_and_get_xqc(struct hisi_qm *qm, u8 cmd, void *xqc, u32 qp_id, bool op);
H A Dqm.c741 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
783 memcpy(tmp_xqc, xqc, size); in qm_set_and_get_xqc()
788 memcpy(xqc, tmp_xqc, size); in qm_set_and_get_xqc()