Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c135 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
145 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
146 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
147 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
160 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()
161 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
162 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
182 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
198 ASSERT(!mask || mask->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
200 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()
[all …]
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.h3637 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc),
3638 TP_ARGS(mp, refc),
3648 __entry->agno = XFS_FSB_TO_AGNO(mp, refc->ri_startblock);
3649 __entry->op = refc->ri_type;
3650 __entry->agbno = XFS_FSB_TO_AGBNO(mp, refc->ri_startblock);
3651 __entry->len = refc->ri_blockcount;
3662 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc), \
3663 TP_ARGS(mp, refc))