Home
last modified time | relevance | path

Searched refs:refc (Results 1 – 6 of 6) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c136 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
146 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
147 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
148 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
161 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()
162 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
163 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
183 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
199 ASSERT(!mask || mask->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
201 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()
[all …]
H A Dxfs_refcount.c112 start = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()
121 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()
122 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()
209 rec.refc.rc_startblock = cpu_to_be32(start); in xfs_refcount_update()
210 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
211 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()
1873 be32_to_cpu(rec->refc.rc_refcount) != 1)) { in xfs_refcount_recover_extent()
H A Dxfs_btree.h39 struct xfs_refcount_key refc; member
48 struct xfs_refcount_rec refc; member
/linux/arch/powerpc/perf/
H A Dimc-pmu.c56 .refc = 0,
416 ref->refc = 0; in ppc_nest_imc_cpu_offline()
481 if (ref->refc == 0) { in nest_imc_counters_release()
495 ref->refc--; in nest_imc_counters_release()
496 if (ref->refc == 0) { in nest_imc_counters_release()
504 } else if (ref->refc < 0) { in nest_imc_counters_release()
506 ref->refc = 0; in nest_imc_counters_release()
574 if (ref->refc == 0) { in nest_imc_event_init()
584 ++ref->refc; in nest_imc_event_init()
721 ref->refc = 0; in ppc_core_imc_cpu_offline()
[all …]
/linux/arch/powerpc/include/asm/
H A Dimc-pmu.h142 int refc; member
/linux/fs/xfs/
H A Dxfs_trace.h3508 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc),
3509 TP_ARGS(mp, refc),
3519 __entry->agno = XFS_FSB_TO_AGNO(mp, refc->ri_startblock);
3520 __entry->op = refc->ri_type;
3521 __entry->agbno = XFS_FSB_TO_AGBNO(mp, refc->ri_startblock);
3522 __entry->len = refc->ri_blockcount;
3533 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc), \
3534 TP_ARGS(mp, refc))