Lines Matching refs:extent_state
24 static struct extent_state *alloc_extent_state(void) in alloc_extent_state()
26 struct extent_state *state; in alloc_extent_state()
38 static void btrfs_free_extent_state(struct extent_state *state) in btrfs_free_extent_state()
48 struct extent_state *es; in free_extent_state_func()
50 es = container_of(cache, struct extent_state, cache_node); in free_extent_state_func()
60 static inline void update_extent_state(struct extent_state *state) in update_extent_state()
73 struct extent_state *state) in merge_state()
75 struct extent_state *other; in merge_state()
83 other = container_of(other_node, struct extent_state, in merge_state()
95 other = container_of(other_node, struct extent_state, in merge_state()
113 struct extent_state *state, u64 start, u64 end, in insert_state()
134 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, in split_state()
135 struct extent_state *prealloc, u64 split) in split_state()
153 struct extent_state *state, int bits) in clear_state_bit()
228 struct extent_state *state; in clear_extent_bits()
229 struct extent_state *prealloc = NULL; in clear_extent_bits()
249 state = container_of(node, struct extent_state, cache_node); in clear_extent_bits()
322 struct extent_state *state; in set_extent_bits()
323 struct extent_state *prealloc = NULL; in set_extent_bits()
347 state = container_of(node, struct extent_state, cache_node); in set_extent_bits()
457 struct extent_state *state; in find_first_extent_bit()
469 state = container_of(node, struct extent_state, cache_node); in find_first_extent_bit()
487 struct extent_state *state = NULL; in test_range_bit()
493 state = container_of(node, struct extent_state, cache_node); in test_range_bit()
525 struct extent_state *state; in set_state_private()
533 state = container_of(node, struct extent_state, cache_node); in set_state_private()
546 struct extent_state *state; in get_state_private()
554 state = container_of(node, struct extent_state, cache_node); in get_state_private()