Searched refs:bbno (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/fs/xfs/
H A Dxfs_extent_busy.c167 xfs_agblock_t bbno = busyp->bno; variable
168 xfs_agblock_t bend = bbno + busyp->length;
193 if (bbno < fbno && bend > fend) {
196 * bbno bend
212 } else if (bbno >= fbno && bend <= fend) {
215 * bbno bend
221 * bbno bend
227 * bbno bend
233 * bbno bend
257 * bbno bend
263 * bbno bend
270 } else if (bbno < fbno) {
273 * bbno bend
279 * bbno bend
324 xfs_agblock_t bbno = busyp->bno; xfs_extent_busy_reuse() local
325 xfs_agblock_t bend = bbno + busyp->length; xfs_extent_busy_reuse()
327 if (fbno + flen <= bbno) { xfs_extent_busy_reuse()
372 xfs_agblock_t bbno = busyp->bno; xfs_extent_busy_trim() local
373 xfs_agblock_t bend = bbno + busyp->length; xfs_extent_busy_trim()
375 if (fend <= bbno) { xfs_extent_busy_trim()
396 if (bbno <= fbno) { xfs_extent_busy_trim()
401 * bbno bend xfs_extent_busy_trim()
407 * bbno bend xfs_extent_busy_trim()
413 * bbno bend xfs_extent_busy_trim()
419 * bbno bend xfs_extent_busy_trim()
431 * bbno bend xfs_extent_busy_trim()
437 * bbno bend xfs_extent_busy_trim()
452 * bbno bend xfs_extent_busy_trim()
458 * bbno bend xfs_extent_busy_trim()
467 fend = bbno; xfs_extent_busy_trim()
473 * bbno bend xfs_extent_busy_trim()
502 if (bbno - fbno >= args->maxlen) { xfs_extent_busy_trim()
504 fend = bbno; xfs_extent_busy_trim()
508 } else if (bbno - fbno >= args->minlen) { xfs_extent_busy_trim()
510 fend = bbno; xfs_extent_busy_trim()
H A Dxfs_rtalloc.c51 xfs_rtblock_t bbno, /* bitmap block number */ xfs_rtget_summary()
56 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); xfs_rtget_summary()
61 * by low and high, for the bitmap block bbno.
69 xfs_rtblock_t bbno, /* bitmap block number */ xfs_rtany_summary()
85 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); xfs_rtany_summary()
115 xfs_rtblock_t bbno; /* bitmap block number */ xfs_rtcopy_summary() local
124 for (bbno = omp->m_sb.sb_rbmblocks - 1; xfs_rtcopy_summary()
125 (xfs_srtblock_t)bbno >= 0; xfs_rtcopy_summary()
126 bbno--) { xfs_rtcopy_summary()
127 error = xfs_rtget_summary(omp, tp, log, bbno, &bp, xfs_rtcopy_summary()
133 error = xfs_rtmodify_summary(omp, tp, log, bbno, -sum, xfs_rtcopy_summary()
137 error = xfs_rtmodify_summary(nmp, tp, log, bbno, sum, xfs_rtcopy_summary()
225 * bitmap block bbno. If we don't get maxlen then use prod to trim
233 xfs_rtblock_t bbno, /* bitmap block number */ xfs_rtallocate_extent_block()
255 for (i = XFS_BLOCKTOBIT(mp, bbno), besti = -1, bestlen = 0, xfs_rtallocate_extent_block()
256 end = XFS_BLOCKTOBIT(mp, bbno + 1) - 1; xfs_rtallocate_extent_block()
435 xfs_rtblock_t bbno; /* bitmap block number */ xfs_rtallocate_extent_near() local
465 bbno = XFS_BITTOBLOCK(mp, bno); xfs_rtallocate_extent_near()
470 * Loop over all bitmap blocks (bbno + i is current block). xfs_rtallocate_extent_near()
478 bbno + i, rbpp, rsb, &any); xfs_rtallocate_extent_near()
496 bbno + i, minlen, maxlen, len, &n, rbpp, xfs_rtallocate_extent_near()
526 bbno + j, rbpp, rsb, &any); xfs_rtallocate_extent_near()
541 tp, bbno + j, minlen, maxlen, xfs_rtallocate_extent_near()
563 bbno + i, minlen, maxlen, len, &n, rbpp, xfs_rtallocate_extent_near()
581 if (i > 0 && (int)bbno - i >= 0) xfs_rtallocate_extent_near()
587 else if (i > 0 && (int)bbno + i < mp->m_sb.sb_rbmblocks - 1) xfs_rtallocate_extent_near()
593 else if (i <= 0 && (int)bbno - i < mp->m_sb.sb_rbmblocks - 1) xfs_rtallocate_extent_near()
599 else if (i <= 0 && (int)bbno + i > 0) xfs_rtallocate_extent_near()
47 xfs_rtget_summary( xfs_mount_t *mp, xfs_trans_t *tp, int log, xfs_rtblock_t bbno, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_suminfo_t *sum) xfs_rtget_summary() argument
64 xfs_rtany_summary( xfs_mount_t *mp, xfs_trans_t *tp, int low, int high, xfs_rtblock_t bbno, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, int *stat) xfs_rtany_summary() argument
230 xfs_rtallocate_extent_block( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bbno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_rtblock_t *nextp, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) xfs_rtallocate_extent_block() argument
H A Dxfs_rtalloc.h115 int log, xfs_rtblock_t bbno, int delta,
119 xfs_rtblock_t bbno, int delta, xfs_buf_t **rbpp,
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_rtbitmap.c437 xfs_rtblock_t bbno, /* bitmap block number */ xfs_rtmodify_summary_int()
452 so = XFS_SUMOFFS(mp, log, bbno); xfs_rtmodify_summary_int()
501 xfs_rtblock_t bbno, /* bitmap block number */ xfs_rtmodify_summary()
506 return xfs_rtmodify_summary_int(mp, tp, log, bbno, xfs_rtmodify_summary()
433 xfs_rtmodify_summary_int( xfs_mount_t *mp, xfs_trans_t *tp, int log, xfs_rtblock_t bbno, int delta, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_suminfo_t *sum) xfs_rtmodify_summary_int() argument
497 xfs_rtmodify_summary( xfs_mount_t *mp, xfs_trans_t *tp, int log, xfs_rtblock_t bbno, int delta, xfs_buf_t **rbpp, xfs_fsblock_t *rsb) xfs_rtmodify_summary() argument

Completed in 165 milliseconds