states: introduce get_all_state_slist()