Searched refs:refc (Results 1 – 6 of 6) sorted by relevance
111 struct xfs_phys_extent *refc, in xfs_trans_set_refcount_flags() argument114 refc->pe_flags = 0; in xfs_trans_set_refcount_flags()120 refc->pe_flags |= type; in xfs_trans_set_refcount_flags()135 struct xfs_refcount_intent *refc; in xfs_refcount_update_log_item() local139 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_log_item()152 ext->pe_startblock = refc->ri_startblock; in xfs_refcount_update_log_item()153 ext->pe_len = refc->ri_blockcount; in xfs_refcount_update_log_item()154 xfs_trans_set_refcount_flags(ext, refc->ri_type); in xfs_refcount_update_log_item()175 struct xfs_refcount_intent *refc; in xfs_refcount_update_finish_item() local180 refc = container_of(item, struct xfs_refcount_intent, ri_list); in xfs_refcount_update_finish_item()[all …]
389 struct xfs_phys_extent *refc; in xfs_cui_recover() local410 refc = &cuip->cui_format.cui_extents[i]; in xfs_cui_recover()412 XFS_FSB_TO_DADDR(mp, refc->pe_startblock)); in xfs_cui_recover()413 switch (refc->pe_flags & XFS_REFCOUNT_EXTENT_TYPE_MASK) { in xfs_cui_recover()425 refc->pe_len == 0 || in xfs_cui_recover()427 refc->pe_len >= mp->m_sb.sb_agblocks || in xfs_cui_recover()428 (refc->pe_flags & ~XFS_REFCOUNT_EXTENT_FLAGS)) { in xfs_cui_recover()464 refc = &cuip->cui_format.cui_extents[i]; in xfs_cui_recover()465 refc_type = refc->pe_flags & XFS_REFCOUNT_EXTENT_TYPE_MASK; in xfs_cui_recover()478 new_fsb = refc->pe_startblock; in xfs_cui_recover()[all …]
146 key->refc.rc_startblock = rec->refc.rc_startblock; in xfs_refcountbt_init_key_from_rec()156 x = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcountbt_init_high_key_from_rec()157 x += be32_to_cpu(rec->refc.rc_blockcount) - 1; in xfs_refcountbt_init_high_key_from_rec()158 key->refc.rc_startblock = cpu_to_be32(x); in xfs_refcountbt_init_high_key_from_rec()166 rec->refc.rc_startblock = cpu_to_be32(cur->bc_rec.rc.rc_startblock); in xfs_refcountbt_init_rec_from_cur()167 rec->refc.rc_blockcount = cpu_to_be32(cur->bc_rec.rc.rc_blockcount); in xfs_refcountbt_init_rec_from_cur()168 rec->refc.rc_refcount = cpu_to_be32(cur->bc_rec.rc.rc_refcount); in xfs_refcountbt_init_rec_from_cur()189 struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff()200 return (int64_t)be32_to_cpu(k1->refc.rc_startblock) - in xfs_refcountbt_diff_two_keys()201 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()[all …]
98 irec->rc_startblock = be32_to_cpu(rec->refc.rc_startblock); in xfs_refcount_btrec_to_irec()99 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec()100 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec()175 rec.refc.rc_startblock = cpu_to_be32(irec->rc_startblock); in xfs_refcount_update()176 rec.refc.rc_blockcount = cpu_to_be32(irec->rc_blockcount); in xfs_refcount_update()177 rec.refc.rc_refcount = cpu_to_be32(irec->rc_refcount); in xfs_refcount_update()838 overhead = cur->bc_private.a.priv.refc.shape_changes * in xfs_refcount_still_have_space()846 if (cur->bc_private.a.priv.refc.nr_ops > 2 && in xfs_refcount_still_have_space()851 if (cur->bc_private.a.priv.refc.nr_ops == 0) in xfs_refcount_still_have_space()856 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
354 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()355 len = be32_to_cpu(rec->refc.rc_blockcount); in xchk_refcountbt_rec()356 refcount = be32_to_cpu(rec->refc.rc_refcount); in xchk_refcountbt_rec()