Home
last modified time | relevance | path

Searched refs:xmi (Results 1 – 2 of 2) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_exchmaps.c111 struct xfs_exchmaps_intent *xmi, in xmi_advance() argument
114 xmi->xmi_startoff1 += irec->br_blockcount; in xmi_advance()
115 xmi->xmi_startoff2 += irec->br_blockcount; in xmi_advance()
116 xmi->xmi_blockcount -= irec->br_blockcount; in xmi_advance()
121 xmi_has_more_exchange_work(const struct xfs_exchmaps_intent *xmi) in xmi_has_more_exchange_work() argument
123 return xmi->xmi_blockcount > 0; in xmi_has_more_exchange_work()
128 xmi_has_postop_work(const struct xfs_exchmaps_intent *xmi) in xmi_has_postop_work() argument
130 return xmi->xmi_flags & (XFS_EXCHMAPS_CLEAR_INO1_REFLINK | in xmi_has_postop_work()
163 struct xfs_exchmaps_intent *xmi, in xfs_exchmaps_update_quota() argument
170 qflag = XFS_IS_REALTIME_INODE(xmi->xmi_ip1) ? XFS_TRANS_DQ_RTBCOUNT : in xfs_exchmaps_update_quota()
[all …]
/linux/fs/xfs/
H A Dxfs_exchmaps_item.c222 struct xfs_exchmaps_intent *xmi; in xfs_exchmaps_create_intent() local
227 xmi = list_first_entry_or_null(items, struct xfs_exchmaps_intent, in xfs_exchmaps_create_intent()
233 xlf->xmi_inode1 = xmi->xmi_ip1->i_ino; in xfs_exchmaps_create_intent()
234 xlf->xmi_igen1 = VFS_I(xmi->xmi_ip1)->i_generation; in xfs_exchmaps_create_intent()
235 xlf->xmi_inode2 = xmi->xmi_ip2->i_ino; in xfs_exchmaps_create_intent()
236 xlf->xmi_igen2 = VFS_I(xmi->xmi_ip2)->i_generation; in xfs_exchmaps_create_intent()
237 xlf->xmi_startoff1 = xmi->xmi_startoff1; in xfs_exchmaps_create_intent()
238 xlf->xmi_startoff2 = xmi->xmi_startoff2; in xfs_exchmaps_create_intent()
239 xlf->xmi_blockcount = xmi->xmi_blockcount; in xfs_exchmaps_create_intent()
240 xlf->xmi_isize1 = xmi->xmi_isize1; in xfs_exchmaps_create_intent()
[all …]