Lines Matching refs:old_sched
1519 struct ip_vs_scheduler *sched = NULL, *old_sched; in ip_vs_edit_service() local
1535 old_sched = sched; in ip_vs_edit_service()
1559 old_sched = rcu_dereference_protected(svc->scheduler, 1); in ip_vs_edit_service()
1560 if (sched != old_sched) { in ip_vs_edit_service()
1561 if (old_sched) { in ip_vs_edit_service()
1562 ip_vs_unbind_scheduler(svc, old_sched); in ip_vs_edit_service()
1597 ip_vs_scheduler_put(old_sched); in ip_vs_edit_service()
1610 struct ip_vs_scheduler *old_sched; in __ip_vs_del_service() local
1627 old_sched = rcu_dereference_protected(svc->scheduler, 1); in __ip_vs_del_service()
1628 ip_vs_unbind_scheduler(svc, old_sched); in __ip_vs_del_service()
1629 ip_vs_scheduler_put(old_sched); in __ip_vs_del_service()