Searched refs:refc (Results 1 – 5 of 5) sorted by relevance
311 struct xfs_phys_extent *refc, in xfs_trans_set_refcount_flags() argument314 refc->pe_flags = 0; in xfs_trans_set_refcount_flags()320 refc->pe_flags |= type; in xfs_trans_set_refcount_flags()335 struct xfs_refcount_intent *refc; in xfs_refcount_update_log_item() local339 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_log_item()352 ext->pe_startblock = refc->ri_startblock; in xfs_refcount_update_log_item()353 ext->pe_len = refc->ri_blockcount; in xfs_refcount_update_log_item()354 xfs_trans_set_refcount_flags(ext, refc->ri_type); in xfs_refcount_update_log_item()375 struct xfs_refcount_intent *refc; in xfs_refcount_update_finish_item() local380 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_finish_item()[all …]
142 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()152 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()153 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()154 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()162 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()163 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()164 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()185 struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()196 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()197 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()[all …]
96 irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()97 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()98 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()173 rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); in xfs_refcount_update()174 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()175 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()836 overhead = cur->bc_private.a.priv.refc.shape_changes * in xfs_refcount_still_have_space()844 if (cur->bc_private.a.priv.refc.nr_ops > 2 && in xfs_refcount_still_have_space()849 if (cur->bc_private.a.priv.refc.nr_ops == 0) in xfs_refcount_still_have_space()854 cur->bc_private.a.priv.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; member185 } refc; member
345 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()346 len = be32_to_cpu(rec->refc.rc_blockcount); in xchk_refcountbt_rec()347 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()