/systemd-251/src/test/ |
D | test-set.c | 18 assert_se(set_put(m, (void*) "1") == 1); in TEST() 19 assert_se(set_put(m, (void*) "22") == 1); in TEST() 20 assert_se(set_put(m, (void*) "333") == 1); in TEST() 44 assert_se(set_put(m, items + i) == 1); in TEST() 62 assert_se(set_put(m, items + i) == 1); in TEST() 71 TEST(set_put) { in TEST() argument 77 assert_se(set_put(m, (void*) "1") == 1); in TEST() 78 assert_se(set_put(m, (void*) "22") == 1); in TEST() 79 assert_se(set_put(m, (void*) "333") == 1); in TEST() 80 assert_se(set_put(m, (void*) "333") == 0); in TEST() [all …]
|
D | test-set-disable-mempool.c | 36 assert_se(set_put(s, &x[i])); in test_one()
|
D | test-ordered-set.c | 63 TEST(set_put) { in TEST() argument
|
D | test-seccomp.c | 483 assert_se(set_put(s, INT_TO_PTR(AF_UNIX)) >= 0); in TEST() 506 assert_se(set_put(s, INT_TO_PTR(AF_INET)) >= 0); in TEST() 737 assert_se(set_put(s, UINT32_TO_PTR(SCMP_ARCH_X86+1)) >= 0); in TEST() 887 assert_se(set_put(arch_s, SCMP_ARCH_NATIVE) >= 0); in TEST()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-wipe.c | 32 if (set_put(wipe_slots, INT_TO_PTR(slot)) < 0) in find_all_slots() 78 if (set_put(wipe_slots, INT_TO_PTR(r)) < 0) in find_empty_passphrase_slots() 145 if (set_put(wipe_slots, INT_TO_PTR(slot)) < 0) in find_slots_by_mask() 154 if (set_put(listed_slots, INT_TO_PTR(slot)) < 0) in find_slots_by_mask() 183 if (set_put(wipe_slots, INT_TO_PTR(slot)) < 0) in find_slots_by_mask() 257 if (set_put(shall_wipe ? wipe_slots : keep_slots, INT_TO_PTR(slot)) < 0) in find_slot_tokens() 263 if (set_put(wipe_tokens, INT_TO_PTR(token)) < 0) in find_slot_tokens() 336 if (set_put(keep_slots, INT_TO_PTR(except_slot)) < 0) in wipe_slots() 346 if (set_put(wipe_slots, INT_TO_PTR(explicit_slots[i])) < 0) in wipe_slots()
|
/systemd-251/coccinelle/ |
D | set_ensure_put.cocci | 9 - r = set_put(p, x); 18 - r = set_put(*p, x);
|
/systemd-251/src/userdb/ |
D | userdbd-manager.c | 215 r = set_put(m->workers_fixed, PID_TO_PTR(pid)); in start_one_worker() 217 r = set_put(m->workers_dynamic, PID_TO_PTR(pid)); in start_one_worker()
|
/systemd-251/src/shared/ |
D | killall.c | 224 r = set_put(pids, PID_TO_PTR(pid)); in killall()
|
D | fdset.c | 77 return set_put(MAKE_SET(s), FD_TO_PTR(fd)); in fdset_put()
|
D | cgroup-setup.c | 543 r = set_put(s, PID_TO_PTR(pid)); in cg_migrate()
|
/systemd-251/src/basic/ |
D | set.h | 34 int set_put(Set *s, const void *key);
|
D | hashmap.c | 1251 int set_put(Set *s, const void *key) { in set_put() function 1275 return set_put(*s, key); in _set_ensure_put() 1624 r = set_put(s, se->b.key); in set_merge() 1804 r = set_put(s, value); in set_consume()
|
D | unit-file.c | 523 r = set_put(paths, filename); in unit_file_build_name_map()
|
D | cgroup-util.c | 327 r = set_put(s, PID_TO_PTR(pid)); in cg_kill_items()
|
/systemd-251/src/systemctl/ |
D | systemctl-list-units.c | 44 r = set_put(replies, reply); in get_unit_list_recursive() 73 r = set_put(replies, reply); in get_unit_list_recursive()
|
/systemd-251/src/core/ |
D | device.c | 821 r = set_put(set, other); in device_following_set() 827 r = set_put(set, other); in device_following_set()
|
D | transaction.c | 672 (void) set_put(affected_jobs, j); in transaction_apply()
|
D | unit.c | 2846 r = set_put(u->pids, PID_TO_PTR(pid)); in unit_watch_pid() 3821 r = set_put(pid_set, PID_TO_PTR(main_pid)); in unit_pid_set() 3827 r = set_put(pid_set, PID_TO_PTR(control_pid)); in unit_pid_set() 4706 r = set_put(x, u); in unit_require_mounts_for()
|
D | dbus-unit.c | 1242 r = set_put(pids, PID_TO_PTR(pid)); in append_process() 1540 r = set_put(pids, PID_TO_PTR(pid)); in bus_unit_method_attach_processes()
|
/systemd-251/src/busctl/ |
D | busctl.c | 811 r = set_put(members, m); in on_interface() 854 r = set_put(members, m); in on_method() 893 r = set_put(members, m); in on_signal() 933 r = set_put(members, m); in on_property()
|
/systemd-251/src/journal/ |
D | managed-journal-file.c | 431 r = set_put(deferred_closes, f); in managed_journal_file_initiate_close()
|
/systemd-251/src/tty-ask-password-agent/ |
D | tty-ask-password-agent.c | 654 if (set_put(pids, PID_TO_PTR(pid)) < 0) in ask_on_consoles()
|
/systemd-251/src/oom/ |
D | oomd-util.c | 91 r = set_put(targets, ctx); in oomd_pressure_above()
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 184 k = set_put(database_users, n); in load_user_database() 232 k = set_put(database_groups, n); in load_group_database()
|
/systemd-251/src/network/ |
D | networkctl.c | 2631 r = set_put(indexes, INT_TO_PTR(index)); in link_up_down() 2666 r = set_put(indexes, INT_TO_PTR(index)); in link_delete() 2771 r = set_put(indexes, INT_TO_PTR(index)); in verb_reconfigure()
|