Lines Matching refs:extent_buffer

16 struct extent_buffer;
19 struct extent_buffer *eb;
24 void btrfs_init_map_token(struct btrfs_map_token *token, struct extent_buffer *eb);
63 u##bits btrfs_get_##bits(const struct extent_buffer *eb, \
65 void btrfs_set_##bits(const struct extent_buffer *eb, void *ptr, \
74 static inline u##bits btrfs_##name(const struct extent_buffer *eb, \
80 static inline void btrfs_set_##name(const struct extent_buffer *eb, type *s, \
100 static inline u##bits btrfs_##name(const struct extent_buffer *eb) \
106 static inline void btrfs_set_##name(const struct extent_buffer *eb, \
123 static inline u64 btrfs_device_total_bytes(const struct extent_buffer *eb, in btrfs_device_total_bytes()
129 static inline void btrfs_set_device_total_bytes(const struct extent_buffer *eb, in btrfs_set_device_total_bytes()
227 static inline u64 btrfs_stripe_offset_nr(const struct extent_buffer *eb, in btrfs_stripe_offset_nr()
233 static inline void btrfs_set_stripe_offset_nr(struct extent_buffer *eb, in btrfs_set_stripe_offset_nr()
240 static inline u64 btrfs_stripe_devid_nr(const struct extent_buffer *eb, in btrfs_stripe_devid_nr()
246 static inline void btrfs_set_stripe_devid_nr(struct extent_buffer *eb, in btrfs_set_stripe_devid_nr()
344 static inline void btrfs_tree_block_key(const struct extent_buffer *eb, in btrfs_tree_block_key()
351 static inline void btrfs_set_tree_block_key(const struct extent_buffer *eb, in btrfs_set_tree_block_key()
398 static inline u64 btrfs_node_blockptr(const struct extent_buffer *eb, int nr) in btrfs_node_blockptr()
407 static inline void btrfs_set_node_blockptr(const struct extent_buffer *eb, in btrfs_set_node_blockptr()
417 static inline u64 btrfs_node_ptr_generation(const struct extent_buffer *eb, int nr) in btrfs_node_ptr_generation()
426 static inline void btrfs_set_node_ptr_generation(const struct extent_buffer *eb, in btrfs_set_node_ptr_generation()
436 static inline unsigned long btrfs_node_key_ptr_offset(const struct extent_buffer *eb, int nr) in btrfs_node_key_ptr_offset()
442 void btrfs_node_key(const struct extent_buffer *eb,
445 static inline void btrfs_set_node_key(const struct extent_buffer *eb, in btrfs_set_node_key()
461 static inline unsigned long btrfs_item_nr_offset(const struct extent_buffer *eb, int nr) in btrfs_item_nr_offset()
467 static inline struct btrfs_item *btrfs_item_nr(const struct extent_buffer *eb, int nr) in btrfs_item_nr()
473 static inline u32 btrfs_item_##member(const struct extent_buffer *eb, int slot) \
477 static inline void btrfs_set_item_##member(const struct extent_buffer *eb, \
498 static inline u32 btrfs_item_data_end(const struct extent_buffer *eb, int nr) in btrfs_item_data_end()
503 static inline void btrfs_item_key(const struct extent_buffer *eb, in btrfs_item_key()
511 static inline void btrfs_set_item_key(struct extent_buffer *eb, in btrfs_set_item_key()
539 static inline u8 btrfs_dir_ftype(const struct extent_buffer *eb, in btrfs_dir_ftype()
550 static inline void btrfs_dir_item_key(const struct extent_buffer *eb, in btrfs_dir_item_key()
557 static inline void btrfs_set_dir_item_key(struct extent_buffer *eb, in btrfs_set_dir_item_key()
571 static inline void btrfs_free_space_key(const struct extent_buffer *eb, in btrfs_free_space_key()
578 static inline void btrfs_set_free_space_key(struct extent_buffer *eb, in btrfs_set_free_space_key()
609 static inline void btrfs_node_key_to_cpu(const struct extent_buffer *eb, in btrfs_node_key_to_cpu()
617 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu()
625 static inline void btrfs_dir_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_dir_item_key_to_cpu()
652 static inline void btrfs_node_key_to_cpu(const struct extent_buffer *eb, in btrfs_node_key_to_cpu()
661 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu()
670 static inline void btrfs_dir_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_dir_item_key_to_cpu()
695 static inline int btrfs_header_flag(const struct extent_buffer *eb, u64 flag) in btrfs_header_flag()
700 static inline void btrfs_set_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_set_header_flag()
707 static inline void btrfs_clear_header_flag(struct extent_buffer *eb, u64 flag) in btrfs_clear_header_flag()
714 static inline int btrfs_header_backref_rev(const struct extent_buffer *eb) in btrfs_header_backref_rev()
721 static inline void btrfs_set_header_backref_rev(struct extent_buffer *eb, int rev) in btrfs_set_header_backref_rev()
730 static inline int btrfs_is_leaf(const struct extent_buffer *eb) in btrfs_is_leaf()
811 static inline void btrfs_balance_data(const struct extent_buffer *eb, in btrfs_balance_data()
818 static inline void btrfs_set_balance_data(struct extent_buffer *eb, in btrfs_set_balance_data()
825 static inline void btrfs_balance_meta(const struct extent_buffer *eb, in btrfs_balance_meta()
832 static inline void btrfs_set_balance_meta(struct extent_buffer *eb, in btrfs_set_balance_meta()
839 static inline void btrfs_balance_sys(const struct extent_buffer *eb, in btrfs_balance_sys()
846 static inline void btrfs_set_balance_sys(struct extent_buffer *eb, in btrfs_set_balance_sys()