Searched refs:pid2 (Results 1 - 5 of 5) sorted by relevance

/systemd/src/journal/
H A Dtest-journal-syslog.c28 _cleanup_free_ char *ident2 = NULL, *pid2 = NULL; local
31 ret2 = syslog_parse_identifier(&buf, &ident2, &pid2);
35 assert_se(pid == pid2 || streq_ptr(pid, pid2));
/systemd/src/test/
H A Dtest-barrier.c59 pid_t pid1, pid2; \
75 pid2 = fork(); \
76 assert_se(pid2 >= 0); \
77 if (pid2 == 0) { \
130 TEST_BARRIER_WAIT_SUCCESS(pid2));
153 TEST_BARRIER_WAIT_SUCCESS(pid2));
180 TEST_BARRIER_WAIT_SUCCESS(pid2));
205 TEST_BARRIER_WAIT_SUCCESS(pid2));
226 TEST_BARRIER_WAIT_SUCCESS(pid2));
249 TEST_BARRIER_WAIT_SUCCESS(pid2));
[all...]
H A Dtest-namespace.c68 pid_t pid1, pid2, pid3; local
86 pid2 = fork();
87 assert_se(pid2 >= 0);
89 if (pid2 == 0) {
109 r = wait_for_terminate(pid2, &si);
H A Dtest-util.c1417 pid_t parent, pid, pid2; local
1426 pid2 = raw_getpid();
1428 pid, getpid(), pid2);
1430 assert_se(pid2 != parent);
1435 assert_se(pid2 == parent);
/systemd/src/basic/
H A Dmissing.h1069 static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) { argument
1071 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);

Completed in 33 milliseconds