Searched refs:refc (Results 1 – 7 of 7) 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 …]
143 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()153 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()154 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()155 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()163 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()164 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()165 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()197 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()198 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()[all …]
99 irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()100 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()101 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()176 rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); in xfs_refcount_update()177 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()178 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()894 cur->bc_ag.refc.shape_changes); in xfs_refcount_still_have_space()902 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()907 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()912 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
55 .refc = 0,403 ref->refc = 0; in ppc_nest_imc_cpu_offline()468 if (ref->refc == 0) { in nest_imc_counters_release()482 ref->refc--; in nest_imc_counters_release()483 if (ref->refc == 0) { in nest_imc_counters_release()491 } else if (ref->refc < 0) { in nest_imc_counters_release()493 ref->refc = 0; in nest_imc_counters_release()562 if (ref->refc == 0) { in nest_imc_event_init()572 ++ref->refc; in nest_imc_event_init()711 ref->refc = 0; in ppc_core_imc_cpu_offline()[all …]
343 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()344 len = be32_to_cpu(rec->refc.rc_blockcount); in xchk_refcountbt_rec()345 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()
142 int refc; member