Lines Matching refs:block

69  * Get a buffer for the bitmap or summary file block specified.
75 xfs_fileoff_t block, /* block number in bitmap or summary */
79 struct xfs_buf **cbpp; /* cached block buffer */
80 xfs_fileoff_t *coffp; /* cached block number */
81 struct xfs_buf *bp; /* block buffer, result */
101 * If we have a cached buffer, and the block number matches, use that.
103 if (*cbpp && *coffp == block)
115 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, 0);
137 *coffp = block;
142 * Searching backward from start to limit, find the first block whose
154 xfs_fileoff_t block; /* bitmap block number */
166 * Compute and read in starting bitmap block for starting block.
168 block = xfs_rtx_to_rbmblock(mp, start);
169 error = xfs_rtbitmap_read_buf(args, block);
211 * Go on to previous block if that's where the previous word is
216 * If done with this block, get the previous one.
218 error = xfs_rtbitmap_read_buf(args, --block);
249 * Go on to previous block if that's where the previous word is
254 * If done with this block, get the previous one.
256 error = xfs_rtbitmap_read_buf(args, --block);
296 * Searching forward from start to limit, find the first block whose
308 xfs_fileoff_t block; /* bitmap block number */
320 * Compute and read in starting bitmap block for starting block.
322 block = xfs_rtx_to_rbmblock(mp, start);
323 error = xfs_rtbitmap_read_buf(args, block);
364 * Go on to next block if that's where the next word is
369 * If done with this block, get the previous one.
371 error = xfs_rtbitmap_read_buf(args, ++block);
402 * Go on to next block if that's where the next word is
407 * If done with this block, get the next one.
409 error = xfs_rtbitmap_read_buf(args, ++block);
462 * Modify the summary information for a given extent size, bitmap block
469 xfs_fileoff_t bbno, /* bitmap block number */
470 int delta) /* in/out: summary block number */
497 * Read and return the summary information for a given extent size, bitmap block
504 xfs_fileoff_t bbno, /* bitmap block number */
505 xfs_suminfo_t *sum) /* out: summary info for this block */
517 /* Log rtbitmap block from the word @from to the byte before @next. */
546 xfs_fileoff_t block; /* bitmap block number */
556 * Compute starting bitmap block number.
558 block = xfs_rtx_to_rbmblock(mp, start);
560 * Read the bitmap block, and point to its data.
562 error = xfs_rtbitmap_read_buf(args, block);
596 * Go on to the next block if that's where the next word is
601 * Log the changed part of this block.
605 error = xfs_rtbitmap_read_buf(args, ++block);
628 * Go on to the next block if that's where the next word is
633 * Log the changed part of this block.
637 error = xfs_rtbitmap_read_buf(args, ++block);
680 xfs_rtxlen_t len) /* in/out: summary block number */
706 * Find the next allocated block (end of allocated extent).
760 xfs_fileoff_t block; /* bitmap block number */
770 * Compute starting bitmap block number
772 block = xfs_rtx_to_rbmblock(mp, start);
774 * Read the bitmap block.
776 error = xfs_rtbitmap_read_buf(args, block);
817 * Go on to next block if that's where the next word is
822 * If done with this block, get the next one.
824 error = xfs_rtbitmap_read_buf(args, ++block);
856 * Go on to next block if that's where the next word is
861 * If done with this block, get the next one.
863 error = xfs_rtbitmap_read_buf(args, ++block);
904 * Check that the given extent (block range) is allocated already.
927 * realtime extents, as is the block number.
1046 /* Is the first block free? */
1129 * Compute the number of rtbitmap words needed to populate every block of a
1157 * Compute the number of rtsummary info words needed to populate every block of