Home
last modified time | relevance | path

Searched refs:getpid (Results 251 - 275 of 1689) sorted by relevance

1...<<11121314151617181920>>...68

/third_party/eudev/src/shared/
H A Dlog.h109 #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 Dsanei_access.c121 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 Dexe_path.cc75 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 DGtest-resume-sig.c107 kill (getpid (), SIGUSR2); /* pend SIGUSR2 */ in handler()
186 kill (getpid (), SIGUSR1); in main()
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt06.c71 key = (key_t) getpid(); in main()
151 chld_pid = getpid(); in child()
H A Dshmt04.c72 key = (key_t) getpid(); in main()
152 chld_pid = getpid(); in child()
/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone08.c126 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 Dcommon.h68 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 Dfork09.c81 mypid = getpid(); in main()
126 sprintf(childfile, "cfile.%d", getpid()); in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl07.c104 if (status != getpid()) { in verify_semctl()
106 status, getpid()); in verify_semctl()
/third_party/ltp/testcases/kernel/syscalls/tgkill/
H A Dtgkill03.c55 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 Dmadvise10.c82 "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 Drename14.c89 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 D2-2.c62 sched_setparam(getpid(), &param); in child_process()
115 if (sched_setscheduler(getpid(), SCHED_RR, &param) == -1) { in main()
H A D2-1.c62 sched_setparam(getpid(), &param); in child_process()
112 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D12-1.c87 ret = kill(getpid(), SIGUSR1); in main()
93 ret = kill(getpid(), SIGUSR2); in main()
/third_party/musl/libc-test/src/functional/
H A Dipc_shm.c60 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 Dtaskset.c103 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 Dprotection_keys.c107 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 Dunistd.h7 static pid_t getpid(void) in getpid() function
/foundation/communication/ipc/ipc/native/c/adapter/Linux/
H A Drpc_os_adapter.c22 return (int32_t)getpid(); in RpcGetPid()
/third_party/toybox/toys/example/
H A Dhello.c36 if (getpid() == 1) wait(&TT.unused); in hello_main()
/foundation/graphic/graphic_surface/sandbox/
H A Dsandbox_utils.cpp30 return getpid(); in GetRealPid()
/third_party/ltp/lib/newlib_tests/
H A Dtest13.c18 tst_res(TINFO, "Pausing process pid %i", getpid()); in do_test()
/third_party/musl/src/unistd/
H A Dgetpid.c10 pid_t getpid(void) in getpid() function

Completed in 10 milliseconds

1...<<11121314151617181920>>...68