Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/btrfs/
H A 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 …]
H A 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 …]
H A 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
855 static int attach_extent_buffer_page(struct extent_buffer *eb, in attach_extent_buffer_page()
1459 void wait_on_extent_buffer_writeback(struct extent_buffer *eb) in wait_on_extent_buffer_writeback()
1472 static noinline_for_stack bool lock_extent_buffer_for_io(struct extent_buffer *eb, in lock_extent_buffer_for_io()
1508 static void set_btree_ioerr(struct extent_buffer *eb) in set_btree_ioerr()
1588 struct extent_buffer *eb; in find_extent_buffer_nolock() local
[all …]
H A 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()
H A 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()
H A 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()
H A 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
H A 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()
H A Dtree-checker.c56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err()
81 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err()
141 static void dir_item_err(const struct extent_buffer *eb, int slot, in dir_item_err()
386 #define inode_item_err(eb, slot, fmt, ...) \ argument
637 static void block_group_err(const struct extent_buffer *eb, int slot, in block_group_err()
994 static void dev_item_err(const struct extent_buffer *eb, int slot, in dev_item_err()
1240 static void extent_err(const struct extent_buffer *eb, int slot, in extent_err()
1694 #define inode_ref_err(eb, slot, fmt, args...) \ argument
2107 int btrfs_check_eb_owner(const struct extent_buffer *eb, u64 root_owner) in btrfs_check_eb_owner()
2162 int btrfs_verify_level_key(struct extent_buffer *eb, int level, in btrfs_verify_level_key()
H A 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 …]
H A 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
H A Dfile-item.h22 const struct extent_buffer *eb, in btrfs_file_extent_inline_item_len()
H A Dtree-log.c347 struct extent_buffer *eb, in process_one_buffer()
398 struct extent_buffer *eb, int slot, in overwrite_item()
601 static int read_alloc_one_name(struct extent_buffer *eb, void *start, int len, in read_alloc_one_name()
646 struct extent_buffer *eb, int slot, in replay_one_extent()
1234 static int extref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in extref_get_fields()
1256 static int ref_get_fields(struct extent_buffer *eb, unsigned long ref_ptr, in ref_get_fields()
1293 struct extent_buffer *eb; in unlink_old_inode_refs() local
1370 struct extent_buffer *eb, int slot, in add_inode_ref()
1845 struct extent_buffer *eb, in replay_one_name()
1974 struct extent_buffer *eb, int slot, in replay_one_dir_item()
[all …]
H A Drelocation.c679 struct extent_buffer *eb; in create_reloc_root() local
1122 static noinline_for_stack int memcmp_node_keys(const struct extent_buffer *eb, in memcmp_node_keys()
1149 struct extent_buffer *eb; in replace_path() local
1373 struct extent_buffer *eb; in walk_up_reloc_tree() local
1410 struct extent_buffer *eb = NULL; in walk_down_reloc_tree() local
2344 struct extent_buffer *eb; in do_relocation() local
2581 struct extent_buffer *eb; in get_tree_block_key() local
3132 struct extent_buffer *eb; in add_tree_block() local
3403 struct extent_buffer *eb; in add_data_references() local
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A 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 …]
/openbmc/linux/fs/btrfs/tests/
H A Dextent-io-tests.c342 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap()
384 struct extent_buffer *eb, in test_bitmap_set()
399 struct extent_buffer *eb, in test_bitmap_clear()
412 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb) in __test_eb_bitmaps()
510 struct extent_buffer *eb = NULL; in test_eb_bitmaps() local
671 static void dump_eb_and_memory_contents(struct extent_buffer *eb, void *memory, in dump_eb_and_memory_contents()
687 static int verify_eb_and_memory(struct extent_buffer *eb, void *memory, in verify_eb_and_memory()
705 static void init_eb_and_memory(struct extent_buffer *eb, void *memory) in init_eb_and_memory()
714 struct extent_buffer *eb = NULL; in test_eb_mem_ops() local
H A Dextent-buffer-tests.c18 struct extent_buffer *eb; in test_btrfs_split_item() local
/openbmc/linux/drivers/mtd/
H A 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 …]
/openbmc/linux/drivers/mtd/tests/
H A 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
H A Dmtd_test.c43 unsigned int eb, int ebcnt) in mtdtest_scan_for_bad_eraseblocks()
64 unsigned int eb, int ebcnt) in mtdtest_erase_good_eraseblocks()
/openbmc/linux/drivers/bus/
H A 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
/openbmc/linux/fs/ocfs2/
H A 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
H A 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 …]
/openbmc/linux/arch/sparc/kernel/
H A 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
/openbmc/qemu/contrib/plugins/
H A Dhwprofile.c75 DeviceCounts *eb = (DeviceCounts *) b; in sort_cmp() local
83 IOLocationCounts *eb = (IOLocationCounts *) b; in sort_loc() local

123