/openbmc/linux/tools/perf/scripts/python/ |
H A D | task-analyzer.py | 306 self.pid = pid 413 pid = task.pid 539 self.pid = None 565 def update_pid(self, pid): argument 566 self.pid = pid 569 def _task_id(pid, cpu): argument 571 return "{}-{}".format(pid, cpu) 659 if task.pid == task.tid: 738 pid = int(perf_sample_dict["sample"]["pid"]) 740 task.update_pid(pid) [all …]
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | enter_mpreboot.cpp | 158 pid_t pid = fork(); in enterMpReboot() local 160 if (pid < 0) in enterMpReboot() 165 else if (pid == 0) in enterMpReboot() 172 pidList.push_back(std::move(pid)); in enterMpReboot()
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | fw_update_watch.cpp | 144 pid_t pid = fork(); in exportDevtree() local 145 if (pid == 0) in exportDevtree() 161 else if (pid > 0) in exportDevtree() 163 waitpid(pid, &status, 0); in exportDevtree()
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.c | 107 pid_t pid; in eat_cpu() local 117 pid = fork(); in eat_cpu() 118 if (pid == 0) in eat_cpu() 130 kill(pid, SIGKILL); in eat_cpu()
|
/openbmc/linux/tools/perf/tests/ |
H A D | attr.c | 68 static int store_event(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, in store_event() argument 97 __WRITE_ASS(pid, "d", pid); in store_event() 147 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, in test_attr__open() argument 152 if ((fd != -1) && store_event(attr, pid, cpu, fd, group_fd, flags)) { in test_attr__open()
|
H A D | hists_output.c | 19 u32 pid; member 29 { .cpu = 0, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, }, 31 { .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, }, 33 { .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_CMD_RECORD, }, 35 { .cpu = 1, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, }, 37 { .cpu = 2, .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_FREE, }, 39 { .cpu = 2, .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, }, 43 { .cpu = 3, .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_MAIN, }, 45 { .cpu = 0, .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_XMALLOC, }, 68 sample.pid = fake_samples[i].pid; in add_hist_entries() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_txrx.c | 146 int hdrlen, len, pid, qsel = MT_QSEL_EDCA; in mt76x02_tx_prepare_skb() local 155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02_tx_prepare_skb() 158 if (pid == MT_PACKET_ID_NO_SKB) in mt76x02_tx_prepare_skb() 159 pid = MT_PACKET_ID_HAS_RATE | in mt76x02_tx_prepare_skb() 164 txwi->pktid = pid; in mt76x02_tx_prepare_skb() 166 if (mt76_is_skb_pktid(pid) && ampdu) in mt76x02_tx_prepare_skb()
|
H A D | mt76x02_usb_core.c | 70 int pid, len = tx_info->skb->len, ep = q2ep(dev->mphy.q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb() local 83 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb() 86 if (pid == MT_PACKET_ID_NO_SKB) in mt76x02u_tx_prepare_skb() 87 pid = MT_PACKET_ID_HAS_RATE | in mt76x02u_tx_prepare_skb() 92 txwi->pktid = pid; in mt76x02u_tx_prepare_skb() 94 if ((mt76_is_skb_pktid(pid) && ampdu) || ep == MT_EP_OUT_HCCA) in mt76x02u_tx_prepare_skb() 113 idr_remove(&wcid->pktid, pid); in mt76x02u_tx_prepare_skb()
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 27 pid_t pid, ret; in timing() local 29 pid = getpid(); in timing() 33 assert(pid == ret); in timing() 53 pid_t pid, ret; in calibrate() local 59 pid = getpid(); in calibrate() 64 assert(pid == ret); in calibrate()
|
/openbmc/qemu/scripts/ |
H A D | simpletrace.py | 106 event_id, timestamp_ns, pid, args_payload = read_record(fobj) 131 yield (event_mapping[event_name], event_name, timestamp_ns, pid) + tuple(args) 193 def _process_event(self, rec_args, *, event, event_id, timestamp_ns, pid, **kwargs): argument 204 rec = (event_id, timestamp_ns, pid, *rec_args) 264 def catchall(self, *rec_args, event, timestamp_ns, pid, event_id, **kwargs): argument 319 pid=record_pid, 343 def catchall(self, *rec_args, event, timestamp_ns, pid, event_id): argument
|
/openbmc/linux/include/linux/ |
H A D | proc_fs.h | 80 extern void proc_flush_pid(struct pid *); 146 extern struct pid *tgid_pidfd_to_pid(const struct file *file); 158 struct pid *pid, struct task_struct *task); 170 static inline void proc_flush_pid(struct pid *pid) in proc_flush_pid() argument 219 static inline struct pid *tgid_pidfd_to_pid(const struct file *file) in tgid_pidfd_to_pid()
|
H A D | agpgart.h | 64 pid_t pid; /* pid of process */ member 92 pid_t pid; member 100 pid_t pid; member
|
/openbmc/qemu/include/hw/ |
H A D | usb.h | 208 uint8_t pid; member 392 int pid; member 418 void usb_packet_setup(USBPacket *p, int pid, 445 struct USBEndpoint *usb_ep_get(USBDevice *dev, int pid, int ep); 446 uint8_t usb_ep_get_type(USBDevice *dev, int pid, int ep); 447 void usb_ep_set_type(USBDevice *dev, int pid, int ep, uint8_t type); 448 void usb_ep_set_ifnum(USBDevice *dev, int pid, int ep, uint8_t ifnum); 449 void usb_ep_set_max_packet_size(USBDevice *dev, int pid, int ep, 451 void usb_ep_set_max_streams(USBDevice *dev, int pid, int ep, uint8_t raw); 452 void usb_ep_set_halted(USBDevice *dev, int pid, int ep, bool halted); [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | mmu-radix64.c | 66 uint64_t *lpid, uint64_t *pid) in ppc_radix64_get_fully_qualified_addr() argument 77 *pid = env->spr[SPR_BOOKS_PID]; in ppc_radix64_get_fully_qualified_addr() 81 *pid = env->spr[SPR_BOOKS_PID]; in ppc_radix64_get_fully_qualified_addr() 85 *pid = 0; in ppc_radix64_get_fully_qualified_addr() 89 *pid = 0; in ppc_radix64_get_fully_qualified_addr() 98 *pid = env->spr[SPR_BOOKS_PID]; in ppc_radix64_get_fully_qualified_addr() 105 *pid = 0; /* pid set to 0 -> addresses guest operating system */ in ppc_radix64_get_fully_qualified_addr() 513 vaddr eaddr, uint64_t pid, in ppc_radix64_process_scoped_xlate() argument 529 eaddr, mmu_idx, pid); in ppc_radix64_process_scoped_xlate() 542 offset = pid * sizeof(struct prtb_entry); in ppc_radix64_process_scoped_xlate() [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | pidcontroller.cpp | 45 output = ec::pid(info, input, setpt, &name); in calPIDOutput() 74 output = ec::pid(info, input, setpt, &name); in calPIDOutput() 101 output = ec::pid(info, lastInput, setpt, &name); in calPIDOutput()
|
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.c | 82 void await_child_success(pid_t pid) in await_child_success() argument 86 FAIL_IF_EXIT_MSG(pid == -1, "fork failed"); in await_child_success() 87 FAIL_IF_EXIT_MSG(waitpid(pid, &wstatus, 0) == -1, "wait failed"); in await_child_success()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etb10.c | 90 pid_t pid; member 175 pid_t pid; in etb_enable_perf() local 190 pid = buf->pid; in etb_enable_perf() 192 if (drvdata->pid != -1 && drvdata->pid != pid) { in etb_enable_perf() 201 if (drvdata->pid == pid) { in etb_enable_perf() 218 drvdata->pid = pid; in etb_enable_perf() 368 drvdata->pid = -1; in etb_disable() 389 buf->pid = task_pid_nr(event->owner); in etb_alloc_buffer() 764 drvdata->pid = -1; in etb_probe()
|
/openbmc/linux/include/trace/events/ |
H A D | rcu.h | 314 TP_PROTO(const char *rcuname, int pid, unsigned long gp_seq), 316 TP_ARGS(rcuname, pid, gp_seq), 321 __field(int, pid) 327 __entry->pid = pid; 331 __entry->rcuname, __entry->gp_seq, __entry->pid) 341 TP_PROTO(const char *rcuname, unsigned long gp_seq, int pid), 343 TP_ARGS(rcuname, gp_seq, pid), 348 __field(int, pid) 354 __entry->pid = pid; 357 TP_printk("%s %ld %d", __entry->rcuname, __entry->gp_seq, __entry->pid)
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 434 struct wf_pid_state pid; member 451 struct wf_cpu_pid_state pid; member 562 wf_pid_init(&pm121_sys_state[loop_id]->pid, &pid_param); in pm121_create_sys_fans() 614 new_setpoint = wf_pid_run(&st->pid, temp); in pm121_sys_fans_tick() 619 st->pid.param.min); in pm121_sys_fans_tick() 700 wf_cpu_pid_init(&pm121_cpu_state->pid, &pid_param); in pm121_create_cpu_fans() 753 if (temp > st->pid.param.tmax) in pm121_cpu_fans_tick() 756 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in pm121_cpu_fans_tick() 761 st->pid.param.min); in pm121_cpu_fans_tick() 809 for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) in pm121_tick() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_ldst.c | 131 pid_t pid; in test_one() local 134 pid = fork(); in test_one() 135 if (pid == 0) in test_one() 138 assert(waitpid(pid, &rc, 0) != -1); in test_one()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | sys_marvel.c | 43 unsigned int pid; in io7_device_interrupt() local 60 pid = vector >> 16; in io7_device_interrupt() 65 irq |= pid << MARVEL_IRQ_VEC_PE_SHIFT; /* merge the pid */ in io7_device_interrupt() 74 unsigned int pid; in io7_get_irq_ctl() local 77 pid = irq >> MARVEL_IRQ_VEC_PE_SHIFT; in io7_get_irq_ctl() 79 if (!(io7 = marvel_find_io7(pid))) { in io7_get_irq_ctl() 82 __func__, irq, pid); in io7_get_irq_ctl() 92 __func__, pid, irq); in io7_get_irq_ctl()
|
/openbmc/phosphor-pid-control/tools/ |
H A D | fan_rpm_loop_test.sh | 47 SystemCtl start phosphor-pid-control.service 59 SystemCtl stop phosphor-pid-control.service 79 SystemCtl stop phosphor-pid-control.service
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | task_ls_recursion.c | 35 if (!test_pid || task->pid != test_pid) in BPF_PROG() 53 if (!test_pid || task->pid != test_pid) in BPF_PROG() 94 if (!test_pid || task->pid != test_pid) in BPF_PROG()
|
H A D | bench_local_storage_create.c | 66 __u32 pid; in BPF_PROG() local 68 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 69 if (pid != bench_pid || !sk) in BPF_PROG()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.h | 64 __func__, __LINE__, current->pid, ##__VA_ARGS__) 68 __func__, __LINE__, current->pid, ##__VA_ARGS__) 72 __func__, __LINE__, current->pid, ##__VA_ARGS__)
|