Home
last modified time | relevance | path

Searched refs:hashmap_new (Results 1 – 25 of 44) sorted by relevance

12

/systemd-251/src/test/
Dtest-hashmap-plain.c17 m = hashmap_new(&string_hash_ops); in TEST()
64 m = hashmap_new(&string_hash_ops); in TEST()
100 m = hashmap_new(&string_hash_ops); in TEST()
136 m = hashmap_new(&string_hash_ops); in TEST()
137 n = hashmap_new(&string_hash_ops); in TEST()
175 m = hashmap_new(&string_hash_ops); in TEST()
176 n = hashmap_new(&string_hash_ops); in TEST()
208 m = hashmap_new(&string_hash_ops); in TEST()
259 m = hashmap_new(&string_hash_ops); in TEST()
287 m = hashmap_new(&string_hash_ops); in TEST()
[all …]
Dtest-hashmap.c74 assert_se(m = hashmap_new(NULL)); in TEST()
Dtest-install.c34 h = hashmap_new(&string_hash_ops); in main()
Dtest-mountpoint-util.c60 assert_se(h = hashmap_new(&trivial_hash_ops)); in TEST()
/systemd-251/src/oom/
Dtest-oomd-util.c168 assert_se(h1 = hashmap_new(&oomd_cgroup_ctx_hash_ops)); in test_oomd_cgroup_context_acquire_and_insert()
179 assert_se(h2 = hashmap_new(&oomd_cgroup_ctx_hash_ops)); in test_oomd_cgroup_context_acquire_and_insert()
226 assert_se(h_old = hashmap_new(&string_hash_ops)); in test_oomd_update_cgroup_contexts_between_hashmaps()
230 assert_se(h_new = hashmap_new(&string_hash_ops)); in test_oomd_update_cgroup_contexts_between_hashmaps()
311 assert_se(h1 = hashmap_new(&string_hash_ops)); in test_oomd_pressure_above()
319 assert_se(h2 = hashmap_new(&string_hash_ops)); in test_oomd_pressure_above()
415 assert_se(h = hashmap_new(&string_hash_ops)); in test_oomd_sort_cgroups()
Doomd-manager.c253 new_base = hashmap_new(&oomd_cgroup_ctx_hash_ops); in update_monitored_cgroup_contexts()
280 candidates = hashmap_new(&oomd_cgroup_ctx_hash_ops); in get_monitored_cgroup_contexts_candidates()
657 m->monitored_swap_cgroup_contexts = hashmap_new(&oomd_cgroup_ctx_hash_ops); in manager_new()
661 m->monitored_mem_pressure_cgroup_contexts = hashmap_new(&oomd_cgroup_ctx_hash_ops); in manager_new()
665 … m->monitored_mem_pressure_cgroup_contexts_candidates = hashmap_new(&oomd_cgroup_ctx_hash_ops); in manager_new()
/systemd-251/src/login/
Dlogind.c61 m->devices = hashmap_new(&string_hash_ops); in manager_new()
62 m->seats = hashmap_new(&string_hash_ops); in manager_new()
63 m->sessions = hashmap_new(&string_hash_ops); in manager_new()
64 m->sessions_by_leader = hashmap_new(NULL); in manager_new()
65 m->users = hashmap_new(NULL); in manager_new()
66 m->inhibitors = hashmap_new(&string_hash_ops); in manager_new()
67 m->buttons = hashmap_new(&string_hash_ops); in manager_new()
69 m->user_units = hashmap_new(&string_hash_ops); in manager_new()
70 m->session_units = hashmap_new(&string_hash_ops); in manager_new()
/systemd-251/src/machine/
Dmachined.c45 m->machines = hashmap_new(&machine_hash_ops); in manager_new()
46 m->machine_units = hashmap_new(&string_hash_ops); in manager_new()
47 m->machine_leaders = hashmap_new(NULL); in manager_new()
Dimage-dbus.c481 images = hashmap_new(&image_hash_ops); in image_node_enumerator()
/systemd-251/src/tmpfiles/
Doffline-passwd.c35 cache = hashmap_new(&uid_gid_hash_ops); in populate_uid_cache()
76 cache = hashmap_new(&uid_gid_hash_ops); in populate_gid_cache()
/systemd-251/src/libsystemd/sd-device/
Dtest-sd-device.c260 assert_se(subsystems = hashmap_new(&string_hash_ops)); in TEST()
281 assert_se(h = hashmap_new(&string_hash_ops)); in TEST()
/systemd-251/src/xdg-autostart-generator/
Dxdg-autostart-generator.c103 all_services = hashmap_new(&xdgautostartservice_hash_ops); in run()
/systemd-251/src/analyze/
Danalyze-critical-chain.c211 h = hashmap_new(&string_hash_ops); in verb_critical_chain()
/systemd-251/src/basic/
Dconf-files.c157 fh = hashmap_new(&path_hash_ops); in conf_files_list_strv_internal()
/systemd-251/src/systemctl/
Dsystemctl-list-unit-files.c150 h = hashmap_new(&string_hash_ops); in verb_list_unit_files()
/systemd-251/src/sysext/
Dsysext.c749 images = hashmap_new(&image_hash_ops); in image_discover_and_read_metadata()
846 images = hashmap_new(&image_hash_ops); in verb_list()
/systemd-251/src/home/
Dhomed-manager.c228 m->homes_by_uid = hashmap_new(&homes_by_uid_hash_ops); in manager_new()
232 m->homes_by_name = hashmap_new(&homes_by_name_hash_ops); in manager_new()
236 m->homes_by_worker_pid = hashmap_new(&homes_by_worker_pid_hash_ops); in manager_new()
240 m->homes_by_sysfs = hashmap_new(&homes_by_sysfs_hash_ops); in manager_new()
/systemd-251/src/libsystemd/sd-bus/
Dbus-match.c476 c->compare.children = hashmap_new(NULL); in bus_match_add_compare_value()
482 c->compare.children = hashmap_new(&string_hash_ops); in bus_match_add_compare_value()
/systemd-251/src/cgtop/
Dcgtop.c940 a = hashmap_new(&group_hash_ops); in run()
941 b = hashmap_new(&group_hash_ops); in run()
/systemd-251/src/shared/
Dbus-unit-procs.c360 cgroups = hashmap_new(&path_hash_ops); in unit_show_processes()
Dexec-util.c110 pids = hashmap_new(NULL); in do_execute()
Dconf-parser.c494 stats_by_path = hashmap_new(&path_hash_ops_free_free); in config_parse_many_files()
682 stats_by_path = hashmap_new(&path_hash_ops_free_free); in config_get_stats_by_path()
/systemd-251/src/udev/
Dudevadm-trigger.c482 settle_hashmap = hashmap_new(&path_hash_ops_free_free); in trigger_main()
/systemd-251/src/journal-remote/
Djournal-remote.c95 s->writers = hashmap_new(hash_ops[s->split_mode]); in init_writer_hashmap()
/systemd-251/src/portable/
Dportabled-bus.c144 images = hashmap_new(&image_hash_ops); in method_list_images()

12