Lines Matching refs:node_cnt
286 atomic_inc(&et->node_cnt);
297 atomic_dec(&et->node_cnt);
345 atomic_set(&et->node_cnt, 0);
364 unsigned int count = atomic_read(&et->node_cnt);
374 return count - atomic_read(&et->node_cnt);
414 if (atomic_read(&et->node_cnt))
902 unsigned int node_cnt = 0, tree_cnt = 0;
913 if (atomic_read(&et->node_cnt)) {
915 node_cnt += __free_extent_tree(sbi, et);
918 f2fs_bug_on(sbi, atomic_read(&et->node_cnt));
926 if (node_cnt + tree_cnt >= nr_shrink)
937 remained = nr_shrink - (node_cnt + tree_cnt);
958 node_cnt++;
966 trace_f2fs_shrink_extent_tree(sbi, node_cnt, tree_cnt, type);
968 return node_cnt + tree_cnt;
1062 unsigned int node_cnt = 0;
1064 if (!et || !atomic_read(&et->node_cnt))
1068 node_cnt = __free_extent_tree(sbi, et);
1071 return node_cnt;
1114 unsigned int node_cnt = 0;
1120 atomic_read(&et->node_cnt)) {
1129 node_cnt = __destroy_extent_node(inode, type);
1133 f2fs_bug_on(sbi, atomic_read(&et->node_cnt));
1141 trace_f2fs_destroy_extent_tree(inode, node_cnt, type);