Home
last modified time | relevance | path

Searched refs:parse_pid (Results 1 – 25 of 29) sorted by relevance

12

/systemd-251/src/test/
Dtest-parse-util.c41 TEST(parse_pid) { in TEST() argument
45 r = parse_pid("100", &pid); in TEST()
49 r = parse_pid("0x7FFFFFFF", &pid); in TEST()
54 r = parse_pid("0", &pid); in TEST()
59 r = parse_pid("-100", &pid); in TEST()
64 r = parse_pid("0xFFFFFFFFFFFFFFFFF", &pid); in TEST()
68 r = parse_pid("junk", &pid); in TEST()
71 r = parse_pid("", &pid); in TEST()
Dtest-env-util.c397 assert_se(parse_pid(e, &p) >= 0); in TEST()
403 assert_se(parse_pid(e, &p) >= 0); in TEST()
Dtest-process-util.c105 (void) parse_pid(saved_argv[1], &pid); in TEST()
147 if (parse_pid(de->d_name, &pid) < 0) in TEST()
Dtest-cgroup-util.c183 r = parse_pid(de->d_name, &pid); in TEST()
/systemd-251/src/notify/
Dnotify.c71 r = parse_pid(e, &pid); in manager_pid()
138 r = parse_pid(optarg, &arg_pid); in parse_argv()
/systemd-251/src/basic/
Dutil.c148 r = parse_pid(s, &leader); in container_get_leader()
Dparse-util.h15 int parse_pid(const char *s, pid_t* ret_pid);
Dparse-util.c47 int parse_pid(const char *s, pid_t* ret_pid) { in parse_pid() function
Dvirt.c680 r = parse_pid(p, &ptrace_pid); in detect_container()
Dlog.c1187 if (parse_pid(e, &p) < 0) { in should_parse_proc_cmdline()
Dprocess-util.c1513 return parse_pid(p, ret); in pidfd_get_pid()
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c53 r = parse_pid(e, &pid); in sd_listen_fds()
653 r = parse_pid(p, &pid); in sd_watchdog_enabled()
/systemd-251/src/shared/
Dkillall.c208 if (parse_pid(de->d_name, &pid) < 0) in killall()
Dconf-parser.c775 DEFINE_PARSER(pid, pid_t, parse_pid);
/systemd-251/src/journal/
Djournald-kmsg.c92 if (parse_pid(pid, &pid_num) < 0) in is_us()
Djournald-native.c91 (void) parse_pid(buf, object_pid); in server_process_entry_meta()
/systemd-251/src/coredump/
Dcoredumpctl.c79 } else if (parse_pid(match, &pid) >= 0) in add_match()
508 (void) parse_pid(pid, &pid_as_int); in print_list()
Dcoredump.c948 r = parse_pid(context->meta[META_ARGV_PID], &context->pid); in save_context()
/systemd-251/src/login/
Dlogind-inhibit.c246 r = parse_pid(pid, &i->pid); in inhibitor_load()
Dlogind-session.c518 r = parse_pid(leader, &pid); in session_load()
/systemd-251/src/core/
Dscope.c521 if (parse_pid(value, &pid) < 0) in scope_deserialize_item()
Dservice.c996 r = parse_pid(k, &pid); in service_load_pid_file()
2945 if (parse_pid(value, &pid) < 0) in service_deserialize_item()
2952 if (parse_pid(value, &pid) < 0) in service_deserialize_item()
3040 if (parse_pid(value, &pid) < 0) in service_deserialize_item()
4111 if (parse_pid(e, &new_main_pid) < 0) in service_notify_message()
Dswap.c1020 if (parse_pid(value, &pid) < 0) in swap_deserialize_item()
/systemd-251/src/machine/
Dmachine.c277 parse_pid(leader, &m->leader); in machine_load()
/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c824 r = parse_pid(p, &c->ppid); in bus_creds_add_more()

12