Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c139 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()
149 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()
150 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()
151 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()
164 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()
165 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()
166 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()
186 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()
202 ASSERT(!mask || mask->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
204 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()
[all …]
H A Dxfs_refcount.c110 start = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()
119 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()
120 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()
208 rec.refc.rc_startblock = cpu_to_be32(start); in xfs_refcount_update()
209 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()
210 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()
1061 cur->bc_ag.refc.shape_changes); in xfs_refcount_still_have_space()
1069 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
1074 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
1079 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
[all …]
H A Dxfs_btree.h39 struct xfs_refcount_key refc; member
48 struct xfs_refcount_rec refc; member
229 } refc; member
/openbmc/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 …]
/openbmc/qemu/tests/decode/
H A Derr_field9.decode10 %refc c:4
14 insn 00000000 00000000 00000000 ........ @fmt d=%refc a=6
/openbmc/linux/arch/powerpc/include/asm/
H A Dimc-pmu.h142 int refc; member