Lines Matching full:mp

21 	struct xfs_mount	*mp,  in xfs_parent_calc_space_res()  argument
28 return XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + in xfs_parent_calc_space_res()
29 XFS_NEXTENTADD_SPACE_RES(mp, namelen, XFS_ATTR_FORK); in xfs_parent_calc_space_res()
34 struct xfs_mount *mp, in xfs_create_space_res() argument
39 ret = XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp, namelen); in xfs_create_space_res()
40 if (xfs_has_parent(mp)) in xfs_create_space_res()
41 ret += xfs_parent_calc_space_res(mp, namelen); in xfs_create_space_res()
48 struct xfs_mount *mp, in xfs_mkdir_space_res() argument
51 return xfs_create_space_res(mp, namelen); in xfs_mkdir_space_res()
56 struct xfs_mount *mp, in xfs_link_space_res() argument
61 ret = XFS_DIRENTER_SPACE_RES(mp, namelen); in xfs_link_space_res()
62 if (xfs_has_parent(mp)) in xfs_link_space_res()
63 ret += xfs_parent_calc_space_res(mp, namelen); in xfs_link_space_res()
70 struct xfs_mount *mp, in xfs_symlink_space_res() argument
76 ret = XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp, namelen) + in xfs_symlink_space_res()
79 if (xfs_has_parent(mp)) in xfs_symlink_space_res()
80 ret += xfs_parent_calc_space_res(mp, namelen); in xfs_symlink_space_res()
87 struct xfs_mount *mp, in xfs_remove_space_res() argument
90 unsigned int ret = XFS_DIRREMOVE_SPACE_RES(mp); in xfs_remove_space_res()
92 if (xfs_has_parent(mp)) in xfs_remove_space_res()
93 ret += xfs_parent_calc_space_res(mp, namelen); in xfs_remove_space_res()
100 struct xfs_mount *mp, in xfs_rename_space_res() argument
108 ret = XFS_DIRREMOVE_SPACE_RES(mp) + in xfs_rename_space_res()
109 XFS_DIRENTER_SPACE_RES(mp, target_namelen); in xfs_rename_space_res()
111 if (xfs_has_parent(mp)) { in xfs_rename_space_res()
113 ret += xfs_parent_calc_space_res(mp, src_namelen); in xfs_rename_space_res()
114 ret += 2 * xfs_parent_calc_space_res(mp, target_namelen); in xfs_rename_space_res()
118 ret += xfs_parent_calc_space_res(mp, target_namelen); in xfs_rename_space_res()