Searched refs:hist_root (Results 1 – 1 of 1) sorted by relevance
418 struct rb_root hist_root = RB_ROOT; in mtdswap_check_counts() local430 __mtdswap_rb_add(&hist_root, eb); in mtdswap_check_counts()437 medrb = mtdswap_rb_index(&hist_root, cnt / 2); in mtdswap_check_counts()440 d->max_erase_count = MTDSWAP_ECNT_MAX(&hist_root); in mtdswap_check_counts()451 rb_erase(&eb->rb, &hist_root); in mtdswap_check_counts()