refc 137 arch/powerpc/include/asm/imc-pmu.h int refc; refc 392 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 457 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 471 arch/powerpc/perf/imc-pmu.c ref->refc--; refc 472 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 480 arch/powerpc/perf/imc-pmu.c } else if (ref->refc < 0) { refc 482 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 551 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 561 arch/powerpc/perf/imc-pmu.c ++ref->refc; refc 700 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 734 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 748 arch/powerpc/perf/imc-pmu.c ref->refc--; refc 749 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 757 arch/powerpc/perf/imc-pmu.c } else if (ref->refc < 0) { refc 759 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 809 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 819 arch/powerpc/perf/imc-pmu.c ++ref->refc; refc 1046 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 1055 arch/powerpc/perf/imc-pmu.c ++ref->refc; refc 1072 arch/powerpc/perf/imc-pmu.c ref->refc--; refc 1073 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 1081 arch/powerpc/perf/imc-pmu.c } else if (ref->refc < 0) { refc 1082 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 1240 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 1249 arch/powerpc/perf/imc-pmu.c ++ref->refc; refc 1288 arch/powerpc/perf/imc-pmu.c ref->refc--; refc 1289 arch/powerpc/perf/imc-pmu.c if (ref->refc == 0) { refc 1296 arch/powerpc/perf/imc-pmu.c } else if (ref->refc < 0) { refc 1297 arch/powerpc/perf/imc-pmu.c ref->refc = 0; refc 39 fs/xfs/libxfs/xfs_btree.h struct xfs_refcount_key refc; refc 48 fs/xfs/libxfs/xfs_btree.h struct xfs_refcount_rec refc; refc 185 fs/xfs/libxfs/xfs_btree.h } refc; refc 96 fs/xfs/libxfs/xfs_refcount.c irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock); refc 97 fs/xfs/libxfs/xfs_refcount.c irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); refc 98 fs/xfs/libxfs/xfs_refcount.c irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); refc 173 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); refc 174 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); refc 175 fs/xfs/libxfs/xfs_refcount.c rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); refc 836 fs/xfs/libxfs/xfs_refcount.c overhead = cur->bc_private.a.priv.refc.shape_changes * refc 844 fs/xfs/libxfs/xfs_refcount.c if (cur->bc_private.a.priv.refc.nr_ops > 2 && refc 849 fs/xfs/libxfs/xfs_refcount.c if (cur->bc_private.a.priv.refc.nr_ops == 0) refc 854 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.priv.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; refc 918 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.priv.refc.nr_ops++; refc 953 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.priv.refc.nr_ops++; refc 960 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.priv.refc.nr_ops++; refc 1036 fs/xfs/libxfs/xfs_refcount.c cur->bc_private.a.priv.refc.shape_changes++; refc 1114 fs/xfs/libxfs/xfs_refcount.c nr_ops = rcur->bc_private.a.priv.refc.nr_ops; refc 1115 fs/xfs/libxfs/xfs_refcount.c shape_changes = rcur->bc_private.a.priv.refc.shape_changes; refc 1133 fs/xfs/libxfs/xfs_refcount.c rcur->bc_private.a.priv.refc.nr_ops = nr_ops; refc 1134 fs/xfs/libxfs/xfs_refcount.c rcur->bc_private.a.priv.refc.shape_changes = shape_changes; refc 1594 fs/xfs/libxfs/xfs_refcount.c if (be32_to_cpu(rec->refc.rc_refcount) != 1) refc 142 fs/xfs/libxfs/xfs_refcount_btree.c key->refc.rc_startblock = rec->refc.rc_startblock; refc 152 fs/xfs/libxfs/xfs_refcount_btree.c x = be32_to_cpu(rec->refc.rc_startblock); refc 153 fs/xfs/libxfs/xfs_refcount_btree.c x += be32_to_cpu(rec->refc.rc_blockcount) - 1; refc 154 fs/xfs/libxfs/xfs_refcount_btree.c key->refc.rc_startblock = cpu_to_be32(x); refc 162 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); refc 163 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); refc 164 fs/xfs/libxfs/xfs_refcount_btree.c rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); refc 185 fs/xfs/libxfs/xfs_refcount_btree.c struct xfs_refcount_key *kp = &key->refc; refc 196 fs/xfs/libxfs/xfs_refcount_btree.c return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - refc 197 fs/xfs/libxfs/xfs_refcount_btree.c be32_to_cpu(k2->refc.rc_startblock); refc 277 fs/xfs/libxfs/xfs_refcount_btree.c return be32_to_cpu(k1->refc.rc_startblock) < refc 278 fs/xfs/libxfs/xfs_refcount_btree.c be32_to_cpu(k2->refc.rc_startblock); refc 287 fs/xfs/libxfs/xfs_refcount_btree.c return be32_to_cpu(r1->refc.rc_startblock) + refc 288 fs/xfs/libxfs/xfs_refcount_btree.c be32_to_cpu(r1->refc.rc_blockcount) <= refc 289 fs/xfs/libxfs/xfs_refcount_btree.c be32_to_cpu(r2->refc.rc_startblock); refc 343 fs/xfs/libxfs/xfs_refcount_btree.c cur->bc_private.a.priv.refc.nr_ops = 0; refc 344 fs/xfs/libxfs/xfs_refcount_btree.c cur->bc_private.a.priv.refc.shape_changes = 0; refc 345 fs/xfs/scrub/refcount.c bno = be32_to_cpu(rec->refc.rc_startblock); refc 346 fs/xfs/scrub/refcount.c len = be32_to_cpu(rec->refc.rc_blockcount); refc 347 fs/xfs/scrub/refcount.c refcount = be32_to_cpu(rec->refc.rc_refcount); refc 311 fs/xfs/xfs_refcount_item.c struct xfs_phys_extent *refc, refc 314 fs/xfs/xfs_refcount_item.c refc->pe_flags = 0; refc 320 fs/xfs/xfs_refcount_item.c refc->pe_flags |= type; refc 335 fs/xfs/xfs_refcount_item.c struct xfs_refcount_intent *refc; refc 339 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); refc 352 fs/xfs/xfs_refcount_item.c ext->pe_startblock = refc->ri_startblock; refc 353 fs/xfs/xfs_refcount_item.c ext->pe_len = refc->ri_blockcount; refc 354 fs/xfs/xfs_refcount_item.c xfs_trans_set_refcount_flags(ext, refc->ri_type); refc 375 fs/xfs/xfs_refcount_item.c struct xfs_refcount_intent *refc; refc 380 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); refc 382 fs/xfs/xfs_refcount_item.c refc->ri_type, refc 383 fs/xfs/xfs_refcount_item.c refc->ri_startblock, refc 384 fs/xfs/xfs_refcount_item.c refc->ri_blockcount, refc 389 fs/xfs/xfs_refcount_item.c ASSERT(refc->ri_type == XFS_REFCOUNT_INCREASE || refc 390 fs/xfs/xfs_refcount_item.c refc->ri_type == XFS_REFCOUNT_DECREASE); refc 391 fs/xfs/xfs_refcount_item.c refc->ri_startblock = new_fsb; refc 392 fs/xfs/xfs_refcount_item.c refc->ri_blockcount = new_aglen; refc 395 fs/xfs/xfs_refcount_item.c kmem_free(refc); refc 424 fs/xfs/xfs_refcount_item.c struct xfs_refcount_intent *refc; refc 426 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); refc 427 fs/xfs/xfs_refcount_item.c kmem_free(refc); refc 454 fs/xfs/xfs_refcount_item.c struct xfs_phys_extent *refc; refc 475 fs/xfs/xfs_refcount_item.c refc = &cuip->cui_format.cui_extents[i]; refc 477 fs/xfs/xfs_refcount_item.c XFS_FSB_TO_DADDR(mp, refc->pe_startblock)); refc 478 fs/xfs/xfs_refcount_item.c switch (refc->pe_flags & XFS_REFCOUNT_EXTENT_TYPE_MASK) { refc 490 fs/xfs/xfs_refcount_item.c refc->pe_len == 0 || refc 492 fs/xfs/xfs_refcount_item.c refc->pe_len >= mp->m_sb.sb_agblocks || refc 493 fs/xfs/xfs_refcount_item.c (refc->pe_flags & ~XFS_REFCOUNT_EXTENT_FLAGS)) { refc 529 fs/xfs/xfs_refcount_item.c refc = &cuip->cui_format.cui_extents[i]; refc 530 fs/xfs/xfs_refcount_item.c refc_type = refc->pe_flags & XFS_REFCOUNT_EXTENT_TYPE_MASK; refc 543 fs/xfs/xfs_refcount_item.c new_fsb = refc->pe_startblock; refc 544 fs/xfs/xfs_refcount_item.c new_len = refc->pe_len; refc 547 fs/xfs/xfs_refcount_item.c type, refc->pe_startblock, refc->pe_len,