Lines Matching refs:xmi_ip2

184 	xfs_trans_mod_dquot_byino(tp, xmi->xmi_ip2, qflag, ip2_delta);  in xfs_exchmaps_update_quota()
320 error = xfs_bmapi_read(xmi->xmi_ip2, xmi->xmi_startoff2, in xfs_exchmaps_find_mappings()
346 trace_xfs_exchmaps_mapping2(xmi->xmi_ip2, irec2); in xfs_exchmaps_find_mappings()
361 xfs_bmap_mark_sick(xmi->xmi_ip2, in xfs_exchmaps_find_mappings()
393 xfs_bmap_unmap_extent(tp, xmi->xmi_ip2, whichfork, irec2); in xfs_exchmaps_one_step()
403 xfs_bmap_map_extent(tp, xmi->xmi_ip2, whichfork, irec1); in xfs_exchmaps_one_step()
409 xfs_exchmaps_update_size(tp, xmi->xmi_ip2, irec1, in xfs_exchmaps_one_step()
428 .dp = xmi->xmi_ip2, in xfs_exchmaps_attr_to_sf()
432 .owner = xmi->xmi_ip2->i_ino, in xfs_exchmaps_attr_to_sf()
438 if (!xfs_attr_is_leaf(xmi->xmi_ip2)) in xfs_exchmaps_attr_to_sf()
441 error = xfs_attr3_leaf_read(tp, xmi->xmi_ip2, xmi->xmi_ip2->i_ino, 0, in xfs_exchmaps_attr_to_sf()
446 forkoff = xfs_attr_shortform_allfit(bp, xmi->xmi_ip2); in xfs_exchmaps_attr_to_sf()
460 .dp = xmi->xmi_ip2, in xfs_exchmaps_dir_to_sf()
464 .owner = xmi->xmi_ip2->i_ino, in xfs_exchmaps_dir_to_sf()
474 error = xfs_dir3_block_read(tp, xmi->xmi_ip2, xmi->xmi_ip2->i_ino, &bp); in xfs_exchmaps_dir_to_sf()
478 size = xfs_dir2_block_sfsize(xmi->xmi_ip2, bp->b_addr, &sfh); in xfs_exchmaps_dir_to_sf()
479 if (size > xfs_inode_data_fork_size(xmi->xmi_ip2)) in xfs_exchmaps_dir_to_sf()
491 struct xfs_inode *ip = xmi->xmi_ip2; in xfs_exchmaps_link_to_sf()
551 else if (S_ISDIR(VFS_I(xmi->xmi_ip2)->i_mode)) in xfs_exchmaps_do_postop_work()
553 else if (S_ISLNK(VFS_I(xmi->xmi_ip2)->i_mode)) in xfs_exchmaps_do_postop_work()
566 xfs_exchmaps_clear_reflink(tp, xmi->xmi_ip2); in xfs_exchmaps_do_postop_work()
604 xmi->xmi_ip2->i_disk_size = xmi->xmi_isize2; in xfs_exchmaps_finish_one()
607 xfs_trans_log_inode(tp, xmi->xmi_ip2, XFS_ILOG_CORE); in xfs_exchmaps_finish_one()
635 xfs_exchmaps_ensure_cowfork(xmi->xmi_ip2); in xfs_exchmaps_finish_one()
984 xmi->xmi_ip2 = req->ip2; in xfs_exchmaps_init_intent()
1019 if (S_ISDIR(VFS_I(xmi->xmi_ip2)->i_mode) || in xfs_exchmaps_init_intent()
1020 S_ISLNK(VFS_I(xmi->xmi_ip2)->i_mode)) in xfs_exchmaps_init_intent()
1166 if (xfs_is_reflink_inode(xmi->xmi_ip2)) in xfs_exchmaps_ensure_reflink()
1169 if ((rs & 1) && !xfs_is_reflink_inode(xmi->xmi_ip2)) in xfs_exchmaps_ensure_reflink()
1170 xfs_exchmaps_set_reflink(tp, xmi->xmi_ip2); in xfs_exchmaps_ensure_reflink()
1199 xfs_exchmaps_ensure_large_extent_counts(tp, xmi->xmi_ip2); in xfs_exchmaps_upgrade_extent_counts()