Lines Matching refs:blocksize
552 static int close_blocks(u64 blocknr, u64 other, u32 blocksize)
554 if (blocknr < other && other - (blocknr + blocksize) < 32768)
556 if (blocknr > other && blocknr - (other + blocksize) < 32768)
615 u32 blocksize;
629 blocksize = btrfs_level_size(root, parent_level - 1);
660 close = close_blocks(blocknr, other, blocksize);
664 close = close_blocks(blocknr, other, blocksize);
676 cur = btrfs_find_tree_block(root, blocknr, blocksize);
688 blocksize, gen);
700 min(16 * blocksize,
701 (end_slot - i) * blocksize));
1361 u32 blocksize;
1373 blocksize = btrfs_level_size(root, level - 1);
1374 eb = btrfs_find_tree_block(root, search, blocksize);
1402 readahead_tree_block(root, search, blocksize,
1404 nread += blocksize;
1427 int blocksize;
1435 blocksize = btrfs_level_size(root, level);
1440 eb = btrfs_find_tree_block(root, block1, blocksize);
1448 eb = btrfs_find_tree_block(root, block2, blocksize);
1461 readahead_tree_block(root, block1, blocksize, 0);
1463 readahead_tree_block(root, block2, blocksize, 0);
1466 eb = read_tree_block(root, block1, blocksize, 0);
1470 eb = read_tree_block(root, block2, blocksize, 0);
1570 u32 blocksize;
1577 blocksize = btrfs_level_size(root, level - 1);
1579 tmp = btrfs_find_tree_block(root, blocknr, blocksize);
1607 tmp = read_tree_block(root, blocknr, blocksize, 0);