Lines Matching refs:extent_tree
26 struct extent_tree *et = fi->extent_tree[EX_READ]; in sanity_check_extent_cache()
115 static void __try_update_largest_extent(struct extent_tree *et, in __try_update_largest_extent()
269 struct extent_tree *et, struct extent_info *ei, in __attach_extent_node()
273 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __attach_extent_node()
292 struct extent_tree *et, struct extent_node *en) in __detach_extent_node()
294 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __detach_extent_node()
312 struct extent_tree *et, struct extent_node *en) in __release_extent_node()
314 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __release_extent_node()
324 static struct extent_tree *__grab_extent_tree(struct inode *inode, in __grab_extent_tree()
328 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __grab_extent_tree()
329 struct extent_tree *et; in __grab_extent_tree()
338 memset(et, 0, sizeof(struct extent_tree)); in __grab_extent_tree()
354 F2FS_I(inode)->extent_tree[type] = et; in __grab_extent_tree()
360 struct extent_tree *et) in __free_extent_tree()
377 static void __drop_largest_extent(struct extent_tree *et, in __drop_largest_extent()
390 struct extent_tree_info *eti = &sbi->extent_tree[EX_READ]; in f2fs_init_read_extent_tree()
392 struct extent_tree *et; in f2fs_init_read_extent_tree()
430 if (!F2FS_I(inode)->extent_tree[EX_READ]) in f2fs_init_read_extent_tree()
456 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __lookup_extent_tree()
457 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __lookup_extent_tree()
506 struct extent_tree *et, struct extent_info *ei, in __try_merge_extent_node()
510 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __try_merge_extent_node()
545 struct extent_tree *et, struct extent_info *ei, in __insert_extent_tree()
550 struct extent_tree_info *eti = &sbi->extent_tree[et->type]; in __insert_extent_tree()
597 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __update_extent_tree_range()
761 struct extent_tree *et = F2FS_I(inode)->extent_tree[EX_READ]; in f2fs_update_read_extent_tree_range_compressed()
899 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __shrink_extent_tree()
900 struct extent_tree *et, *next; in __shrink_extent_tree()
1061 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __destroy_extent_node()
1083 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __drop_extent_tree()
1112 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __destroy_extent_tree()
1113 struct extent_tree *et = F2FS_I(inode)->extent_tree[type]; in __destroy_extent_tree()
1139 F2FS_I(inode)->extent_tree[type] = NULL; in __destroy_extent_tree()
1164 __init_extent_tree_info(&sbi->extent_tree[EX_READ]); in f2fs_init_extent_cache_info()
1165 __init_extent_tree_info(&sbi->extent_tree[EX_BLOCK_AGE]); in f2fs_init_extent_cache_info()
1177 sizeof(struct extent_tree)); in f2fs_create_extent_cache()