@@ -767,12 +767,12 @@ xfs_icache_inode_is_allocated(
767
767
* ignore it.
768
768
*/
769
769
STATIC bool
770
- xfs_inode_ag_walk_grab (
770
+ xfs_inode_walk_ag_grab (
771
771
struct xfs_inode * ip ,
772
772
int flags )
773
773
{
774
774
struct inode * inode = VFS_I (ip );
775
- bool newinos = !!(flags & XFS_AGITER_INEW_WAIT );
775
+ bool newinos = !!(flags & XFS_INODE_WALK_INEW_WAIT );
776
776
777
777
ASSERT (rcu_read_lock_held ());
778
778
@@ -816,7 +816,7 @@ xfs_inode_ag_walk_grab(
816
816
* inodes with the given radix tree @tag.
817
817
*/
818
818
STATIC int
819
- xfs_inode_ag_walk (
819
+ xfs_inode_walk_ag (
820
820
struct xfs_mount * mp ,
821
821
struct xfs_perag * pag ,
822
822
int (* execute )(struct xfs_inode * ip , void * args ),
@@ -864,7 +864,7 @@ xfs_inode_ag_walk(
864
864
for (i = 0 ; i < nr_found ; i ++ ) {
865
865
struct xfs_inode * ip = batch [i ];
866
866
867
- if (done || !xfs_inode_ag_walk_grab (ip , iter_flags ))
867
+ if (done || !xfs_inode_walk_ag_grab (ip , iter_flags ))
868
868
batch [i ] = NULL ;
869
869
870
870
/*
@@ -892,7 +892,7 @@ xfs_inode_ag_walk(
892
892
for (i = 0 ; i < nr_found ; i ++ ) {
893
893
if (!batch [i ])
894
894
continue ;
895
- if ((iter_flags & XFS_AGITER_INEW_WAIT ) &&
895
+ if ((iter_flags & XFS_INODE_WALK_INEW_WAIT ) &&
896
896
xfs_iflags_test (batch [i ], XFS_INEW ))
897
897
xfs_inew_wait (batch [i ]);
898
898
error = execute (batch [i ], args );
@@ -937,7 +937,7 @@ xfs_inode_walk_get_perag(
937
937
* @tag.
938
938
*/
939
939
int
940
- xfs_inode_ag_iterator (
940
+ xfs_inode_walk (
941
941
struct xfs_mount * mp ,
942
942
int iter_flags ,
943
943
int (* execute )(struct xfs_inode * ip , void * args ),
@@ -952,7 +952,7 @@ xfs_inode_ag_iterator(
952
952
ag = 0 ;
953
953
while ((pag = xfs_inode_walk_get_perag (mp , ag , tag ))) {
954
954
ag = pag -> pag_agno + 1 ;
955
- error = xfs_inode_ag_walk (mp , pag , execute , args , tag ,
955
+ error = xfs_inode_walk_ag (mp , pag , execute , args , tag ,
956
956
iter_flags );
957
957
xfs_perag_put (pag );
958
958
if (error ) {
@@ -1548,7 +1548,7 @@ xfs_icache_free_eofblocks(
1548
1548
struct xfs_mount * mp ,
1549
1549
struct xfs_eofblocks * eofb )
1550
1550
{
1551
- return xfs_inode_ag_iterator (mp , 0 , xfs_inode_free_eofblocks , eofb ,
1551
+ return xfs_inode_walk (mp , 0 , xfs_inode_free_eofblocks , eofb ,
1552
1552
XFS_ICI_EOFBLOCKS_TAG );
1553
1553
}
1554
1554
@@ -1798,7 +1798,7 @@ xfs_icache_free_cowblocks(
1798
1798
struct xfs_mount * mp ,
1799
1799
struct xfs_eofblocks * eofb )
1800
1800
{
1801
- return xfs_inode_ag_iterator (mp , 0 , xfs_inode_free_cowblocks , eofb ,
1801
+ return xfs_inode_walk (mp , 0 , xfs_inode_free_cowblocks , eofb ,
1802
1802
XFS_ICI_COWBLOCKS_TAG );
1803
1803
}
1804
1804
0 commit comments