Home
last modified time | relevance | path

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

123

/Linux-v6.6/fs/btrfs/
Daccessors.h9 struct extent_buffer *eb; member
35 #define read_eb_member(eb, ptr, type, member, result) (\ argument
41 #define write_eb_member(eb, ptr, type, member, result) (\ argument
113 static inline u64 btrfs_device_total_bytes(const struct extent_buffer *eb, in btrfs_device_total_bytes()
119 static inline void btrfs_set_device_total_bytes(const struct extent_buffer *eb, in btrfs_set_device_total_bytes()
217 static inline u64 btrfs_stripe_offset_nr(const struct extent_buffer *eb, in btrfs_stripe_offset_nr()
223 static inline void btrfs_set_stripe_offset_nr(struct extent_buffer *eb, in btrfs_set_stripe_offset_nr()
230 static inline u64 btrfs_stripe_devid_nr(const struct extent_buffer *eb, in btrfs_stripe_devid_nr()
236 static inline void btrfs_set_stripe_devid_nr(struct extent_buffer *eb, in btrfs_set_stripe_devid_nr()
329 static inline void btrfs_tree_block_key(const struct extent_buffer *eb, in btrfs_tree_block_key()
[all …]
Dlocking.c82 void btrfs_set_buffer_lockdep_class(u64 objectid, struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
96 void btrfs_maybe_reset_lockdep_class(struct btrfs_root *root, struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()
129 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock()
140 void btrfs_tree_read_lock(struct extent_buffer *eb) in btrfs_tree_read_lock()
150 int btrfs_try_tree_read_lock(struct extent_buffer *eb) in btrfs_try_tree_read_lock()
164 int btrfs_try_tree_write_lock(struct extent_buffer *eb) in btrfs_try_tree_write_lock()
177 void btrfs_tree_read_unlock(struct extent_buffer *eb) in btrfs_tree_read_unlock()
190 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock()
203 void btrfs_tree_lock(struct extent_buffer *eb) in btrfs_tree_lock()
211 void btrfs_tree_unlock(struct extent_buffer *eb) in btrfs_tree_unlock()
[all …]
Dextent_io.c44 static inline void btrfs_leak_debug_add_eb(struct extent_buffer *eb) in btrfs_leak_debug_add_eb()
54 static inline void btrfs_leak_debug_del_eb(struct extent_buffer *eb) in btrfs_leak_debug_del_eb()
66 struct extent_buffer *eb; in btrfs_extent_buffer_leak_debug_check() local
91 #define btrfs_leak_debug_add_eb(eb) do {} while (0) argument
92 #define btrfs_leak_debug_del_eb(eb) do {} while (0) argument
860 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
1464 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
1477 static noinline_for_stack bool lock_extent_buffer_for_io(struct extent_buffer *eb, in lock_extent_buffer_for_io()
1513 static void set_btree_ioerr(struct extent_buffer *eb) in set_btree_ioerr()
1593 struct extent_buffer *eb; in find_extent_buffer_nolock() local
[all …]
Daccessors.c11 static bool check_setget_bounds(const struct extent_buffer *eb, in check_setget_bounds()
27 void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb) in btrfs_init_map_token()
168 void btrfs_node_key(const struct extent_buffer *eb, in btrfs_node_key()
Dlocking.h176 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) in btrfs_assert_tree_write_locked()
181 static inline void btrfs_assert_tree_write_locked(struct extent_buffer *eb) { } in btrfs_assert_tree_write_locked()
186 static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) in btrfs_tree_unlock_rw()
215 struct extent_buffer *eb, int level) in btrfs_set_buffer_lockdep_class()
219 struct extent_buffer *eb) in btrfs_maybe_reset_lockdep_class()
Dtree-mod-log.c174 struct extent_buffer *eb) in tree_mod_dont_log()
192 struct extent_buffer *eb) in tree_mod_need_log()
202 static struct tree_mod_elem *alloc_tree_mod_elem(struct extent_buffer *eb, in alloc_tree_mod_elem()
225 int btrfs_tree_mod_log_insert_key(struct extent_buffer *eb, int slot, in btrfs_tree_mod_log_insert_key()
262 static struct tree_mod_elem *tree_mod_log_alloc_move(struct extent_buffer *eb, in tree_mod_log_alloc_move()
282 int btrfs_tree_mod_log_insert_move(struct extent_buffer *eb, in btrfs_tree_mod_log_insert_move()
670 int btrfs_tree_mod_log_free_eb(struct extent_buffer *eb) in btrfs_tree_mod_log_free_eb()
792 struct extent_buffer *eb, in tree_mod_log_rewind()
914 struct extent_buffer *eb, in btrfs_tree_mod_log_rewind()
976 struct extent_buffer *eb = NULL; in btrfs_get_old_root() local
Dprint-tree.c52 static void print_chunk(const struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk()
65 static void print_dev_item(const struct extent_buffer *eb, in print_dev_item()
73 static void print_extent_data_ref(const struct extent_buffer *eb, in print_extent_data_ref()
83 static void print_extent_item(const struct extent_buffer *eb, int slot, int type) in print_extent_item()
196 static void print_eb_refs_lock(const struct extent_buffer *eb) in print_eb_refs_lock()
Dextent_io.h98 struct extent_buffer *eb; member
111 static inline size_t get_eb_offset_in_page(const struct extent_buffer *eb, in get_eb_offset_in_page()
221 static inline int num_extent_pages(const struct extent_buffer *eb) in num_extent_pages()
233 static inline int extent_buffer_uptodate(const struct extent_buffer *eb) in extent_buffer_uptodate()
250 const struct extent_buffer *eb, const void *chunk_tree_uuid) in write_extent_buffer_chunk_tree_uuid()
257 static inline void write_extent_buffer_fsid(const struct extent_buffer *eb, in write_extent_buffer_fsid()
Dtree-checker.c55 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err()
80 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err()
140 static void dir_item_err(const struct extent_buffer *eb, int slot, in dir_item_err()
385 #define inode_item_err(eb, slot, fmt, ...) \ argument
635 static void block_group_err(const struct extent_buffer *eb, int slot, in block_group_err()
992 static void dev_item_err(const struct extent_buffer *eb, int slot, in dev_item_err()
1238 static void extent_err(const struct extent_buffer *eb, int slot, in extent_err()
1582 #define inode_ref_err(eb, slot, fmt, args...) \ argument
1926 int btrfs_check_eb_owner(const struct extent_buffer *eb, u64 root_owner) in btrfs_check_eb_owner()
1981 int btrfs_verify_level_key(struct extent_buffer *eb, int level, in btrfs_verify_level_key()
Dbackref.c37 const struct extent_buffer *eb, in check_extent_in_eb()
105 const struct extent_buffer *eb, in find_extent_in_eb()
479 struct extent_buffer *eb; in add_all_parents() local
600 struct extent_buffer *eb; in resolve_indirect_ref() local
844 struct extent_buffer *eb; in add_missing_keys() local
1613 struct extent_buffer *eb; in find_parent_nodes() local
2140 struct extent_buffer *eb = eb_in; in btrfs_ref_to_path() local
2211 const struct extent_buffer *eb; in extent_from_logical() local
2280 const struct extent_buffer *eb, in get_extent_inline_ref()
2335 int tree_backref_for_extent(unsigned long *ptr, struct extent_buffer *eb, in tree_backref_for_extent()
[all …]
Duuid-tree.c30 struct extent_buffer *eb; in btrfs_uuid_tree_lookup() local
93 struct extent_buffer *eb; in btrfs_uuid_tree_add() local
157 struct extent_buffer *eb; in btrfs_uuid_tree_remove() local
Dfile-item.h22 const struct extent_buffer *eb, in btrfs_file_extent_inline_item_len()
Dtree-log.c328 struct extent_buffer *eb, in process_one_buffer()
379 struct extent_buffer *eb, int slot, in overwrite_item()
582 static int read_alloc_one_name(struct extent_buffer *eb, void *start, int len, in read_alloc_one_name()
627 struct extent_buffer *eb, int slot, in replay_one_extent()
1215 static int extref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in extref_get_fields()
1237 static int ref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in ref_get_fields()
1274 struct extent_buffer *eb; in unlink_old_inode_refs() local
1351 struct extent_buffer *eb, int slot, in add_inode_ref()
1826 struct extent_buffer *eb, in replay_one_name()
1955 struct extent_buffer *eb, int slot, in replay_one_dir_item()
[all …]
Ddisk-io.c104 int btrfs_buffer_uptodate(struct extent_buffer *eb, u64 parent_transid, int atomic) in btrfs_buffer_uptodate()
166 static int btrfs_repair_eb_io_failure(const struct extent_buffer *eb, in btrfs_repair_eb_io_failure()
198 int btrfs_read_extent_buffer(struct extent_buffer *eb, in btrfs_read_extent_buffer()
245 struct extent_buffer *eb = bbio->private; in btree_csum_one_bio() local
311 static bool check_tree_block_fsid(struct extent_buffer *eb) in check_tree_block_fsid()
336 int btrfs_validate_extent_buffer(struct extent_buffer *eb, in btrfs_validate_extent_buffer()
525 struct extent_buffer *eb; in btree_dirty_folio() local
4713 struct extent_buffer *eb; in btrfs_destroy_marked_extents() local
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c324 static inline bool eb_use_cmdparser(const struct i915_execbuffer *eb) in eb_use_cmdparser()
331 static int eb_create(struct i915_execbuffer *eb) in eb_create()
437 eb_pin_vma(struct i915_execbuffer *eb, in eb_pin_vma()
499 eb_validate_vma(struct i915_execbuffer *eb, in eb_validate_vma()
552 is_batch_buffer(struct i915_execbuffer *eb, unsigned int buffer_idx) in is_batch_buffer()
560 eb_add_vma(struct i915_execbuffer *eb, in eb_add_vma()
654 static int eb_reserve_vma(struct i915_execbuffer *eb, in eb_reserve_vma()
695 static bool eb_unbind(struct i915_execbuffer *eb, bool force) in eb_unbind()
734 static int eb_reserve(struct i915_execbuffer *eb) in eb_reserve()
822 static int eb_select_context(struct i915_execbuffer *eb) in eb_select_context()
[all …]
/Linux-v6.6/fs/btrfs/tests/
Dextent-io-tests.c322 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap()
364 struct extent_buffer *eb, in test_bitmap_set()
379 struct extent_buffer *eb, in test_bitmap_clear()
392 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb) in __test_eb_bitmaps()
490 struct extent_buffer *eb = NULL; in test_eb_bitmaps() local
651 static void dump_eb_and_memory_contents(struct extent_buffer *eb, void *memory, in dump_eb_and_memory_contents()
667 static int verify_eb_and_memory(struct extent_buffer *eb, void *memory, in verify_eb_and_memory()
685 static void init_eb_and_memory(struct extent_buffer *eb, void *memory) in init_eb_and_memory()
694 struct extent_buffer *eb = NULL; in test_eb_mem_ops() local
Dextent-buffer-tests.c18 struct extent_buffer *eb; in test_btrfs_split_item() local
/Linux-v6.6/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.6/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.6/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.6/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.6/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.6/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