Searched refs:hist_root (Results 1 – 1 of 1) sorted by relevance
433 struct rb_root hist_root = RB_ROOT; in mtdswap_check_counts() local445 __mtdswap_rb_add(&hist_root, eb); in mtdswap_check_counts()452 medrb = mtdswap_rb_index(&hist_root, cnt / 2); in mtdswap_check_counts()455 d->max_erase_count = MTDSWAP_ECNT_MAX(&hist_root); in mtdswap_check_counts()466 rb_erase(&eb->rb, &hist_root); in mtdswap_check_counts()