Lines Matching refs:eb
95 struct reada_extent *re, struct extent_buffer *eb, in __readahead_hook() argument
128 if (!btrfs_header_level(eb)) in __readahead_hook()
131 nritems = btrfs_header_nritems(eb); in __readahead_hook()
132 generation = btrfs_header_generation(eb); in __readahead_hook()
139 btrfs_node_key_to_cpu(eb, &key, i); in __readahead_hook()
141 btrfs_node_key_to_cpu(eb, &next_key, i + 1); in __readahead_hook()
144 bytenr = btrfs_node_blockptr(eb, i); in __readahead_hook()
145 n_gen = btrfs_node_ptr_generation(eb, i); in __readahead_hook()
198 int btree_readahead_hook(struct extent_buffer *eb, int err) in btree_readahead_hook() argument
200 struct btrfs_fs_info *fs_info = eb->fs_info; in btree_readahead_hook()
207 eb->start >> PAGE_SHIFT); in btree_readahead_hook()
216 __readahead_hook(fs_info, re, eb, err); in btree_readahead_hook()
648 int mirror_num, struct extent_buffer **eb) in reada_tree_block_flagged() argument
669 *eb = buf; in reada_tree_block_flagged()
681 struct extent_buffer *eb = NULL; in reada_start_machine_dev() local
741 ret = reada_tree_block_flagged(fs_info, logical, mirror_num, &eb); in reada_start_machine_dev()
744 else if (eb) in reada_start_machine_dev()
745 __readahead_hook(fs_info, re, eb, ret); in reada_start_machine_dev()
747 if (eb) in reada_start_machine_dev()
748 free_extent_buffer(eb); in reada_start_machine_dev()