Lines Matching refs:node_cnt
252 atomic_inc(&et->node_cnt);
261 atomic_dec(&et->node_cnt);
303 atomic_set(&et->node_cnt, 0);
337 unsigned int count = atomic_read(&et->node_cnt);
347 return count - atomic_read(&et->node_cnt);
388 if (atomic_read(&et->node_cnt))
669 unsigned int node_cnt = 0, tree_cnt = 0;
683 if (atomic_read(&et->node_cnt)) {
685 node_cnt += __free_extent_tree(sbi, et);
688 f2fs_bug_on(sbi, atomic_read(&et->node_cnt));
696 if (node_cnt + tree_cnt >= nr_shrink)
707 remained = nr_shrink - (node_cnt + tree_cnt);
728 node_cnt++;
736 trace_f2fs_shrink_extent_tree(sbi, node_cnt, tree_cnt);
738 return node_cnt + tree_cnt;
745 unsigned int node_cnt = 0;
747 if (!et || !atomic_read(&et->node_cnt))
751 node_cnt = __free_extent_tree(sbi, et);
754 return node_cnt;
782 unsigned int node_cnt = 0;
788 atomic_read(&et->node_cnt)) {
797 node_cnt = f2fs_destroy_extent_node(inode);
801 f2fs_bug_on(sbi, atomic_read(&et->node_cnt));
809 trace_f2fs_destroy_extent_tree(inode, node_cnt);