Home
last modified time | relevance | path

Searched defs:eb (Results 1 – 25 of 35) sorted by relevance

12

/fs/btrfs/
Dlocking.c81 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
95 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()
128 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock()
139 void btrfs_tree_read_lock(struct extent_buffer *eb) in btrfs_tree_read_lock()
149 int btrfs_try_tree_read_lock(struct extent_buffer *eb) in btrfs_try_tree_read_lock()
163 int btrfs_try_tree_write_lock(struct extent_buffer *eb) in btrfs_try_tree_write_lock()
176 void btrfs_tree_read_unlock(struct extent_buffer *eb) in btrfs_tree_read_unlock()
189 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock()
202 void btrfs_tree_lock(struct extent_buffer *eb) in btrfs_tree_lock()
210 void btrfs_tree_unlock(struct extent_buffer *eb) in btrfs_tree_unlock()
[all …]
Dlocking.h100 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) in btrfs_assert_tree_write_locked()
105 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locked()
110 static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) in btrfs_tree_unlock_rw()
140 struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
144 struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()
Dextent_io.c38 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb()
48 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb()
60 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
85 #define btrfs_leak_debug_add_eb(eb) do {} while (0) argument
86 #define btrfs_leak_debug_del_eb(eb) do {} while (0) argument
631 int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num) in btrfs_repair_eb_io_failure()
1145 struct extent_buffer *eb; in find_extent_buffer_readpage() local
1277 struct extent_buffer *eb; in end_bio_extent_readpage() local
1634 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
2359 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
[all …]
Dprint-tree.c49 static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk()
62 static void print_dev_item(struct extent_buffer *eb, in print_dev_item()
70 static void print_extent_data_ref(struct extent_buffer *eb, in print_extent_data_ref()
80 static void print_extent_item(struct extent_buffer *eb, int slot, int type) in print_extent_item()
191 static void print_eb_refs_lock(struct extent_buffer *eb) in print_eb_refs_lock()
Dtree-mod-log.c170 struct extent_buffer *eb) in tree_mod_dont_log()
188 struct extent_buffer *eb) in tree_mod_need_log()
198 static struct tree_mod_elem *alloc_tree_mod_elem(struct extent_buffer *eb, in alloc_tree_mod_elem()
222 int btrfs_tree_mod_log_insert_key(struct extent_buffer *eb, int slot, in btrfs_tree_mod_log_insert_key()
248 int btrfs_tree_mod_log_insert_move(struct extent_buffer *eb, in btrfs_tree_mod_log_insert_move()
550 int btrfs_tree_mod_log_free_eb(struct extent_buffer *eb) in btrfs_tree_mod_log_free_eb()
654 struct extent_buffer *eb, in tree_mod_log_rewind()
734 struct extent_buffer *eb, in btrfs_tree_mod_log_rewind()
796 struct extent_buffer *eb = NULL; in btrfs_get_old_root() local
Dstruct-funcs.c10 static bool check_setget_bounds(const struct extent_buffer *eb, in check_setget_bounds()
160 void btrfs_node_key(const struct extent_buffer *eb, in btrfs_node_key()
Dtree-checker.c51 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err()
76 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err()
136 static void dir_item_err(const struct extent_buffer *eb, int slot, in dir_item_err()
381 #define inode_item_err(eb, slot, fmt, ...) \ argument
631 static void block_group_err(const struct extent_buffer *eb, int slot, in block_group_err()
974 static void dev_item_err(const struct extent_buffer *eb, int slot, in dev_item_err()
1220 static void extent_err(const struct extent_buffer *eb, int slot, in extent_err()
1564 #define inode_ref_err(eb, slot, fmt, args...) \ argument
1894 int btrfs_check_eb_owner(const struct extent_buffer *eb, u64 root_owner) in btrfs_check_eb_owner()
Dbackref.c29 const struct extent_buffer *eb, in check_extent_in_eb()
76 static int find_extent_in_eb(const struct extent_buffer *eb, in find_extent_in_eb()
427 struct extent_buffer *eb; in add_all_parents() local
549 struct extent_buffer *eb; in resolve_indirect_ref() local
798 struct extent_buffer *eb; in add_missing_keys() local
1369 struct extent_buffer *eb; in find_parent_nodes() local
1894 struct extent_buffer *eb = eb_in; in btrfs_ref_to_path() local
1965 const struct extent_buffer *eb; in extent_from_logical() local
2034 const struct extent_buffer *eb, in get_extent_inline_ref()
2089 int tree_backref_for_extent(unsigned long *ptr, struct extent_buffer *eb, in tree_backref_for_extent()
[all …]
Duuid-tree.c27 struct extent_buffer *eb; in btrfs_uuid_tree_lookup() local
90 struct extent_buffer *eb; in btrfs_uuid_tree_add() local
154 struct extent_buffer *eb; in btrfs_uuid_tree_remove() local
Dctree.h1731 struct extent_buffer *eb; member
1740 struct extent_buffer *eb) in btrfs_init_map_token()
1765 #define read_eb_member(eb, ptr, type, member, result) (\ argument
1771 #define write_eb_member(eb, ptr, type, member, result) (\ argument
1843 static inline u64 btrfs_device_total_bytes(const struct extent_buffer *eb, in btrfs_device_total_bytes()
1851 static inline void btrfs_set_device_total_bytes(const struct extent_buffer *eb, in btrfs_set_device_total_bytes()
1955 static inline u64 btrfs_stripe_offset_nr(const struct extent_buffer *eb, in btrfs_stripe_offset_nr()
1961 static inline u64 btrfs_stripe_devid_nr(const struct extent_buffer *eb, in btrfs_stripe_devid_nr()
2048 static inline void btrfs_tree_block_key(const struct extent_buffer *eb, in btrfs_tree_block_key()
2055 static inline void btrfs_set_tree_block_key(const struct extent_buffer *eb, in btrfs_set_tree_block_key()
[all …]
Dzoned.h184 struct extent_buffer *eb) { } in btrfs_redirty_list_add()
201 struct extent_buffer *eb, in btrfs_check_meta_write_pointer()
209 struct extent_buffer *eb) in btrfs_revert_meta_write_pointer()
253 struct extent_buffer *eb) { } in btrfs_schedule_zone_finish_bg()
Ddisk-io.c122 struct extent_buffer *eb, u64 parent_transid, in verify_parent_transid()
191 int btrfs_verify_level_key(struct extent_buffer *eb, int level, in btrfs_verify_level_key()
257 int btrfs_read_extent_buffer(struct extent_buffer *eb, in btrfs_read_extent_buffer()
308 static int csum_one_extent_buffer(struct extent_buffer *eb) in csum_one_extent_buffer()
369 struct extent_buffer *eb; in csum_dirty_subpage_buffers() local
407 struct extent_buffer *eb; in csum_dirty_buffer() local
435 static int check_tree_block_fsid(struct extent_buffer *eb) in check_tree_block_fsid()
465 static int validate_extent_buffer(struct extent_buffer *eb) in validate_extent_buffer()
540 struct extent_buffer *eb; in validate_subpage_buffer() local
590 struct extent_buffer *eb; in btrfs_validate_metadata_buffer() local
[all …]
Dzoned.c1588 struct extent_buffer *eb) in btrfs_redirty_list_add()
1613 struct extent_buffer *eb; in btrfs_free_redirty_list() local
1724 struct extent_buffer *eb, in btrfs_check_meta_write_pointer()
1751 struct extent_buffer *eb) in btrfs_revert_meta_write_pointer()
1935 struct extent_buffer *eb; in wait_eb_writebacks() local
2164 struct extent_buffer *eb) in btrfs_schedule_zone_finish_bg()
Dextent_io.h184 static inline int num_extent_pages(const struct extent_buffer *eb) in num_extent_pages()
196 static inline int extent_buffer_uptodate(const struct extent_buffer *eb) in extent_buffer_uptodate()
Dtree-log.c325 struct extent_buffer *eb, in process_one_buffer()
357 struct extent_buffer *eb, int slot, in do_overwrite_item()
585 struct extent_buffer *eb, int slot, in overwrite_item()
598 static int read_alloc_one_name(struct extent_buffer *eb, void *start, int len, in read_alloc_one_name()
643 struct extent_buffer *eb, int slot, in replay_one_extent()
1232 static int extref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in extref_get_fields()
1254 static int ref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in ref_get_fields()
1291 struct extent_buffer *eb; in unlink_old_inode_refs() local
1368 struct extent_buffer *eb, int slot, in add_inode_ref()
1843 struct extent_buffer *eb, in replay_one_name()
[all …]
Drelocation.c737 struct extent_buffer *eb; in create_reloc_root() local
1178 int memcmp_node_keys(struct extent_buffer *eb, int slot, in memcmp_node_keys()
1204 struct extent_buffer *eb; in replace_path() local
1428 struct extent_buffer *eb; in walk_up_reloc_tree() local
1465 struct extent_buffer *eb = NULL; in walk_down_reloc_tree() local
2397 struct extent_buffer *eb; in do_relocation() local
2629 struct extent_buffer *eb; in get_tree_block_key() local
3174 struct extent_buffer *eb; in add_tree_block() local
3441 struct extent_buffer *eb; in add_data_references() local
Ddev-replace.c77 struct extent_buffer *eb; in btrfs_init_dev_replace() local
358 struct extent_buffer *eb; in btrfs_run_dev_replace() local
Dctree.c144 struct extent_buffer *eb; in btrfs_root_node() local
789 static noinline int generic_bin_search(struct extent_buffer *eb, int low, in generic_bin_search()
855 int btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, in btrfs_bin_search()
884 struct extent_buffer *eb; in btrfs_read_node_slot() local
1331 struct extent_buffer *eb; in reada_for_search() local
1634 struct extent_buffer *eb; in btrfs_find_item() local
1782 static inline int search_for_key_slot(struct extent_buffer *eb, in search_for_key_slot()
2481 struct extent_buffer *eb; in btrfs_set_item_key_safe() local
Dref-verify.c556 struct extent_buffer *eb; in walk_down_tree() local
981 struct extent_buffer *eb; in btrfs_build_ref_tree() local
Dqgroup.c1901 struct extent_buffer *eb) in btrfs_qgroup_trace_leaf_items()
1960 struct extent_buffer *eb; in adjust_slots_upwards() local
2090 struct extent_buffer *eb; in qgroup_trace_extent_swap() local
2183 struct extent_buffer *eb; in qgroup_trace_new_subtree_blocks() local
2340 struct extent_buffer *eb = root_eb; in btrfs_qgroup_trace_subtree() local
/fs/btrfs/tests/
Dextent-io-tests.c322 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb, in check_eb_bitmap()
347 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb, in __test_eb_bitmaps()
434 struct extent_buffer *eb = NULL; in test_eb_bitmaps() local
Dextent-buffer-tests.c17 struct extent_buffer *eb; in test_btrfs_split_item() local
Dbtrfs-tests.c169 struct extent_buffer *eb; in btrfs_free_dummy_fs_info() local
/fs/ocfs2/
Dextent_map.c280 struct ocfs2_extent_block *eb; in ocfs2_last_eb_is_empty() local
351 struct ocfs2_extent_block *eb, *next_eb; in ocfs2_figure_hole_clusters() local
404 struct ocfs2_extent_block *eb; in ocfs2_get_clusters_nocache() local
537 struct ocfs2_extent_block *eb; in ocfs2_xattr_get_clusters() local
Dalloc.c666 struct ocfs2_extent_block *eb = (struct ocfs2_extent_block *)eb_bh->b_data; in ocfs2_path_insert_eb() local
880 struct ocfs2_extent_block *eb = in ocfs2_validate_extent_block() local
952 struct ocfs2_extent_block *eb; in ocfs2_num_free_extents() local
997 struct ocfs2_extent_block *eb; in ocfs2_create_new_meta_bhs() local
1154 struct ocfs2_extent_block *eb; in ocfs2_add_branch() local
1355 struct ocfs2_extent_block *eb; in ocfs2_shift_tree_depth() local
1454 struct ocfs2_extent_block *eb; in ocfs2_find_branch_target() local
1793 struct ocfs2_extent_block *eb; in __ocfs2_find_path() local
1905 struct ocfs2_extent_block *eb =(struct ocfs2_extent_block *)bh->b_data; in find_leaf_ins() local
2528 struct ocfs2_extent_block *eb; in ocfs2_update_edge_lengths() local
[all …]

12