Home
last modified time | relevance | path

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

123

/Linux-v6.1/fs/btrfs/
Dlocking.c80 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
94 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()
127 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock()
138 void btrfs_tree_read_lock(struct extent_buffer *eb) in btrfs_tree_read_lock()
148 int btrfs_try_tree_read_lock(struct extent_buffer *eb) in btrfs_try_tree_read_lock()
162 int btrfs_try_tree_write_lock(struct extent_buffer *eb) in btrfs_try_tree_write_lock()
175 void btrfs_tree_read_unlock(struct extent_buffer *eb) in btrfs_tree_read_unlock()
188 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock()
201 void btrfs_tree_lock(struct extent_buffer *eb) in btrfs_tree_lock()
209 void btrfs_tree_unlock(struct extent_buffer *eb) in btrfs_tree_unlock()
[all …]
Dextent_io.c37 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb()
47 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb()
59 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
84 #define btrfs_leak_debug_add_eb(eb) do {} while (0) argument
85 #define btrfs_leak_debug_del_eb(eb) do {} while (0) argument
621 int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, int mirror_num) in btrfs_repair_eb_io_failure()
1135 struct extent_buffer *eb; in find_extent_buffer_readpage() local
1267 struct extent_buffer *eb; in end_bio_extent_readpage() local
1624 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
2340 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
[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()
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
617 static void block_group_err(const struct extent_buffer *eb, int slot, in block_group_err()
960 static void dev_item_err(const struct extent_buffer *eb, int slot, in dev_item_err()
1206 static void extent_err(const struct extent_buffer *eb, int slot, in extent_err()
1550 #define inode_ref_err(eb, slot, fmt, args...) \ argument
1880 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
545 struct extent_buffer *eb; in resolve_indirect_ref() local
794 struct extent_buffer *eb; in add_missing_keys() local
1365 struct extent_buffer *eb; in find_parent_nodes() local
1890 struct extent_buffer *eb = eb_in; in btrfs_ref_to_path() local
1961 const struct extent_buffer *eb; in extent_from_logical() local
2030 const struct extent_buffer *eb, in get_extent_inline_ref()
2085 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.h1726 struct extent_buffer *eb; member
1735 struct extent_buffer *eb) in btrfs_init_map_token()
1760 #define read_eb_member(eb, ptr, type, member, result) (\ argument
1766 #define write_eb_member(eb, ptr, type, member, result) (\ argument
1838 static inline u64 btrfs_device_total_bytes(const struct extent_buffer *eb, in btrfs_device_total_bytes()
1846 static inline void btrfs_set_device_total_bytes(const struct extent_buffer *eb, in btrfs_set_device_total_bytes()
1950 static inline u64 btrfs_stripe_offset_nr(const struct extent_buffer *eb, in btrfs_stripe_offset_nr()
1956 static inline u64 btrfs_stripe_devid_nr(const struct extent_buffer *eb, in btrfs_stripe_devid_nr()
2043 static inline void btrfs_tree_block_key(const struct extent_buffer *eb, in btrfs_tree_block_key()
2050 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()
362 struct extent_buffer *eb; in csum_dirty_subpage_buffers() local
400 struct extent_buffer *eb; in csum_dirty_buffer() local
428 static int check_tree_block_fsid(struct extent_buffer *eb) in check_tree_block_fsid()
458 static int validate_extent_buffer(struct extent_buffer *eb) in validate_extent_buffer()
533 struct extent_buffer *eb; in validate_subpage_buffer() local
583 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()
1941 struct extent_buffer *eb; in wait_eb_writebacks() local
2154 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()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c323 static inline bool eb_use_cmdparser(const struct i915_execbuffer *eb) in eb_use_cmdparser()
330 static int eb_create(struct i915_execbuffer *eb) in eb_create()
433 eb_pin_vma(struct i915_execbuffer *eb, in eb_pin_vma()
495 eb_validate_vma(struct i915_execbuffer *eb, in eb_validate_vma()
548 is_batch_buffer(struct i915_execbuffer *eb, unsigned int buffer_idx) in is_batch_buffer()
556 eb_add_vma(struct i915_execbuffer *eb, in eb_add_vma()
644 static int eb_reserve_vma(struct i915_execbuffer *eb, in eb_reserve_vma()
685 static bool eb_unbind(struct i915_execbuffer *eb, bool force) in eb_unbind()
724 static int eb_reserve(struct i915_execbuffer *eb) in eb_reserve()
776 static int eb_select_context(struct i915_execbuffer *eb) in eb_select_context()
[all …]
/Linux-v6.1/drivers/mtd/
Dmtdswap.c184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset()
189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach()
203 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add()
222 static void mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx) in mtdswap_rb_add()
251 static int mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_badblock()
279 static int mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_handle_write_error()
321 static int mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_read_markers()
367 static int mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb, in mtdswap_write_marker()
420 struct swap_eb *eb; in mtdswap_check_counts() local
459 struct swap_eb *eb; in mtdswap_scan_eblks() local
[all …]
/Linux-v6.1/drivers/mtd/tests/
Dstresstest.c45 unsigned int eb; in rand_eb() local
67 int eb = rand_eb(); in do_read() local
84 int eb = rand_eb(), offs, err, len; in do_write() local
Dmtd_test.c42 unsigned int eb, int ebcnt) in mtdtest_scan_for_bad_eraseblocks()
62 unsigned int eb, int ebcnt) in mtdtest_erase_good_eraseblocks()
/Linux-v6.1/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
/Linux-v6.1/drivers/bus/
Dintel-ixp4xx-eb.c154 static void ixp4xx_exp_setup_chipselect(struct ixp4xx_eb *eb, in ixp4xx_exp_setup_chipselect()
282 static void ixp4xx_exp_setup_child(struct ixp4xx_eb *eb, in ixp4xx_exp_setup_child()
348 struct ixp4xx_eb *eb; in ixp4xx_exp_probe() local
/Linux-v6.1/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 …]
/Linux-v6.1/arch/sparc/kernel/
Dbtext.c268 unsigned int *eb = (int *)expand_bits_16; in draw_byte_16() local
286 unsigned int *eb = (int *)expand_bits_8; in draw_byte_8() local
/Linux-v6.1/drivers/input/mouse/
Dsynaptics.h113 #define SYN_EXT_BUTTON_STICK_L(eb) (((eb) & BIT(0)) >> 0) argument
114 #define SYN_EXT_BUTTON_STICK_M(eb) (((eb) & BIT(1)) >> 1) argument
115 #define SYN_EXT_BUTTON_STICK_R(eb) (((eb) & BIT(2)) >> 2) argument

123