Home
last modified time | relevance | path

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

/linux/arch/powerpc/perf/
H A Dimc-pmu.c56 .refc = 0,
416 ref->refc = 0; in ppc_nest_imc_cpu_offline()
480 if (ref->refc == 0) { in nest_imc_counters_release()
494 ref->refc--; in nest_imc_counters_release()
495 if (ref->refc == 0) { in nest_imc_counters_release()
503 } else if (ref->refc < 0) { in nest_imc_counters_release()
505 ref->refc = 0; in nest_imc_counters_release()
573 if (ref->refc == 0) { in nest_imc_event_init()
583 ++ref->refc; in nest_imc_event_init()
719 ref->refc = 0; in ppc_core_imc_cpu_offline()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_rtrefcount_btree.c121 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_rtrefcountbt_init_key_from_rec()
131 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_rtrefcountbt_init_high_key_from_rec()
132 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_rtrefcountbt_init_high_key_from_rec()
133 key->refc.rc_startblock = cpu_to_be32(x); in xfs_rtrefcountbt_init_high_key_from_rec()
146 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_rtrefcountbt_init_rec_from_cur()
147 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_rtrefcountbt_init_rec_from_cur()
148 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_rtrefcountbt_init_rec_from_cur()
164 const struct xfs_refcount_key *kp = &key->refc; in xfs_rtrefcountbt_cmp_key_with_cur()
180 ASSERT(!mask || mask->refc.rc_startblock); in xfs_rtrefcountbt_cmp_two_keys()
182 return cmp_int(be32_to_cpu(k1->refc.rc_startblock), in xfs_rtrefcountbt_cmp_two_keys()
[all …]
H A Dxfs_refcount.c115 start = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()
124 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()
125 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()
249 rec.refc.rc_startblock = cpu_to_be32(start); in xfs_refcount_update()
250 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
251 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()
2030 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/include/asm/
H A Dimc-pmu.h142 int refc; member
/linux/fs/xfs/
H A Dxfs_trace.h3930 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc),
3931 TP_ARGS(mp, refc),
3942 __entry->type = refc->ri_group->xg_type;
3943 __entry->agno = refc->ri_group->xg_gno;
3944 __entry->op = refc->ri_type;
3945 __entry->gbno = xfs_fsb_to_gbno(mp, refc->ri_startblock,
3946 refc->ri_group->xg_type);
3947 __entry->len = refc->ri_blockcount;
3959 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc), \
3960 TP_ARGS(mp, refc))