/openbmc/linux/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 81 pid_t pid; in test_fw_in_ns() local 84 pid = waitpid(child, &status, 0); in test_fw_in_ns() 85 if (pid == -1) { in test_fw_in_ns() 89 if (pid != child) { in test_fw_in_ns() 91 child, pid); in test_fw_in_ns()
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | clocksource-switch.c | 128 pid_t pid; in main() local 173 pid = fork(); in main() 174 if (!pid) in main() 177 while (pid != waitpid(pid, &status, WNOHANG)) in main()
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp-term.sh | 68 if pid="$(cat /run/gbmc-br-dhcp.pid 2>/dev/null)" && [ -n "$pid" ]; then 70 echo "DHCP still running ($pid), waiting" >&2 71 while [[ -e /proc/$pid ]]; do
|
/openbmc/linux/tools/lib/perf/include/perf/ |
H A D | event.h | 15 __u32 pid, tid; member 24 __u32 pid, tid; member 49 __u32 pid, tid; member 55 __u32 pid, tid; member 62 __u32 pid, ppid; member 85 __u32 pid, tid; member 294 pid_t pid; member 350 __u32 pid; member 369 __u32 pid; member 379 __u64 pid; member
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | self.c | 27 pid_t pid; in main() local 30 pid = sys_getpid(); in main() 31 snprintf(buf1, sizeof(buf1), "%u", pid); in main()
|
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod-events.h | 16 __field(pid_t, pid) 22 __entry->pid = task->pid; 28 __entry->pid, __entry->comm, __entry->off, __entry->len)
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | kup-booke.h | 41 mtspr(SPRN_PID, current->thread.pid); in kuap_user_restore() 49 mtspr(SPRN_PID, current->thread.pid); in __kuap_kernel_restore() 79 uaccess_begin_booke(current->thread.pid); in allow_user_access() 99 uaccess_begin_booke(current->thread.pid); in restore_user_access()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_pm81.c | 187 struct wf_pid_state pid; member 253 struct wf_cpu_pid_state pid; member 314 wf_pid_init(&wf_smu_sys_fans->pid, &pid_param); in wf_smu_create_sys_fans() 352 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_sys_fans_tick() 355 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick() 366 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick() 367 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick() 454 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans() 508 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick() 519 new_setpoint = max(new_setpoint, st->pid.param.min); in wf_smu_cpu_fans_tick() [all …]
|
/openbmc/linux/drivers/char/agp/ |
H A D | compat_ioctl.c | 75 kreserve.pid = ureserve.pid; in compat_agpioc_reserve_wrap() 78 client = agp_find_client_by_pid(kreserve.pid); in compat_agpioc_reserve_wrap() 82 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap() 92 return agp_remove_client(kreserve.pid); in compat_agpioc_reserve_wrap() 133 client = agp_create_client(kreserve.pid); in compat_agpioc_reserve_wrap() 139 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap() 235 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in compat_agp_ioctl()
|
/openbmc/openbmc/poky/meta/recipes-core/seatd/seatd/ |
H A D | init | 12 pid=`/bin/pidof $1` 13 [ "$pid" != "" ] && kill $pid
|
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_msg.c | 242 ctx->pid = pid; in bcm_vk_get_ctx() 295 pid_t pid; in bcm_vk_free_ctx() local 304 pid = ctx->pid; in bcm_vk_free_ctx() 318 if (entry->pid == pid) in bcm_vk_free_ctx() 746 if (vk->reset_pid != pid) in bcm_vk_handle_last_sess() 996 ctx->idx, ctx->pid); in bcm_vk_open() 1158 ctx->pid); in bcm_vk_write() 1199 pid_t org_pid, pid; in bcm_vk_write() local 1215 if (org_pid != pid) in bcm_vk_write() 1217 org_pid, org_pid, pid, pid); in bcm_vk_write() [all …]
|
/openbmc/linux/kernel/debug/kdb/ |
H A D | kdb_bt.c | 86 kdb_printf("Stack traceback for pid %d\n", p->pid); in kdb_bt1() 162 unsigned long pid; in kdb_bt() local 165 diag = kdbgetularg((char *)argv[1], &pid); in kdb_bt() 168 p = find_task_by_pid_ns(pid, &init_pid_ns); in kdb_bt() 171 kdb_printf("No process with pid == %ld found\n", pid); in kdb_bt()
|
/openbmc/linux/net/bpfilter/ |
H A D | bpfilter_kern.c | 19 struct pid *tgid = info->tgid; in shutdown_umh() 68 .pid = current->pid, in bpfilter_process_sockopt() 82 struct mbox_request req = { .pid = current->pid }; in start_umh()
|
/openbmc/openbmc/poky/meta/recipes-graphics/wayland/weston-init/ |
H A D | init | 16 pid=`/bin/pidof $1` 17 [ "$pid" != "" ] && kill $pid
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 78 int pid; member 128 session->pid = -1; in daemon__add_session() 400 pid_t pid; in handle_signalfd() local 418 pid = waitpid(session->pid, &status, WNOHANG); in handle_signalfd() 419 if (pid <= 0) in handle_signalfd() 712 session->pid, in cmd_session_list() 1145 int fd, pid; in check_lock() local 1182 int pid, fd; in go_background() local 1184 pid = fork(); in go_background() 1185 if (pid < 0) in go_background() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | syscall-counts-by-pid.py | 70 for pid in pid_keys: 71 print("\n%s [%d]" % (comm, pid)) 72 id_keys = syscalls[comm][pid].keys() 73 for id, val in sorted(syscalls[comm][pid].items(),
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/ |
H A D | 0001-Use-1-instead-of-WAIT_ANY.patch | 24 - while (((pid = waitpid(WAIT_ANY, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) { 25 + while (((pid = waitpid(-1, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
|
/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | conftest.py | 72 vid, pid = m.groups() 74 pid = int(pid, 16) 75 params.append([module.name.replace(".ko", ""), vid, pid])
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | memfd_secret.c | 141 static void check_child_status(pid_t pid, const char *name) in check_child_status() argument 145 waitpid(pid, &status, 0); in check_child_status() 165 pid_t pid; in test_remote_access() local 173 pid = fork(); in test_remote_access() 174 if (pid < 0) { in test_remote_access() 179 if (pid == 0) { in test_remote_access() 198 check_child_status(pid, name); in test_remote_access()
|
/openbmc/linux/tools/perf/tests/ |
H A D | hists_common.c | 17 u32 pid; member 26 u32 pid; member 98 thread = machine__findnew_thread(machine, fake_threads[i].pid, in setup_fake_machine() 99 fake_threads[i].pid); in setup_fake_machine() 113 .pid = fake_mmap_info[i].pid, in setup_fake_machine() 114 .tid = fake_mmap_info[i].pid, in setup_fake_machine()
|
/openbmc/linux/tools/perf/util/ |
H A D | synthetic-events.c | 56 .pid = -1, in perf_tool__process_synth_event() 84 if (pid) in perf_event__get_comm_ids() 273 if (tgid == pid) { in perf_event__synthesize_fork() 441 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events() 481 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events() 711 event->mmap2.pid = machine->pid; in perf_event__synthesize_modules() 725 event->mmap.pid = machine->pid; in perf_event__synthesize_modules() 929 pid_t pid; in __perf_event__synthesize_threads() local 1148 event->mmap2.pid = machine->pid; in __perf_event__synthesize_kernel_mmap() 1161 event->mmap.pid = machine->pid; in __perf_event__synthesize_kernel_mmap() [all …]
|
/openbmc/linux/kernel/ |
H A D | umh.c | 129 pid_t pid; in call_usermodehelper_exec_sync() local 133 pid = user_mode_thread(call_usermodehelper_exec_async, sub_info, SIGCHLD); in call_usermodehelper_exec_sync() 134 if (pid < 0) in call_usermodehelper_exec_sync() 135 sub_info->retval = pid; in call_usermodehelper_exec_sync() 137 kernel_wait(pid, &sub_info->retval); in call_usermodehelper_exec_sync() 166 pid_t pid; in call_usermodehelper_exec_work() local 172 pid = user_mode_thread(call_usermodehelper_exec_async, sub_info, in call_usermodehelper_exec_work() 174 if (pid < 0) { in call_usermodehelper_exec_work() 175 sub_info->retval = pid; in call_usermodehelper_exec_work()
|
/openbmc/linux/Documentation/admin-guide/kdump/ |
H A D | gdbmacros.txt | 24 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm 38 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm 105 set var $pid = $arg0 115 if ($next_t.pid == $pid) 122 if ($next_th.pid == $pid) 133 backtrace of pid 138 set var $pid = $arg0 148 if ($next_t.pid == $pid) 155 if ($next_th.pid == $pid) 168 Run info threads and lookup pid of thread #1 [all …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-i3c.c | 65 u64 pid; member 89 u64 pid; member 122 put_unaligned_be48(mi->pid, ihdr->source); in mctp_i3c_read() 158 put_unaligned_be48(mi->pid, cb->haddr); in mctp_i3c_read() 215 mi->pid = info.pid; in mctp_i3c_setup() 347 if (mi->pid == pid) { in mctp_i3c_lookup() 366 u64 pid; in mctp_i3c_xmit() local 373 pid = get_unaligned_be48(ihdr->dest); in mctp_i3c_xmit() 374 mi = mctp_i3c_lookup(mbus, pid); in mctp_i3c_xmit() 558 *ret_pid = master->info.pid; in mctp_i3c_bus_local_pid() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_send_signal_kern.c | 7 __u32 sig = 0, pid = 0, status = 0, signal_thread = 0; variable 13 if (status != 0 || pid == 0) in bpf_send_signal_test() 16 if ((bpf_get_current_pid_tgid() >> 32) == pid) { in bpf_send_signal_test()
|