Lines Matching refs:all_services
686 static int fix_order(SysvStub *s, Hashmap *all_services) {
699 HASHMAP_FOREACH(other, all_services, j) {
732 static int enumerate_sysv(const LookupPaths *lp, Hashmap *all_services) {
737 assert(all_services);
770 if (hashmap_contains(all_services, name))
795 r = hashmap_put(all_services, service->name, service);
806 static int set_dependencies_from_rcnd(const LookupPaths *lp, Hashmap *all_services) {
866 service = hashmap_get(all_services, name);
946 _cleanup_(free_sysvstub_hashmapp) Hashmap *all_services = NULL;
972 all_services = hashmap_new(&string_hash_ops);
973 if (!all_services) {
978 r = enumerate_sysv(&lp, all_services);
982 r = set_dependencies_from_rcnd(&lp, all_services);
986 HASHMAP_FOREACH(service, all_services, j)
989 HASHMAP_FOREACH(service, all_services, j) {
990 (void) fix_order(service, all_services);