Searched refs:PID_TO_PTR (Results 1 - 13 of 13) sorted by relevance
/systemd/src/remount-fs/ |
H A D | remount-fs.c | 116 k = hashmap_put(pids, PID_TO_PTR(pid), s); 138 s = hashmap_remove(pids, PID_TO_PTR(si.si_pid));
|
/systemd/src/core/ |
H A D | killall.c | 128 (void) set_remove(pids, PID_TO_PTR(pid)); 199 r = set_put(pids, PID_TO_PTR(pid));
|
H A D | unit.c | 2053 r = hashmap_put(u->manager->watch_pids1, PID_TO_PTR(pid), u); 2059 r = hashmap_put(u->manager->watch_pids2, PID_TO_PTR(pid), u); 2062 q = set_put(u->pids, PID_TO_PTR(pid)); 2073 (void) hashmap_remove_value(u->manager->watch_pids1, PID_TO_PTR(pid), u); 2074 (void) hashmap_remove_value(u->manager->watch_pids2, PID_TO_PTR(pid), u); 2075 (void) set_remove(u->pids, PID_TO_PTR(pid)); 3066 r = set_put(pid_set, PID_TO_PTR(main_pid)); 3072 r = set_put(pid_set, PID_TO_PTR(control_pid));
|
H A D | manager.c | 1605 u2 = hashmap_get(m->watch_pids1, PID_TO_PTR(ucred->pid)); 1611 u3 = hashmap_get(m->watch_pids2, PID_TO_PTR(ucred->pid)); 1679 u2 = hashmap_get(m->watch_pids1, PID_TO_PTR(si.si_pid)); 1682 u3 = hashmap_get(m->watch_pids2, PID_TO_PTR(si.si_pid));
|
H A D | cgroup.c | 1444 u = hashmap_get(m->watch_pids1, PID_TO_PTR(pid)); 1448 u = hashmap_get(m->watch_pids2, PID_TO_PTR(pid));
|
/systemd/src/basic/ |
H A D | process-util.h | 101 #define PID_TO_PTR(p) ((void*) ((uintptr_t) p)) macro
|
H A D | cgroup-util.c | 205 if (set_get(s, PID_TO_PTR(pid)) == PID_TO_PTR(pid)) 223 r = set_put(s, PID_TO_PTR(pid)); 336 if (set_get(s, PID_TO_PTR(pid)) == PID_TO_PTR(pid)) 356 r = set_put(s, PID_TO_PTR(pid));
|
H A D | util.c | 162 r = hashmap_put(pids, PID_TO_PTR(pid), path); 183 path = hashmap_remove(pids, PID_TO_PTR(pid));
|
/systemd/src/machine/ |
H A D | machine.c | 107 (void) hashmap_remove_value(m->manager->machine_leaders, PID_TO_PTR(m->leader), m); 403 r = hashmap_put(m->manager->machine_leaders, PID_TO_PTR(m->leader), m);
|
H A D | machined-dbus.c | 1519 mm = hashmap_get(m->machine_leaders, PID_TO_PTR(pid));
|
/systemd/src/udev/ |
H A D | udevd.c | 193 hashmap_remove(worker->manager->workers, PID_TO_PTR(worker->pid)); 236 r = hashmap_put(manager->workers, PID_TO_PTR(pid), worker); 893 worker = hashmap_get(manager->workers, PID_TO_PTR(ucred->pid)); 1197 worker = hashmap_get(manager->workers, PID_TO_PTR(pid));
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 844 (void) hashmap_remove(s->event->child_sources, PID_TO_PTR(s->child.pid)); 1219 if (hashmap_contains(e->child_sources, PID_TO_PTR(pid))) 1232 r = hashmap_put(e->child_sources, PID_TO_PTR(pid), s);
|
/systemd/src/nspawn/ |
H A D | nspawn.c | 3569 sd_event_add_signal(event, NULL, SIGINT, on_orderly_shutdown, PID_TO_PTR(pid)); 3570 sd_event_add_signal(event, NULL, SIGTERM, on_orderly_shutdown, PID_TO_PTR(pid));
|
Completed in 4647 milliseconds