Lines Matching refs:rebalance_event_source

266         m->rebalance_event_source = sd_event_source_unref(m->rebalance_event_source);  in manager_free()
2119 if (m->rebalance_event_source) { in manager_schedule_rebalance()
2120 r = sd_event_source_set_time(m->rebalance_event_source, 0); in manager_schedule_rebalance()
2126 … r = sd_event_source_set_enabled(m->rebalance_event_source, SD_EVENT_ONESHOT); in manager_schedule_rebalance()
2132 …r = sd_event_add_time(m->event, &m->rebalance_event_source, CLOCK_MONOTONIC, 0, USEC_PER_SEC, on_r… in manager_schedule_rebalance()
2138 … r = sd_event_source_set_priority(m->rebalance_event_source, SD_EVENT_PRIORITY_IDLE + 10); in manager_schedule_rebalance()
2144 … (void) sd_event_source_set_description(m->rebalance_event_source, "rebalance"); in manager_schedule_rebalance()
2160 if (m->rebalance_event_source) { in manager_schedule_rebalance()
2161 … r = sd_event_source_set_time_relative(m->rebalance_event_source, m->rebalance_interval_usec); in manager_schedule_rebalance()
2167 r = sd_event_source_set_enabled(m->rebalance_event_source, SD_EVENT_ONESHOT); in manager_schedule_rebalance()
2173 …r = sd_event_add_time_relative(m->event, &m->rebalance_event_source, CLOCK_MONOTONIC, m->rebalance… in manager_schedule_rebalance()
2179 … r = sd_event_source_set_priority(m->rebalance_event_source, SD_EVENT_PRIORITY_IDLE + 10); in manager_schedule_rebalance()
2185 (void) sd_event_source_set_description(m->rebalance_event_source, "rebalance"); in manager_schedule_rebalance()
2193 m->rebalance_event_source = sd_event_source_disable_unref(m->rebalance_event_source); in manager_schedule_rebalance()