/third_party/eudev/src/shared/ |
H A D | log.h | 109 #define log_emergency(...) log_full(getpid() == 1 ? LOG_EMERG : LOG_ERR, __VA_ARGS__) 117 #define log_emergency_errno(error, ...) log_full_errno(getpid() == 1 ? LOG_EMERG : LOG_ERR, error, __VA_ARGS__)
|
/third_party/backends/sanei/ |
H A D | sanei_access.c | 121 if( pid == getpid()){ in get_lock_status() 205 sprintf( pid_buf, "% 11i sane\n", getpid()); in sanei_access_lock()
|
/third_party/gn/src/util/ |
H A D | exe_path.cc | 75 int mib[] = {CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_PATHNAME}; in GetExePath() 111 if (__getexepath(path, sizeof(path), getpid()) != 0) { in GetExePath()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-resume-sig.c | 107 kill (getpid (), SIGUSR2); /* pend SIGUSR2 */ in handler() 186 kill (getpid (), SIGUSR1); in main()
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt06.c | 71 key = (key_t) getpid(); in main() 151 chld_pid = getpid(); in child()
|
H A D | shmt04.c | 72 key = (key_t) getpid(); in main() 152 chld_pid = getpid(); in child()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone08.c | 126 tst_res(TFAIL, "ctid != getpid() (%d != %d)", ctid, getpid()); in child_clone_child_settid() 136 tst_res(TFAIL, "ptid != getpid() (%d != %d)", ptid, getpid()); in child_clone_parent_settid()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | common.h | 68 tst_res(TINFO, "child %i reading file", getpid()); in io_read() 108 tst_res(TINFO, "child %i reading file", getpid()); in io_read_eof()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork09.c | 81 mypid = getpid(); in main() 126 sprintf(childfile, "cfile.%d", getpid()); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl07.c | 104 if (status != getpid()) { in verify_semctl() 106 status, getpid()); in verify_semctl()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill03.c | 55 parent_tgid = getpid(); in setup() 64 sprintf(defunct_tid_path, "/proc/%d/task/%d", getpid(), defunct_tid); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise10.c | 82 "expected[%d] = 0x%02x", getpid(), in cmp_area() 88 tst_res(TPASS, "In PID %d, Matched expected pattern", getpid()); in cmp_area()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename14.c | 89 parent_pid = getpid(); in main() 133 if (parent_pid != getpid()) in term()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 2-2.c | 62 sched_setparam(getpid(), ¶m); in child_process() 115 if (sched_setscheduler(getpid(), SCHED_RR, ¶m) == -1) { in main()
|
H A D | 2-1.c | 62 sched_setparam(getpid(), ¶m); in child_process() 112 if (sched_setscheduler(getpid(), SCHED_FIFO, ¶m) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
H A D | 12-1.c | 87 ret = kill(getpid(), SIGUSR1); in main() 93 ret = kill(getpid(), SIGUSR2); in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | ipc_shm.c | 60 EQ(shmid_ds.shm_cpid, getpid(), "got %d, want %d"); in set() 74 EQ(shmid_ds.shm_lpid, getpid(), "got %d, want %d"); in set()
|
/third_party/toybox/toys/other/ |
H A D | taskset.c | 103 do_taskset(getpid(), 1); in taskset_main() 124 if (!toys.optflags && -1!=sched_getaffinity(getpid(), 4096, toybuf)) { in nproc_main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 107 sprintf(pidstr, "%d", getpid()); in tracing_on() 407 dprintf2("[%d] SIGCHLD: %d\n", getpid(), x); in sig_chld() 449 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in fork_lazy_child() 1195 dprintf3("[%d] fork() ret: %d\n", getpid(), forkret); in become_child() 1393 dprintf1("[%d] child pid: %d\n", getpid(), child_pid); in test_ptrace_of_child() 1398 dprintf1("[%d] attach ret: %ld %d\n", getpid(), ret, __LINE__); in test_ptrace_of_child() 1564 dprintf3("[%d] fork() ret: %d\n", getpid(), child); in test_ptrace_modifies_pkru() 1590 dprintf3("[%d] waitpid(%d) status: %x\n", getpid(), child, status); in test_ptrace_modifies_pkru() 1622 dprintf3("[%d] waitpid(%d) status: %x\n", getpid(), child, status); in test_ptrace_modifies_pkru() 1649 dprintf3("[%d] waitpid(%d) status: %x\n", getpid(), chil in test_ptrace_modifies_pkru() [all...] |
/kernel/linux/linux-5.10/tools/perf/include/bpf/ |
H A D | unistd.h | 7 static pid_t getpid(void) in getpid() function
|
/foundation/communication/ipc/ipc/native/c/adapter/Linux/ |
H A D | rpc_os_adapter.c | 22 return (int32_t)getpid(); in RpcGetPid()
|
/third_party/toybox/toys/example/ |
H A D | hello.c | 36 if (getpid() == 1) wait(&TT.unused); in hello_main()
|
/foundation/graphic/graphic_surface/sandbox/ |
H A D | sandbox_utils.cpp | 30 return getpid(); in GetRealPid()
|
/third_party/ltp/lib/newlib_tests/ |
H A D | test13.c | 18 tst_res(TINFO, "Pausing process pid %i", getpid()); in do_test()
|
/third_party/musl/src/unistd/ |
H A D | getpid.c | 10 pid_t getpid(void) in getpid() function
|