Home
last modified time | relevance | path

Searched refs:getpid (Results 151 - 175 of 1411) sorted by relevance

12345678910>>...57

/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink02.c185 sprintf(fname, "tfile_%d", getpid()); in setup()
196 sprintf(symlnk, "st_%d", getpid()); in setup()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
H A D15-2.c38 if (sched_getparam(getpid(), &param) != 0) { in main()
66 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
H A D22-2.c38 if (sched_getparam(getpid(), &param) != 0) { in main()
47 if (sched_setscheduler(getpid(), SCHED_FIFO, &param) == -1) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D9-1.c58 int pid = getpid(); in main()
65 pid = getpid(); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/
H A D26-1.c51 sprintf(qname, "/msgqueue%d_%d", i, getpid()); in main()
80 sprintf(qname, "/msgqueue%d_%d", i, getpid()); in main()
/third_party/musl/libc-test/src/functionalext/supplement/sched/
H A Dsched_rr_get_interval.c30 pid_t pid = getpid(); in sched_rr_get_interval_0100()
71 pid_t pid = getpid(); in sched_rr_get_interval_time64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A Dsigqueue.c66 result = sigqueue(getpid(), sig, sigval); in sigqueue_0100()
91 int result = sigqueue(getpid(), sig, sigval); in sigqueue_0200()
/third_party/musl/libc-test/src/functionalext/trace/
H A Dtrace_stresstest.c44 int pidChild = getpid(); in trace_marker_stresstest_0010()
80 pidCParent = getpid(); in trace_marker_stresstest_0010()
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
H A Dperf-time-to-tsc.c72 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__perf_time_to_tsc()
128 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc()
129 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Ddwarf-unwind.c38 pid_t pid = getpid(); in init_live_machine()
205 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Ddwarf-unwind.c51 pid_t pid = getpid(); in init_live_machine()
228 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
/third_party/NuttX/fs/driver/
H A Dfs_devsyslog.c127 pid_t me = getpid(); in syslog_takesem()
172 pid_t me = getpid(); in syslog_givesem()
411 if (OS_INT_ACTIVE || getpid() == 0) in syslog_putc()
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
H A Dht_affinity.c56 pid = getpid(); in HT_SetAffinity()
154 pid = getpid(); in HT_GetAffinity()
186 pid = getpid(); in HT_InheritAffinity()
/third_party/ltp/testcases/network/lib6/
H A Dasapi_02.c99 ic6.icmp6_data32[0] = htonl(getpid()); in ic6_send()
141 if (htonl(pic6->icmp6_data32[0]) == (uint32_t)getpid()) in ic6_recv()
147 if (htonl(pic6->icmp6_data32[0]) == (uint32_t)getpid()) in ic6_recv()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify06.c128 } else if (event->pid != getpid()) { in verify_event()
132 (unsigned int)getpid(), event->fd); in verify_event()
165 sprintf(fname, "%s/tfile_%d", tc->mnt, getpid()); in test_fanotify()
H A Dfanotify04.c197 sprintf(fname, "fname_%d", getpid()); in setup()
201 sprintf(sname, "symlink_%d", getpid()); in setup()
204 sprintf(dir, "dir_%d", getpid()); in setup()
/third_party/rust/crates/rustix/benches/
H A Dmod.rs132 use rustix::process::getpid;
134 c.bench_function("simple getpid", |b| {
136 let _ = getpid();
143 c.bench_function("simple getpid libc", |b| {
145 let _ = libc::getpid();
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c44 *monitored_pid = getpid(); in exec_cmd()
76 skel->bss->monitored_pid = getpid(); in test_test_lsm()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_autoattach.c30 skel->bss->test_pid = getpid(); in test_uprobe_autoattach()
35 skel->bss->test_pid = getpid(); in test_uprobe_autoattach()
H A Dtest_lsm.c43 *monitored_pid = getpid(); in exec_cmd()
75 skel->bss->monitored_pid = getpid(); in test_lsm()
/kernel/liteos_a/testsuites/unittest/container/full/
H A DIt_pid_container_004.cpp35 return getpid(); in ChildFun()
60 pid_t pid = getpid(); in ChildFunClone1()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_net_container_004.cpp63 auto oldReadLink = ReadlinkContainer(getpid(), CONTAINER_TYPE); in ChildFun()
85 auto newReadLink = ReadlinkContainer(getpid(), CONTAINER_TYPE); in ChildFun()
H A DIt_mnt_container_008.cpp39 (void)getpid(); in ChildFun()
58 parentPid = getpid(); in ItMntContainer008()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
H A Dprocess_test_008.cpp59 int currProcessPri = getpriority(PRIO_PROCESS, getpid()); in ProcessTest001()
62 ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()
H A Dprocess_test_006.cpp57 int currProcessPri = getpriority(PRIO_PROCESS, getpid()); in ProcessTest001()
60 ret = setpriority(PRIO_PROCESS, getpid(), currProcessPri - 2); // 2, Used to calculate priorities. in ProcessTest001()

Completed in 7 milliseconds

12345678910>>...57