@@ -32,9 +32,9 @@ xfs_rtget_summary(
32
32
xfs_mount_t * mp , /* file system mount structure */
33
33
xfs_trans_t * tp , /* transaction pointer */
34
34
int log , /* log2 of extent size */
35
- xfs_rtblock_t bbno , /* bitmap block number */
35
+ xfs_fileoff_t bbno , /* bitmap block number */
36
36
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
37
- xfs_fsblock_t * rsb , /* in/out: summary block number */
37
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
38
38
xfs_suminfo_t * sum ) /* out: summary info for this block */
39
39
{
40
40
return xfs_rtmodify_summary_int (mp , tp , log , bbno , 0 , rbpp , rsb , sum );
@@ -50,9 +50,9 @@ xfs_rtany_summary(
50
50
xfs_trans_t * tp , /* transaction pointer */
51
51
int low , /* low log2 extent size */
52
52
int high , /* high log2 extent size */
53
- xfs_rtblock_t bbno , /* bitmap block number */
53
+ xfs_fileoff_t bbno , /* bitmap block number */
54
54
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
55
- xfs_fsblock_t * rsb , /* in/out: summary block number */
55
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
56
56
int * stat ) /* out: any good extents here? */
57
57
{
58
58
int error ; /* error value */
@@ -104,12 +104,12 @@ xfs_rtcopy_summary(
104
104
xfs_mount_t * nmp , /* new file system mount point */
105
105
xfs_trans_t * tp ) /* transaction pointer */
106
106
{
107
- xfs_rtblock_t bbno ; /* bitmap block number */
107
+ xfs_fileoff_t bbno ; /* bitmap block number */
108
108
struct xfs_buf * bp ; /* summary buffer */
109
109
int error ; /* error return value */
110
110
int log ; /* summary level number (log length) */
111
111
xfs_suminfo_t sum ; /* summary data */
112
- xfs_fsblock_t sumbno ; /* summary block number */
112
+ xfs_fileoff_t sumbno ; /* summary block number */
113
113
114
114
bp = NULL ;
115
115
for (log = omp -> m_rsumlevels - 1 ; log >= 0 ; log -- ) {
@@ -146,7 +146,7 @@ xfs_rtallocate_range(
146
146
xfs_rtblock_t start , /* start block to allocate */
147
147
xfs_rtxlen_t len , /* length to allocate */
148
148
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
149
- xfs_fsblock_t * rsb ) /* in/out: summary block number */
149
+ xfs_fileoff_t * rsb ) /* in/out: summary block number */
150
150
{
151
151
xfs_rtblock_t end ; /* end of the allocated extent */
152
152
int error ; /* error value */
@@ -239,13 +239,13 @@ STATIC int /* error */
239
239
xfs_rtallocate_extent_block (
240
240
xfs_mount_t * mp , /* file system mount point */
241
241
xfs_trans_t * tp , /* transaction pointer */
242
- xfs_rtblock_t bbno , /* bitmap block number */
242
+ xfs_fileoff_t bbno , /* bitmap block number */
243
243
xfs_rtxlen_t minlen , /* minimum length to allocate */
244
244
xfs_rtxlen_t maxlen , /* maximum length to allocate */
245
245
xfs_rtxlen_t * len , /* out: actual length allocated */
246
246
xfs_rtblock_t * nextp , /* out: next block to try */
247
247
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
248
- xfs_fsblock_t * rsb , /* in/out: summary block number */
248
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
249
249
xfs_rtxlen_t prod , /* extent product factor */
250
250
xfs_rtblock_t * rtblock ) /* out: start block allocated */
251
251
{
@@ -364,7 +364,7 @@ xfs_rtallocate_extent_exact(
364
364
xfs_rtxlen_t maxlen , /* maximum length to allocate */
365
365
xfs_rtxlen_t * len , /* out: actual length allocated */
366
366
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
367
- xfs_fsblock_t * rsb , /* in/out: summary block number */
367
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
368
368
xfs_rtxlen_t prod , /* extent product factor */
369
369
xfs_rtblock_t * rtblock ) /* out: start block allocated */
370
370
{
@@ -444,12 +444,12 @@ xfs_rtallocate_extent_near(
444
444
xfs_rtxlen_t maxlen , /* maximum length to allocate */
445
445
xfs_rtxlen_t * len , /* out: actual length allocated */
446
446
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
447
- xfs_fsblock_t * rsb , /* in/out: summary block number */
447
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
448
448
xfs_rtxlen_t prod , /* extent product factor */
449
449
xfs_rtblock_t * rtblock ) /* out: start block allocated */
450
450
{
451
451
int any ; /* any useful extents from summary */
452
- xfs_rtblock_t bbno ; /* bitmap block number */
452
+ xfs_fileoff_t bbno ; /* bitmap block number */
453
453
int error ; /* error value */
454
454
int i ; /* bitmap block offset (loop control) */
455
455
int j ; /* secondary loop control */
@@ -648,12 +648,12 @@ xfs_rtallocate_extent_size(
648
648
xfs_rtxlen_t maxlen , /* maximum length to allocate */
649
649
xfs_rtxlen_t * len , /* out: actual length allocated */
650
650
struct xfs_buf * * rbpp , /* in/out: summary block buffer */
651
- xfs_fsblock_t * rsb , /* in/out: summary block number */
651
+ xfs_fileoff_t * rsb , /* in/out: summary block number */
652
652
xfs_rtxlen_t prod , /* extent product factor */
653
653
xfs_rtblock_t * rtblock ) /* out: start block allocated */
654
654
{
655
655
int error ; /* error value */
656
- int i ; /* bitmap block number */
656
+ xfs_fileoff_t i ; /* bitmap block number */
657
657
int l ; /* level number (loop control) */
658
658
xfs_rtblock_t n ; /* next block to be tried */
659
659
xfs_rtblock_t r ; /* result block number */
@@ -929,7 +929,7 @@ xfs_growfs_rt(
929
929
xfs_mount_t * mp , /* mount point for filesystem */
930
930
xfs_growfs_rt_t * in ) /* growfs rt input struct */
931
931
{
932
- xfs_rtblock_t bmbno ; /* bitmap block number */
932
+ xfs_fileoff_t bmbno ; /* bitmap block number */
933
933
struct xfs_buf * bp ; /* temporary buffer */
934
934
int error ; /* error return value */
935
935
xfs_mount_t * nmp ; /* new (fake) mount structure */
@@ -944,7 +944,7 @@ xfs_growfs_rt(
944
944
xfs_extlen_t rbmblocks ; /* current number of rt bitmap blocks */
945
945
xfs_extlen_t rsumblocks ; /* current number of rt summary blks */
946
946
xfs_sb_t * sbp ; /* old superblock */
947
- xfs_fsblock_t sumbno ; /* summary block number */
947
+ xfs_fileoff_t sumbno ; /* summary block number */
948
948
uint8_t * rsum_cache ; /* old summary cache */
949
949
950
950
sbp = & mp -> m_sb ;
@@ -1207,7 +1207,7 @@ xfs_rtallocate_extent(
1207
1207
xfs_mount_t * mp = tp -> t_mountp ;
1208
1208
int error ; /* error value */
1209
1209
xfs_rtblock_t r ; /* result allocated block */
1210
- xfs_fsblock_t sb ; /* summary file block number */
1210
+ xfs_fileoff_t sb ; /* summary file block number */
1211
1211
struct xfs_buf * sumbp ; /* summary file block buffer */
1212
1212
1213
1213
ASSERT (xfs_isilocked (mp -> m_rbmip , XFS_ILOCK_EXCL ));
0 commit comments