Searched refs:refc (Results 1 – 7 of 7) sorted by relevance
/linux/fs/xfs/libxfs/ |
H A D | xfs_refcount_btree.c | 135 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_cmp_key_with_cur() 198 ASSERT(!mask || mask->refc in xfs_refcountbt_cmp_two_keys() [all...] |
H A D | xfs_rtrefcount_btree.c | 121 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 in xfs_rtrefcountbt_cmp_two_keys() [all...] |
H A D | xfs_refcount.c | 115 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() 2032 be32_to_cpu(rec->refc.rc_refcount) != 1)) { in xfs_refcount_recover_extent()
|
H A D | xfs_btree.h | 39 struct xfs_refcount_key refc; member 48 struct xfs_refcount_rec refc; member
|
/linux/arch/powerpc/perf/ |
H A D | imc-pmu.c | 56 .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() 712 * count lock for this core and directly zero "refc" fo in ppc_core_imc_cpu_offline() [all...] |
/linux/arch/powerpc/include/asm/ |
H A D | imc-pmu.h | 142 int refc; member
|
/linux/fs/xfs/ |
H A D | xfs_trace.h | 3898 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc), 3899 TP_ARGS(mp, refc), 3910 __entry->type = refc->ri_group->xg_type; 3911 __entry->agno = refc->ri_group->xg_gno; 3912 __entry->op = refc->ri_type; 3913 __entry->gbno = xfs_fsb_to_gbno(mp, refc->ri_startblock, 3914 refc->ri_group->xg_type); 3915 __entry->len = refc->ri_blockcount; 3927 TP_PROTO(struct xfs_mount *mp, struct xfs_refcount_intent *refc), \ 3928 TP_ARGS(mp, refc))
|