Home
last modified time | relevance | path

Searched refs:pid (Results 926 - 950 of 4853) sorted by relevance

1...<<31323334353637383940>>...195

/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A De500.c132 /* Map guest pid to shadow.
154 /* Update shadow pid when mappings are changed */ in kvmppc_e500_id_table_reset_all()
161 int as, int pid, int pr) in kvmppc_e500_id_table_reset_one()
166 BUG_ON(pid >= NUM_TIDS); in kvmppc_e500_id_table_reset_one()
169 idt->id[as][pid][pr].val = 0; in kvmppc_e500_id_table_reset_one()
170 idt->id[as][pid][pr].pentry = NULL; in kvmppc_e500_id_table_reset_one()
172 /* Update shadow pid when mappings are changed */ in kvmppc_e500_id_table_reset_one()
206 /* Update shadow pid when mappings are changed */ in kvmppc_e500_get_sid()
221 void kvmppc_set_pid(struct kvm_vcpu *vcpu, u32 pid) in kvmppc_set_pid() argument
225 if (vcpu->arch.pid ! in kvmppc_set_pid()
159 kvmppc_e500_id_table_reset_one( struct kvmppc_vcpu_e500 *vcpu_e500, int as, int pid, int pr) kvmppc_e500_id_table_reset_one() argument
237 int pid; kvmppc_e500_tlbil_one() local
[all...]
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dwindfarm_pm81.c186 struct wf_pid_state pid; member
252 struct wf_cpu_pid_state pid; member
313 wf_pid_init(&wf_smu_sys_fans->pid, &pid_param); in wf_smu_create_sys_fans()
351 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_sys_fans_tick()
354 new_setpoint = wf_pid_run(&st->pid, temp); in wf_smu_sys_fans_tick()
362 cputarget = wf_smu_cpu_fans ? wf_smu_cpu_fans->pid.target : 0; in wf_smu_sys_fans_tick()
365 scaled = max(scaled, st->pid.param.min); in wf_smu_sys_fans_tick()
366 scaled = min(scaled, st->pid.param.max); in wf_smu_sys_fans_tick()
453 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
507 if (temp > st->pid in wf_smu_cpu_fans_tick()
[all...]
H A Dwindfarm_pm112.c130 struct wf_cpu_pid_param pid; in create_cpu_loop() local
165 pid.interval = 1; /* seconds */ in create_cpu_loop()
166 pid.history_len = piddata->history_len; in create_cpu_loop()
167 pid.gd = piddata->gd; in create_cpu_loop()
168 pid.gp = piddata->gp; in create_cpu_loop()
169 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
170 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop()
171 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
172 pid.tmax = tmax; in create_cpu_loop()
173 pid in create_cpu_loop()
[all...]
H A Dwindfarm_pm91.c103 struct wf_cpu_pid_state pid; member
118 struct wf_pid_state pid; member
131 struct wf_pid_state pid; member
199 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
253 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
256 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick()
315 wf_pid_init(&wf_smu_drive_fans->pid, &param); in wf_smu_create_drive_fans()
337 st->ticks = st->pid.param.interval; in wf_smu_drive_fans_tick()
350 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_drive_fans_tick()
353 new_setpoint = wf_pid_run(&st->pid, tem in wf_smu_drive_fans_tick()
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dhists_cumulate.c18 u32 pid; member
28 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, },
30 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, },
32 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_CMD_RECORD, },
34 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
36 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_FREE, },
38 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
40 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
42 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_MAIN, },
44 { .pid
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dwindfarm_pm112.c132 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()
171 pid.gr = piddata->gr / piddata->history_len; in create_cpu_loop()
172 pid.pmaxadj = (piddata->max_power << 16) - (piddata->power_adj << 8); in create_cpu_loop()
173 pid.ttarget = tmax - (piddata->target_temp_delta << 16); in create_cpu_loop()
174 pid.tmax = tmax; in create_cpu_loop()
175 pid in create_cpu_loop()
[all...]
H A Dwindfarm_pm81.c187 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()
363 cputarget = wf_smu_cpu_fans ? wf_smu_cpu_fans->pid.target : 0; 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 in wf_smu_cpu_fans_tick()
[all...]
H A Dwindfarm_pm91.c104 struct wf_cpu_pid_state pid; member
119 struct wf_pid_state pid; member
132 struct wf_pid_state pid; member
200 wf_cpu_pid_init(&wf_smu_cpu_fans->pid, &pid_param); in wf_smu_create_cpu_fans()
254 if (temp > st->pid.param.tmax) in wf_smu_cpu_fans_tick()
257 new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); in wf_smu_cpu_fans_tick()
316 wf_pid_init(&wf_smu_drive_fans->pid, &param); in wf_smu_create_drive_fans()
338 st->ticks = st->pid.param.interval; in wf_smu_drive_fans_tick()
351 if (temp > (st->pid.param.itarget + 0x50000)) in wf_smu_drive_fans_tick()
354 new_setpoint = wf_pid_run(&st->pid, tem in wf_smu_drive_fans_tick()
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dhists_cumulate.c18 u32 pid; member
28 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_KERNEL_SCHEDULE, },
30 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_MAIN, },
32 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_PERF_CMD_RECORD, },
34 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
36 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_FREE, },
38 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
40 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_KERNEL_PAGE_FAULT, },
42 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_MAIN, },
44 { .pid
[all...]
/third_party/ltp/lib/
H A Dtst_safe_macros.c42 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid) in safe_setpgid() argument
46 rval = setpgid(pid, pgid); in safe_setpgid()
50 "setpgid(%i, %i) failed", pid, pgid); in safe_setpgid()
53 "Invalid setpgid(%i, %i) return value %d", pid, pgid, in safe_setpgid()
60 pid_t safe_getpgid(const char *file, const int lineno, pid_t pid) in safe_getpgid() argument
64 pgid = getpgid(pid); in safe_getpgid()
68 pid); in safe_getpgid()
71 "Invalid getpgid(%i) return value %d", pid, pgid); in safe_getpgid()
130 int safe_pidfd_open(const char *file, const int lineno, pid_t pid, in safe_pidfd_open() argument
135 rval = pidfd_open(pid, flag in safe_pidfd_open()
479 tst_safe_ptrace(const char *file, const int lineno, int req, pid_t pid, void *addr, void *data) tst_safe_ptrace() argument
[all...]
/third_party/ntfs-3g/libfuse-lite/
H A Dmount.c179 int pid = fork(); in mount_version() local
180 if (!pid) { in mount_version()
184 } else if (pid != -1) in mount_version()
185 waitpid(pid, NULL, 0); in mount_version()
367 int pid; in fuse_kern_unmount() local
401 pid = fork(); in fuse_kern_unmount()
402 if(pid == -1) in fuse_kern_unmount()
405 if(pid == 0) { in fuse_kern_unmount()
412 waitpid(pid, NULL, 0); in fuse_kern_unmount()
421 int fds[2], pid; in fuse_mount_fusermount() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dvas-fault.c69 struct pid *pid; in update_csb() local
95 pid = window->pid; in update_csb()
96 tsk = get_pid_task(pid, PIDTYPE_PID); in update_csb()
105 * invalid, send SEGV signal to pid saved in window. If the in update_csb()
109 * pid and mm references are taken when window is opened by in update_csb()
110 * process (pid). So tgid is used only when child thread opens in update_csb()
114 pid = window->tgid; in update_csb()
115 tsk = get_pid_task(pid, PIDTYPE_PI in update_csb()
[all...]
/kernel/linux/linux-5.10/arch/um/include/shared/
H A Dos.h195 extern unsigned long os_process_pc(int pid);
196 extern int os_process_parent(int pid);
197 extern void os_alarm_process(int pid);
198 extern void os_stop_process(int pid);
199 extern void os_kill_process(int pid, int reap_child);
200 extern void os_kill_ptraced_process(int pid, int reap_child);
223 extern int helper_wait(int pid);
285 extern int is_skas_winch(int pid, int fd, void *data);
287 extern int copy_context_skas0(unsigned long stack, int pid);
318 extern int os_arch_prctl(int pid, in
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/uevent/
H A Duevent_filtering.c54 int wait_for_pid(pid_t pid) in wait_for_pid() argument
59 ret = waitpid(pid, &status, 0); in wait_for_pid()
67 if (ret != pid) in wait_for_pid()
245 pid_t pid; in do_test() local
259 pid = fork(); in do_test()
260 if (pid < 0) { in do_test()
265 if (pid == 0) { in do_test()
326 ret = kill(pid, SIGTERM); /* success */ in do_test()
328 ret = kill(pid, SIGUSR1); /* error */ in do_test()
333 ret = wait_for_pid(pid); in do_test()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c193 pid_t pid; in test_unpriv_remount() local
195 pid = waitpid(child, &status, 0); in test_unpriv_remount()
196 if (pid == -1) { in test_unpriv_remount()
200 if (pid != child) { in test_unpriv_remount()
202 child, pid); in test_unpriv_remount()
271 pid_t pid; in test_priv_mount_unpriv_remount() local
273 pid = waitpid(child, &status, 0); in test_priv_mount_unpriv_remount()
274 if (pid == -1) { in test_priv_mount_unpriv_remount()
278 if (pid != child) { in test_priv_mount_unpriv_remount()
280 child, pid); in test_priv_mount_unpriv_remount()
[all...]
/kernel/linux/linux-6.6/arch/um/include/shared/
H A Dos.h195 extern unsigned long os_process_pc(int pid);
196 extern int os_process_parent(int pid);
197 extern void os_alarm_process(int pid);
198 extern void os_stop_process(int pid);
199 extern void os_kill_process(int pid, int reap_child);
200 extern void os_kill_ptraced_process(int pid, int reap_child);
222 extern int helper_wait(int pid);
286 extern int is_skas_winch(int pid, int fd, void *data);
288 extern int copy_context_skas0(unsigned long stack, int pid);
327 extern int os_arch_prctl(int pid, in
[all...]
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
H A Devent.h15 __u32 pid, tid; member
24 __u32 pid, tid; member
39 __u32 pid, tid; member
45 __u32 pid, tid; member
52 __u32 pid, ppid; member
73 __u32 pid, tid; member
210 pid_t pid; member
261 __u32 pid; member
278 __u32 pid; member
283 __u64 pid; member
[all...]
/kernel/linux/linux-6.6/tools/lib/perf/include/perf/
H A Devent.h15 __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
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c193 pid_t pid; in test_unpriv_remount() local
195 pid = waitpid(child, &status, 0); in test_unpriv_remount()
196 if (pid == -1) { in test_unpriv_remount()
200 if (pid != child) { in test_unpriv_remount()
202 child, pid); in test_unpriv_remount()
271 pid_t pid; in test_priv_mount_unpriv_remount() local
273 pid = waitpid(child, &status, 0); in test_priv_mount_unpriv_remount()
274 if (pid == -1) { in test_priv_mount_unpriv_remount()
278 if (pid != child) { in test_priv_mount_unpriv_remount()
280 child, pid); in test_priv_mount_unpriv_remount()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/uevent/
H A Duevent_filtering.c54 int wait_for_pid(pid_t pid) in wait_for_pid() argument
59 ret = waitpid(pid, &status, 0); in wait_for_pid()
67 if (ret != pid) in wait_for_pid()
245 pid_t pid; in do_test() local
259 pid = fork(); in do_test()
260 if (pid < 0) { in do_test()
265 if (pid == 0) { in do_test()
326 ret = kill(pid, SIGTERM); /* success */ in do_test()
328 ret = kill(pid, SIGUSR1); /* error */ in do_test()
333 ret = wait_for_pid(pid); in do_test()
[all...]
/third_party/libuv/test/
H A Drunner-unix.c94 pid_t pid; in process_start() local
139 pid = -1; in process_start()
141 pid = fork(); in process_start()
144 if (pid < 0) { in process_start()
149 if (pid == 0) { in process_start()
163 p->pid = pid; in process_start()
212 r = waitpid(p->pid, &p->status, 0); in dowait()
337 kill(p->pid, SIGTERM); in process_wait()
428 return kill(p->pid, SIGTER in process_terminate()
[all...]
/third_party/musl/libc-test/src/functionalext/ldso_cfi/
H A Dldso_cfi_check.c196 pid_t pid; in cfi_slowpath_function_test_0005() local
197 pid = fork(); in cfi_slowpath_function_test_0005()
198 if (pid > 0) { in cfi_slowpath_function_test_0005()
199 printf("["__FILE__"][Line: %d][%s]: parent process pid = %d\n", __LINE__, __func__, getppid()); in cfi_slowpath_function_test_0005()
201 } else if (pid == 0) { in cfi_slowpath_function_test_0005()
202 printf("["__FILE__"][Line: %d][%s]: child pid = %d\n", __LINE__, __func__, pid); in cfi_slowpath_function_test_0005()
290 pid_t pid; in cfi_slowpath_function_test_0008() local
291 pid = fork(); in cfi_slowpath_function_test_0008()
292 if (pid > in cfi_slowpath_function_test_0008()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/
H A Dmemfd_test.c296 pid_t pid; in mfd_assert_fork_private_write() local
311 pid = fork(); in mfd_assert_fork_private_write()
312 if (pid == 0) { in mfd_assert_fork_private_write()
316 waitpid(pid, NULL, 0); in mfd_assert_fork_private_write()
613 pid_t pid; in spawn_idle_thread() local
621 pid = clone(idle_thread_fn, in spawn_idle_thread()
625 if (pid < 0) { in spawn_idle_thread()
630 return pid; in spawn_idle_thread()
633 static void join_idle_thread(pid_t pid) in join_idle_thread() argument
635 kill(pid, SIGTER in join_idle_thread()
1008 pid_t pid; test_share_fork() local
1034 pid_t pid; main() local
[all...]
/third_party/toybox/toys/pending/
H A Dstrace.c33 pid_t pid;
166 static void xptrace(int req, pid_t pid, void *addr, void *data) in xptrace() argument
168 if (ptrace(req, pid, addr, data)) perror_exit("ptrace pid %d", pid); in xptrace()
173 xptrace(PTRACE_GETREGS, TT.pid, 0, TT.regs); in get_regs()
183 v = ptrace(PTRACE_PEEKDATA, TT.pid, addr + offset); in ptrace_struct()
290 long v = ptrace(PTRACE_PEEKDATA, TT.pid, addr + offset); in print_string()
550 ptrace(PTRACE_SYSCALL, TT.pid, 0, 0); in next()
551 waitpid(TT.pid, in next()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dmachine.c79 machine->pid) < 0) in machine__set_mmap_name()
85 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument
99 machine->pid = pid; in machine__init()
114 if (pid != HOST_KERNEL_ID) { in machine__init()
116 pid); in machine__init()
122 snprintf(comm, sizeof(comm), "[guest/%d]", pid); in machine__init()
266 struct machine *machines__add(struct machines *machines, pid_t pid, in machines__add() argument
277 if (machine__init(machine, root_dir, pid) != 0) { in machines__add()
285 if (pid < po in machines__add()
312 machines__find(struct machines *machines, pid_t pid) machines__find() argument
338 machines__findnew(struct machines *machines, pid_t pid) machines__findnew() argument
399 machine__update_thread_pid(struct machine *machine, struct thread *th, pid_t pid) machine__update_thread_pid() argument
452 __threads__get_last_match(struct threads *threads, struct machine *machine, int pid, int tid) __threads__get_last_match() argument
471 threads__get_last_match(struct threads *threads, struct machine *machine, int pid, int tid) threads__get_last_match() argument
499 ____machine__findnew_thread(struct machine *machine, struct threads *threads, pid_t pid, pid_t tid, bool create) ____machine__findnew_thread() argument
563 __machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) __machine__findnew_thread() argument
568 machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) machine__findnew_thread() argument
580 machine__find_thread(struct machine *machine, pid_t pid, pid_t tid) machine__find_thread() argument
1208 pid_t pid; machines__create_guest_kernel_maps() local
1266 machines__create_kernel_maps(struct machines *machines, pid_t pid) machines__create_kernel_maps() argument
2987 machine__set_current_tid(struct machine *machine, int cpu, pid_t pid, pid_t tid) machine__set_current_tid() argument
[all...]

Completed in 23 milliseconds

1...<<31323334353637383940>>...195