/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-wacom | 1 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed 6 The /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/speed file 12 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/led 23 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status0_luminance 33 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status1_luminance 42 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led0_select 52 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/status_led1_select 61 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/buttons_luminance 68 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg 87 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_remote/unpair_remote [all …]
|
H A D | sysfs-bus-i3c | 12 Expose the master that owns the bus (<bus-id>-<master-pid>) at 66 What: /sys/bus/i3c/devices/i3c-<bus-id>/pid 91 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid> 99 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dynamic_address 103 Dynamic address assigned to device <bus-id>-<device-pid>. This 106 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/bcr 114 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dcr 122 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/pid 132 What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/hdrcap 143 What: /sys/bus/i3c/devices/<bus-id>-<device-pid> [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/event/ |
H A D | event-no-pid.tc | 25 pid=$@ 26 cat trace | grep -v '^#' | sed -e 's/[^-]*-\([0-9]*\).*/\1/' | grep $pid | wc -l 30 pid=$1 31 cat trace | grep -v '^#' | sed -e 's/[^-]*-\([0-9]*\).*/\1/' | grep -v $pid | wc -l
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-fpu.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 79 pid_t pid = getpid(); in tm_signal_context_chk_fpu() local 100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu() 101 FAIL_IF(rc != pid); in tm_signal_context_chk_fpu()
|
H A D | tm-signal-context-chk-gpr.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 81 pid_t pid = getpid(); in tm_signal_context_chk_gpr() local 102 rc = tm_signal_self_context_load(pid, gprs, NULL, NULL, NULL); in tm_signal_context_chk_gpr() 103 FAIL_IF(rc != pid); in tm_signal_context_chk_gpr()
|
/openbmc/linux/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 22 int rc, pid, status; in launch_test() local 24 pid = fork(); in launch_test() 25 if (pid < 0) { in launch_test() 26 ksft_test_result_fail("fork failed %d", pid); in launch_test() 30 if (!pid) { in launch_test()
|
/openbmc/linux/tools/perf/util/ |
H A D | perf_api_probe.c | 20 static pid_t pid = -1; in perf_do_probe_api() local 32 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, flags); in perf_do_probe_api() 34 if (pid == -1 && errno == EACCES) { in perf_do_probe_api() 35 pid = 0; in perf_do_probe_api() 46 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, flags); in perf_do_probe_api()
|
H A D | machine.c | 98 machine->pid) < 0) in machine__set_mmap_name() 129 machine->pid = pid; in machine__init() 146 pid); in machine__init() 305 if (pid < pos->pid) in machines__add() 347 if (pid < machine->pid) in machines__find() 349 else if (pid > machine->pid) in machines__find() 353 if (!machine->pid) in machines__find() 366 if (machine && (machine->pid == pid)) in machines__findnew() 430 pid_t pid) in findnew_guest_code() argument 522 if (pid == thread__pid(th) || pid == -1 || thread__pid(th) != -1) in machine__update_thread_pid() [all …]
|
/openbmc/linux/tools/testing/selftests/clone3/ |
H A D | clone3.c | 44 pid_t pid = -1; in call_clone3() local 81 pid = sys_clone3((struct __clone_args *)&args_ext, size); in call_clone3() 82 if (pid < 0) { in call_clone3() 88 if (pid == 0) { in call_clone3() 94 getpid(), pid); in call_clone3()
|
/openbmc/linux/samples/bpf/ |
H A D | test_overhead_user.c | 110 pid_t pid[tasks]; in run_perf_test() local 114 pid[i] = fork(); in run_perf_test() 115 if (pid[i] == 0) { in run_perf_test() 118 } else if (pid[i] == -1) { in run_perf_test() 126 assert(waitpid(pid[i], &status, 0) == pid[i]); in run_perf_test()
|
H A D | tracex6_user.c | 77 pid_t pid[nr_cpus]; in test_perf_event_array() local 83 pid[i] = fork(); in test_perf_event_array() 84 assert(pid[i] >= 0); in test_perf_event_array() 85 if (pid[i] == 0) { in test_perf_event_array() 92 assert(waitpid(pid[i], &status, 0) == pid[i]); in test_perf_event_array()
|
H A D | test_overhead_kprobe.bpf.c | 21 u32 pid; in prog() local 25 pid = BPF_CORE_READ(tsk, pid); in prog()
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stackprotector.h | 24 pid_t pid; in __stack_chk_fail() local 26 pid = my_syscall0(__NR_getpid); in __stack_chk_fail() 27 my_syscall2(__NR_kill, pid, SIGABRT); in __stack_chk_fail()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm112.c | 132 struct wf_cpu_pid_param pid; in create_cpu_loop() local 167 pid.interval = 1; /* seconds */ in create_cpu_loop() 168 pid.history_len = piddata->history_len; in create_cpu_loop() 169 pid.gd = piddata->gd; in create_cpu_loop() 170 pid.gp = piddata->gp; in create_cpu_loop() 174 pid.tmax = tmax; in create_cpu_loop() 175 pid.min = main_fan->ops->get_min(main_fan); in create_cpu_loop() 176 pid.max = main_fan->ops->get_max(main_fan); in create_cpu_loop() 177 if (pid.min < fmin) in create_cpu_loop() 178 pid.min = fmin; in create_cpu_loop() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-timechart.c | 95 int pid; member 195 int pid; member 207 if (cursor->pid == pid) in find_create_pid() 213 cursor->pid = pid; in find_create_pid() 236 p = find_create_pid(tchart, pid); in pid_set_comm() 258 p = find_create_pid(tchart, pid); in pid_fork() 994 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids() 1058 if (p->pid == we->waker || p->pid == we->wakee) { in draw_wakeups() 1127 p->pid, in draw_cpu_usage() 1321 filt->pid = pid; in add_process_filter() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | download_manager.cpp | 74 pid_t pid = fork(); in downloadViaTFTP() local 76 if (pid == 0) in downloadViaTFTP() 101 else if (pid < 0) in downloadViaTFTP() 109 if (waitpid(pid, &status, 0) < 0) in downloadViaTFTP()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_subprogs.c | 73 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog1() 85 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog2() 103 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog3() 119 if (!BPF_CORE_READ(t, pid) || !get_task_tgid((uintptr_t)t)) in prog4()
|
H A D | task_kfunc_failure.c | 199 s32 pid; in BPF_PROG() local 201 status = bpf_probe_read_kernel(&pid, sizeof(pid), &task->pid); in BPF_PROG() 206 status = bpf_map_update_elem(&__tasks_kfunc_map, &pid, &local, BPF_NOEXIST); in BPF_PROG() 210 v = bpf_map_lookup_elem(&__tasks_kfunc_map, &pid); in BPF_PROG() 242 acquired = bpf_task_from_pid(task->pid); in BPF_PROG()
|
H A D | test_global_map_resize.c | 10 const volatile pid_t pid; variable 37 if (pid != (bpf_get_current_pid_tgid() >> 32)) in bss_array_sum() 52 if (pid != (bpf_get_current_pid_tgid() >> 32)) in data_array_sum()
|
H A D | test_lookup_key.c | 29 __u32 pid; in BPF_PROG() local 31 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 32 if (pid != monitored_pid) in BPF_PROG()
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | samples.py | 128 def __init__(self, writer, pid, cmd, ppid, start_time): argument 130 self.pid = pid 150 def split(self, writer, pid, cmd, ppid, start_time): argument 151 split = Process (writer, pid, cmd, ppid, start_time) 160 …return " ".join([str(self.pid), self.cmd, str(self.ppid), '[ ' + str(len(self.samples)) + ' sample… 186 if self.parent == None and self.pid // 1000 > 1 and \ 187 not (self.ppid == 2000 or self.pid == 2000): # kernel threads: ppid=2 189 % (self.pid,self.cmd,self.ppid))
|
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 59 unsigned int pid, unsigned long *config) in mvebu_mmio_mpp_ctrl_get() argument 70 unsigned int pid, unsigned long config) in mvebu_mmio_mpp_ctrl_set() argument 83 struct mvebu_pinctrl *pctl, unsigned pid) in mvebu_pinctrl_find_group_by_pid() argument 87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() 88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid() 618 ctrl->pins[k] = ctrl->pid + k; in mvebu_pinctrl_probe() 677 sprintf(noname_buf, "mpp%d", ctrl->pid+0); in mvebu_pinctrl_probe() 688 sprintf(noname_buf, "mpp%d", ctrl->pid+k); in mvebu_pinctrl_probe() 732 mode->pid); in mvebu_pinctrl_probe() 793 unsigned int pid, unsigned long *config) in mvebu_regmap_mpp_ctrl_get() argument [all …]
|
/openbmc/linux/kernel/ |
H A D | signal.c | 1555 struct pid *pid, const struct cred *cred) in kill_pid_usb_asyncio() argument 1609 if (pid > 0) in kill_something_info() 1619 pid ? find_vpid(-pid) : task_pgrp(current)); in kill_something_info() 1922 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp() argument 1934 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid() argument 2046 struct pid *pid; in do_notify_pidfd() local 3831 static bool access_pidfd_pidns(struct pid *pid) in access_pidfd_pidns() argument 3865 struct pid *pid; in pidfd_to_pid() local 3869 return pid; in pidfd_to_pid() 3897 struct pid *pid; in SYSCALL_DEFINE4() local [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/fans/ |
H A D | phosphor-pid-control_%.bbappend | 4 FILES:${PN}:append = " ${systemd_system_unitdir}/phosphor-pid-control.service.d/*.conf" 8 override_dir="${D}${systemd_system_unitdir}/phosphor-pid-control.service.d" 10 mkdir -p ${D}${systemd_system_unitdir}/phosphor-pid-control.service.d
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 99 return ptrace(PTRACE_GETREGSET, pid, NT_PRFPREG, &iov); in get_fpsimd() 108 return ptrace(PTRACE_SETREGSET, pid, NT_PRFPREG, &iov); in set_fpsimd() 133 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov)) in get_sve() 149 static int set_sve(pid_t pid, const struct vec_type *type, in set_sve() argument 618 pid_t pid; in do_parent() local 630 pid = wait(&status); in do_parent() 631 if (pid == -1) { in do_parent() 640 if (pid != child) in do_parent() 651 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &si)) { in do_parent() 666 si.si_pid == pid) in do_parent() [all …]
|