Lines Matching refs:extent_status

147 static int __es_insert_extent(struct inode *inode, struct extent_status *newes);
159 sizeof(struct extent_status), in ext4_init_es()
187 struct extent_status *es; in ext4_es_print_tree()
188 es = rb_entry(node, struct extent_status, rb_node); in ext4_es_print_tree()
200 static inline ext4_lblk_t ext4_es_end(struct extent_status *es) in ext4_es_end()
210 static struct extent_status *__es_tree_search(struct rb_root *root, in __es_tree_search()
214 struct extent_status *es = NULL; in __es_tree_search()
217 es = rb_entry(node, struct extent_status, rb_node); in __es_tree_search()
231 return node ? rb_entry(node, struct extent_status, rb_node) : in __es_tree_search()
257 int (*matching_fn)(struct extent_status *es), in __es_find_extent_range()
259 struct extent_status *es) in __es_find_extent_range()
262 struct extent_status *es1 = NULL; in __es_find_extent_range()
287 es1 = rb_entry(node, struct extent_status, rb_node); in __es_find_extent_range()
310 int (*matching_fn)(struct extent_status *es), in ext4_es_find_extent_range()
312 struct extent_status *es) in ext4_es_find_extent_range()
342 int (*matching_fn)(struct extent_status *es), in __es_scan_range()
345 struct extent_status es; in __es_scan_range()
362 int (*matching_fn)(struct extent_status *es), in ext4_es_scan_range()
392 int (*matching_fn)(struct extent_status *es), in __es_scan_clu()
408 int (*matching_fn)(struct extent_status *es), in ext4_es_scan_clu()
453 static struct extent_status *
457 struct extent_status *es; in ext4_es_alloc_extent()
481 static void ext4_es_free_extent(struct inode *inode, struct extent_status *es) in ext4_es_free_extent()
505 static int ext4_es_can_be_merged(struct extent_status *es1, in ext4_es_can_be_merged()
506 struct extent_status *es2) in ext4_es_can_be_merged()
537 static struct extent_status *
538 ext4_es_try_to_merge_left(struct inode *inode, struct extent_status *es) in ext4_es_try_to_merge_left()
541 struct extent_status *es1; in ext4_es_try_to_merge_left()
548 es1 = rb_entry(node, struct extent_status, rb_node); in ext4_es_try_to_merge_left()
561 static struct extent_status *
562 ext4_es_try_to_merge_right(struct inode *inode, struct extent_status *es) in ext4_es_try_to_merge_right()
565 struct extent_status *es1; in ext4_es_try_to_merge_right()
572 es1 = rb_entry(node, struct extent_status, rb_node); in ext4_es_try_to_merge_right()
588 struct extent_status *es) in ext4_es_insert_extent_ext_check()
675 struct extent_status *es) in ext4_es_insert_extent_ind_check()
738 struct extent_status *es) in ext4_es_insert_extent_check()
752 struct extent_status *es) in ext4_es_insert_extent_check()
757 static int __es_insert_extent(struct inode *inode, struct extent_status *newes) in __es_insert_extent()
762 struct extent_status *es; in __es_insert_extent()
766 es = rb_entry(parent, struct extent_status, rb_node); in __es_insert_extent()
819 struct extent_status newes; in ext4_es_insert_extent()
884 struct extent_status *es; in ext4_es_cache_extent()
885 struct extent_status newes; in ext4_es_cache_extent()
918 struct extent_status *es) in ext4_es_lookup_extent()
922 struct extent_status *es1 = NULL; in ext4_es_lookup_extent()
949 es1 = rb_entry(node, struct extent_status, rb_node); in ext4_es_lookup_extent()
973 es1 = rb_entry(node, struct extent_status, in ext4_es_lookup_extent()
994 struct extent_status *left_es;
1011 struct extent_status *es, struct rsvd_count *rc) in init_rsvd()
1031 struct extent_status, in init_rsvd()
1053 struct extent_status *es, struct rsvd_count *rc) in count_rsvd()
1176 struct extent_status *right_es, in get_rsvd()
1185 struct extent_status *es; in get_rsvd()
1216 es = rb_entry(node, struct extent_status, rb_node); in get_rsvd()
1223 es = node ? rb_entry(node, struct extent_status, in get_rsvd()
1236 es = rb_entry(node, struct extent_status, in get_rsvd()
1308 struct extent_status *es; in __es_remove_extent()
1309 struct extent_status orig_es; in __es_remove_extent()
1342 struct extent_status newes; in __es_remove_extent()
1384 es = rb_entry(node, struct extent_status, rb_node); in __es_remove_extent()
1399 es = rb_entry(node, struct extent_status, rb_node); in __es_remove_extent()
1697 struct extent_status *es; in es_do_reclaim_extents()
1729 es = rb_entry(node, struct extent_status, rb_node); in es_do_reclaim_extents()
1769 struct extent_status *es; in ext4_clear_inode_es()
1778 es = rb_entry(node, struct extent_status, rb_node); in ext4_clear_inode_es()
1990 struct extent_status newes; in ext4_es_insert_delayed_block()
2048 struct extent_status *es; in __es_delayed_clu()
2081 es = rb_entry(node, struct extent_status, rb_node); in __es_delayed_clu()