Lines Matching refs:converted

818                         _cleanup_(converted_routes_freep) ConvertedRoutes *converted = NULL;  in manager_mark_routes()
821 r = route_convert(manager, route, &converted); in manager_mark_routes()
830 for (size_t i = 0; i < converted->n; i++) in manager_mark_routes()
831 if (route_get(manager, NULL, converted->routes[i], &existing) >= 0) in manager_mark_routes()
920 _cleanup_(converted_routes_freep) ConvertedRoutes *converted = NULL; in link_drop_foreign_routes()
923 r = route_convert(link->manager, route, &converted); in link_drop_foreign_routes()
932 for (size_t i = 0; i < converted->n; i++) in link_drop_foreign_routes()
933 if (route_get(NULL, link, converted->routes[i], &existing) >= 0) in link_drop_foreign_routes()
1314 _cleanup_(converted_routes_freep) ConvertedRoutes *converted = NULL; in route_process_request()
1328 r = route_convert(link->manager, route, &converted); in route_process_request()
1333 assert(converted); in route_process_request()
1335 for (size_t i = 0; i < converted->n; i++) { in route_process_request()
1338 … if (route_get(link->manager, converted->links[i] ?: link, converted->routes[i], &existing) < 0) { in route_process_request()
1341 r = route_dup(converted->routes[i], &tmp); in route_process_request()
1345 r = route_add(link->manager, converted->links[i] ?: link, tmp); in route_process_request()
1351 existing->source = converted->routes[i]->source; in route_process_request()
1352 existing->provider = converted->routes[i]->provider; in route_process_request()
1361 if (converted) in route_process_request()
1362 for (size_t i = 0; i < converted->n; i++) { in route_process_request()
1365 …assert_se(route_get(link->manager, converted->links[i] ?: link, converted->routes[i], &existing) >… in route_process_request()
1636 _cleanup_(converted_routes_freep) ConvertedRoutes *converted = NULL; in manager_rtnl_process_route()
1864 r = route_convert(m, tmp, &converted); in manager_rtnl_process_route()
1871 assert(converted); in manager_rtnl_process_route()
1873 for (size_t i = 0; i < converted->n; i++) in manager_rtnl_process_route()
1875 converted->links[i] ?: link, in manager_rtnl_process_route()
1877 TAKE_PTR(converted->routes[i]), in manager_rtnl_process_route()