Searched refs:refc (Results 1 – 6 of 6) sorted by relevance
300 struct xfs_phys_extent *refc, in xfs_trans_set_refcount_flags() argument303 refc->pe_flags = 0; in xfs_trans_set_refcount_flags()309 refc->pe_flags |= type; in xfs_trans_set_refcount_flags()321 struct xfs_refcount_intent *refc) in xfs_refcount_update_log_item() argument337 ext->pe_startblock = refc->ri_startblock; in xfs_refcount_update_log_item()338 ext->pe_len = refc->ri_blockcount; in xfs_refcount_update_log_item()339 xfs_trans_set_refcount_flags(ext, refc->ri_type); in xfs_refcount_update_log_item()351 struct xfs_refcount_intent *refc; in xfs_refcount_update_create_intent() local358 list_for_each_entry(refc, items, ri_list) in xfs_refcount_update_create_intent()359 xfs_refcount_update_log_item(tp, cuip, refc); in xfs_refcount_update_create_intent()[all …]
144 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()154 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()155 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()156 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()169 rec->refc.rc_startblock = cpu_to_be32(start); in xfs_refcountbt_init_rec_from_cur()170 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()171 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()191 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()206 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()207 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()[all …]
110 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()186 rec.refc.rc_startblock = cpu_to_be32(start); in xfs_refcount_update()187 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()188 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()925 cur->bc_ag.refc.shape_changes); in xfs_refcount_still_have_space()933 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()938 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()943 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()[all …]
39 struct xfs_refcount_key refc; member48 struct xfs_refcount_rec refc; member189 } refc; member
56 .refc = 0,410 ref->refc = 0; in ppc_nest_imc_cpu_offline()475 if (ref->refc == 0) { in nest_imc_counters_release()489 ref->refc--; in nest_imc_counters_release()490 if (ref->refc == 0) { in nest_imc_counters_release()498 } else if (ref->refc < 0) { in nest_imc_counters_release()500 ref->refc = 0; in nest_imc_counters_release()568 if (ref->refc == 0) { in nest_imc_event_init()578 ++ref->refc; in nest_imc_event_init()715 ref->refc = 0; in ppc_core_imc_cpu_offline()[all …]
142 int refc; member