Lines Matching refs:extent_tree
105 static void __try_update_largest_extent(struct extent_tree *et, in __try_update_largest_extent()
259 struct extent_tree *et, struct extent_info *ei, in __attach_extent_node()
263 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __attach_extent_node()
282 struct extent_tree *et, struct extent_node *en) in __detach_extent_node()
284 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __detach_extent_node()
302 struct extent_tree *et, struct extent_node *en) in __release_extent_node()
304 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __release_extent_node()
314 static struct extent_tree *__grab_extent_tree(struct inode *inode, in __grab_extent_tree()
318 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __grab_extent_tree()
319 struct extent_tree *et; in __grab_extent_tree()
328 memset(et, 0, sizeof(struct extent_tree)); in __grab_extent_tree()
344 F2FS_I(inode)->extent_tree[type] = et; in __grab_extent_tree()
350 struct extent_tree *et, unsigned int nr_shrink) in __free_extent_tree()
368 static void __drop_largest_extent(struct extent_tree *et, in __drop_largest_extent()
381 struct extent_tree_info *eti = &sbi->extent_tree[EX_READ]; in f2fs_init_read_extent_tree()
383 struct extent_tree *et; in f2fs_init_read_extent_tree()
447 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __lookup_extent_tree()
448 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __lookup_extent_tree()
497 struct extent_tree *et, struct extent_info *ei, in __try_merge_extent_node()
501 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __try_merge_extent_node()
536 struct extent_tree *et, struct extent_info *ei, in __insert_extent_tree()
541 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __insert_extent_tree()
588 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __destroy_extent_node()
612 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __update_extent_tree_range()
776 struct extent_tree *et = F2FS_I(inode)->extent_tree[EX_READ]; in f2fs_update_read_extent_tree_range_compressed()
914 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __shrink_extent_tree()
915 struct extent_tree *et, *next; in __shrink_extent_tree()
1084 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __drop_extent_tree()
1115 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __destroy_extent_tree()
1116 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __destroy_extent_tree()
1142 F2FS_I(inode)->extent_tree[type] = NULL; in __destroy_extent_tree()
1167 __init_extent_tree_info(&sbi->extent_tree[EX_READ]); in f2fs_init_extent_cache_info()
1168 __init_extent_tree_info(&sbi->extent_tree[EX_BLOCK_AGE]); in f2fs_init_extent_cache_info()
1180 sizeof(struct extent_tree)); in f2fs_create_extent_cache()