Lines Matching defs:bytenr
309 * @start: The original start bytenr to search.
310 * Will store the extent range start bytenr.
311 * @end: The original end bytenr of the search range
312 * Will store the extent range end bytenr.
537 * - bio can be merged as long as on-disk bytenr is contiguous
721 * For compression, all IO should have its logical bytenr set
722 * to the starting bytenr of the compressed extent.
733 * 2) The range has adjacent logical bytenr
782 * @disk_bytenr: logical bytenr where the write will be
1794 * The caller should pass each page in their bytenr order, and here we use
3507 * don't try to insert two ebs for the same bytenr. So here we always
4057 "access to eb bytenr %llu len %lu out of range start %lu len %lu",
4399 static u8 *extent_buffer_get_byte(const struct extent_buffer *eb, unsigned long bytenr)
4401 unsigned long index = get_eb_page_index(bytenr);
4403 if (check_eb_range(eb, bytenr, 1))
4405 return page_address(eb->pages[index]) + get_eb_offset_in_page(eb, bytenr);
4560 struct btrfs_fs_info *fs_info, struct page *page, u64 bytenr)
4567 ASSERT(in_range(bytenr, page_start, PAGE_SIZE));
4585 if (gang[i]->start >= bytenr) {
4714 * @bytenr: bytenr to read
4719 * Attempt to readahead a tree block at @bytenr. If @gen is 0 then we do a
4724 u64 bytenr, u64 owner_root, u64 gen, int level)
4734 eb = btrfs_find_create_tree_block(fs_info, bytenr, owner_root, level);
4755 * A helper for btrfs_readahead_tree_block, we simply read the bytenr pointed at