Lines Matching refs:i_mount
67 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leafn_check()
76 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf, false); in xfs_dir3_leafn_check()
89 xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, dp->i_mount, in xfs_dir3_leaf_check()
181 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_header_check()
324 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_get_buf()
440 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, fbp->b_addr); in xfs_dir2_leaf_to_node()
467 xfs_dir2_free_hdr_to_disk(dp->i_mount, fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node()
511 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leafn_add()
568 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_leafn_add()
584 xfs_dir2_free_hdr_from_disk(dp->i_mount, &hdr, bp->b_addr); in xfs_dir2_free_hdr_check()
586 ASSERT((hdr.firstdb % dp->i_mount->m_dir_geo->free_max_bests) == 0); in xfs_dir2_free_hdr_check()
606 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, bp->b_addr); in xfs_dir2_leaf_lasthash()
650 mp = dp->i_mount; in xfs_dir2_leafn_lookup_for_addname()
800 mp = dp->i_mount; in xfs_dir2_leafn_lookup_for_entry()
1040 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr1, leaf1); in xfs_dir2_leafn_order()
1041 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_order()
1093 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr1, leaf1); in xfs_dir2_leafn_rebalance()
1094 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf2); in xfs_dir2_leafn_rebalance()
1142 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf1, &hdr1); in xfs_dir2_leafn_rebalance()
1143 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf2, &hdr2); in xfs_dir2_leafn_rebalance()
1172 xfs_alert(dp->i_mount, in xfs_dir2_leafn_rebalance()
1192 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, free); in xfs_dir3_data_block_free()
1226 xfs_dir2_free_hdr_to_disk(dp->i_mount, free, &freehdr); in xfs_dir3_data_block_free()
1289 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leafn_remove()
1309 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_leafn_remove()
1322 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_leafn_remove()
1326 xfs_dir2_data_entsize(dp->i_mount, dep->namelen), &needlog, in xfs_dir2_leafn_remove()
1333 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_leafn_remove()
1362 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, free); in xfs_dir2_leafn_remove()
1509 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leafn_toosmall()
1571 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &hdr2, leaf); in xfs_dir2_leafn_toosmall()
1634 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &savehdr, save_leaf); in xfs_dir2_leafn_unbalance()
1635 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &drophdr, drop_leaf); in xfs_dir2_leafn_unbalance()
1663 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, save_leaf, &savehdr); in xfs_dir2_leafn_unbalance()
1664 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, drop_leaf, &drophdr); in xfs_dir2_leafn_unbalance()
1688 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_node_add_datablk()
1818 xfs_dir2_free_hdr_from_disk(dp->i_mount, hdr, fbp->b_addr); in xfs_dir2_node_find_freeblk()
1866 xfs_dir2_free_hdr_from_disk(dp->i_mount, hdr, fbp->b_addr); in xfs_dir2_node_find_freeblk()
1917 length = xfs_dir2_data_entsize(dp->i_mount, args->namelen); in xfs_dir2_node_addname_int()
1953 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_node_addname_int()
1974 xfs_dir2_data_put_ftype(dp->i_mount, dep, args->filetype); in xfs_dir2_node_addname_int()
1975 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_node_addname_int()
1981 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_node_addname_int()
2308 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, free); in xfs_dir2_node_trim_free()