/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | auxtrace.h | 230 * @pid: in per-thread mode, the pid this buffer is associated with 252 pid_t pid; member 607 int code, int cpu, pid_t pid, pid_t tid, u64 ip, 611 int code, int cpu, pid_t pid, pid_t tid, u64 ip,
|
H A D | evlist.h | 63 pid_t pid; member 145 int evlist__set_tp_filter_pid(struct evlist *evlist, pid_t pid); 150 int evlist__append_tp_filter_pid(struct evlist *evlist, pid_t pid);
|
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | evsel.c | 81 pid_t pid, struct perf_cpu cpu, int group_fd, in sys_perf_event_open() 84 return syscall(__NR_perf_event_open, attr, pid, cpu.cpu, group_fd, flags); in sys_perf_event_open() 162 threads->map[thread].pid, in perf_evsel__open() 80 sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, int group_fd, unsigned long flags) sys_perf_event_open() argument
|
/kernel/linux/linux-6.6/tools/testing/ktest/ |
H A D | config-bisect.pl | 164 my $pid; 170 $pid = open(CMD, "$command 2>&1 |") or 183 waitpid($pid, 0);
|
/kernel/linux/linux-6.6/security/ |
H A D | lsm_audit.c | 209 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data() 300 pid_t pid = task_tgid_nr(tsk); in dump_common_audit_data() local 301 if (pid) { in dump_common_audit_data() 303 audit_log_format(ab, " opid=%d ocomm=", pid); in dump_common_audit_data()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf.c | 23 int pid; member 152 skel->bss->pid = getpid(); in ringbuf_subtest() 331 skel_map_key->bss->pid = getpid(); in ringbuf_map_key_subtest()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_lockup.c | 194 pr_notice("lock mmap_lock pid=%d\n", main_task->pid); in test_lock() 283 pr_notice("unlock mmap_lock pid=%d\n", main_task->pid); in test_unlock() 556 pr_notice("START pid=%d time=%u +%u ns cooldown=%u +%u ns iterations=%u state=%s %s%s%s%s%s%s%s%s%s%s%s\n", in test_lockup_init() 557 main_task->pid, time_secs, time_nsecs, in test_lockup_init()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf.h | 402 __u32 pid; member 421 #define bpf_link_create_opts__last_field uprobe_multi.pid 589 LIBBPF_API int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf,
|
/test/xts/acts/security_lite/permission_posix/pms/src/ |
H A D | ActsPMSLoadTest.cpp | 410 int pid = fork();
in HWTEST_F() local 412 if (pid != 0) {
in HWTEST_F() 418 waitpid(pid, &status, 0);
in HWTEST_F() 446 * @tc.name Permission to load exception pid
|
/third_party/libunwind/libunwind/doc/ |
H A D | libunwind-ptrace.tex | 18 \Type{void~*}\Func{\_UPT\_create}(\Type{pid\_t});\\ 72 \Const{PTRACE\_ATTACH}). Either way, once the process-ID (pid) of the 74 by calling \Func{\_UPT\_create}(), passing the pid of the target process
|
/third_party/libbpf/src/ |
H A D | bpf.h | 402 __u32 pid; member 426 #define bpf_link_create_opts__last_field uprobe_multi.pid 594 LIBBPF_API int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf,
|
/third_party/ltp/lib/ |
H A D | tst_rtnetlink.c | 20 pid_t pid; member 74 ctx->pid = 0; in tst_rtnl_create_context() 272 ctx->curmsg->nlmsg_pid = ctx->pid; in tst_rtnl_add_message()
|
/third_party/node/src/ |
H A D | node_options.h | 22 HostPort(const std::string& host_name, int port, int pid = -1) in HostPort() 23 : host_name_(host_name), port_(port), pid_(pid) {} in HostPort() 41 int pid() const { in pid() function in node::HostPort
|
/third_party/node/test/common/ |
H A D | inspector-helper.js | 365 get pid() { 366 return this._process.pid; 379 process._debugProcess(instance._process.pid);
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl17.c | 195 tst_resm(TINFO, "child 1 pid %d locked", getpid()); in do_child1() 227 tst_resm(TINFO, "child 2 pid %d locked", getpid()); in do_child2() 265 tst_resm(TINFO, "child 3 pid %d locked", getpid()); in do_child3() 285 int do_test(struct flock *lock, pid_t pid) in do_test() argument 325 if (fl.l_pid != pid) { in do_test() 326 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in do_test() 327 pid, fl.l_pid); in do_test()
|
H A D | fcntl21.c | 174 pid_t pid) in compare_lock() 201 if (fl->l_pid != pid) { in compare_lock() 202 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock() 203 pid, fl->l_pid); in compare_lock() 173 compare_lock(struct flock *fl, short type, short whence, int start, int len, pid_t pid) compare_lock() argument
|
H A D | fcntl20.c | 166 pid_t pid) in compare_lock() 193 if (fl->l_pid != pid) { in compare_lock() 194 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock() 195 pid, fl->l_pid); in compare_lock() 165 compare_lock(struct flock *fl, short type, short whence, int start, int len, pid_t pid) compare_lock() argument
|
H A D | fcntl19.c | 167 pid_t pid) in compare_lock() 194 if (fl->l_pid != pid) { in compare_lock() 195 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock() 196 pid, fl->l_pid); in compare_lock() 166 compare_lock(struct flock *fl, short type, short whence, int start, int len, pid_t pid) compare_lock() argument
|
H A D | fcntl11.c | 153 pid_t pid) in compare_lock() 172 if (fl->l_pid != pid) in compare_lock() 173 tst_resm(TFAIL, "locking pid is wrong, should be %d is %d", in compare_lock() 174 pid, fl->l_pid); in compare_lock() 152 compare_lock(struct flock *fl, short type, short whence, int start, int len, pid_t pid) compare_lock() argument
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
H A D | sched_driver.c | 304 int pid, /* pid of currently running process */ in start_testcase() local 305 pid_save; /* saved pid of process */ in start_testcase() 308 * Fork a process that will run testcase and save the pid in start_testcase() 314 pid_save = pid = fork(); in start_testcase() 317 * If the pid returned is -1, fork failed. If the pid returned is in start_testcase() 319 * to do an 'execl' to run the testcase. If the pid returned is in start_testcase() 322 switch (pid) { in start_testcase() 333 printf("testcase %s started -- pid i in start_testcase() [all...] |
/third_party/musl/libc-test/src/functionalext/ldso_randomization/ |
H A D | ldso_randomization_test.c | 338 pid_t pid = fork(); in dlopen_ext_randomization_0900() local 339 if (pid == 0) { in dlopen_ext_randomization_0900() 358 waitpid(pid, &status, 0); in dlopen_ext_randomization_0900()
|
/third_party/toybox/lib/ |
H A D | portability.c | 25 pid_t pid = fork(); in xfork() local 27 if (pid < 0) perror_exit("fork"); in xfork() 29 return pid; in xfork()
|
/third_party/python/Lib/test/ |
H A D | test_platform.py | 365 pid = os.fork() 366 if pid == 0: 373 support.wait_process(pid, exitcode=0)
|
/third_party/spirv-tools/source/opt/ |
H A D | inst_buff_addr_check_pass.cpp | 168 uint32_t pid = TakeNextId(); in AddParam() local 169 param_vec->push_back(pid); in AddParam() 171 get_module()->context(), spv::Op::OpFunctionParameter, type_id, pid, {})); in AddParam()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | r8a66597-udc.c | 103 u16 pid = 0; in control_reg_get_pid() local 107 pid = r8a66597_read(r8a66597, DCPCTR) & PID; in control_reg_get_pid() 110 pid = r8a66597_read(r8a66597, offset) & PID; in control_reg_get_pid() 116 return pid; in control_reg_get_pid() 120 u16 pid) in control_reg_set_pid() 125 r8a66597_mdfy(r8a66597, pid, PID, DCPCTR); in control_reg_set_pid() 128 r8a66597_mdfy(r8a66597, pid, PID, offset); in control_reg_set_pid() 1164 u16 pid; variable 1177 pid = control_reg_get_pid(r8a66597, ep->pipenum); 1178 if (pid 119 control_reg_set_pid(struct r8a66597 *r8a66597, u16 pipenum, u16 pid) control_reg_set_pid() argument [all...] |