Home
last modified time | relevance | path

Searched refs:pid (Results 51 – 75 of 2176) sorted by relevance

12345678910>>...88

/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Duihelper.py25 def removetid(pid, tid): argument
28 if self.pidmap[pid] == tid:
29 del self.pidmap[pid]
37 …{ 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time(), 'pid' : event.pid }
39 self.pidmap[event.pid] = tid
43 removetid(event.pid, tid)
46 removetid(event.pid, tid)
50 removetid(event.pid, tid)
59 if event.pid > 0 and event.pid in self.pidmap:
60 self.running_tasks[self.pidmap[event.pid]]['progress'] = event.progress
[all …]
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c116 pid_t pid = fork(); in run_test() local
119 if (pid < 0) { in run_test()
124 if (pid == 0) in run_test()
127 wpid = waitpid(pid, &status, __WALL); in run_test()
128 if (wpid != pid) { in run_test()
143 if (!set_watchpoint(pid, wp_size, wp)) in run_test()
154 wpid = waitpid(pid, &status, __WALL); in run_test()
155 if (wpid != pid) { in run_test()
185 kill(pid, SIGKILL); in run_test()
186 wpid = waitpid(pid, &status, 0); in run_test()
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dprocess.c27 unsigned long os_process_pc(int pid) in os_process_pc() argument
59 int os_process_parent(int pid) in os_process_parent() argument
65 if (pid == -1) in os_process_parent()
93 void os_alarm_process(int pid) in os_alarm_process() argument
95 kill(pid, SIGALRM); in os_alarm_process()
98 void os_stop_process(int pid) in os_stop_process() argument
100 kill(pid, SIGSTOP); in os_stop_process()
105 kill(pid, SIGKILL); in os_kill_process()
117 kill(pid, SIGKILL); in os_kill_ptraced_process()
118 ptrace(PTRACE_KILL, pid); in os_kill_ptraced_process()
[all …]
/openbmc/phosphor-pid-control/
H A Dmeson.build2 'phosphor-pid-control', 'cpp',
84 'pid',
114 'pid/ec/pid.cpp',
115 'pid/ec/logging.cpp',
116 'pid/ec/stepwise.cpp',
121 'pid/builder.cpp',
122 'pid/buildjson.cpp',
123 'pid/zone.cpp',
124 'pid/util.cpp',
125 'pid/pidloop.cpp',
[all …]
/openbmc/linux/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c24 pid_t pid; in TEST() local
31 pid = fork(); in TEST()
32 ASSERT_GE(pid, 0); in TEST()
34 if (pid == 0) in TEST()
37 EXPECT_EQ(0, wait_for_pid(pid)); in TEST()
39 pid = fork(); in TEST()
40 ASSERT_LT(pid, 0); in TEST()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dvas-trace.h24 __field(int, pid)
34 __entry->pid = tsk->pid;
43 __entry->pid, __entry->vasid, __entry->cop,
59 __field(int, pid)
68 __entry->pid = tsk->pid;
76 __entry->pid, __entry->vasid, __entry->cop,
90 __field(int, pid)
97 __entry->pid = tsk->pid;
104 __entry->pid, __entry->vasid, __entry->winid,
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c177 int pid, err; in update_task_data() local
179 err = bpf_core_read(&pid, sizeof(pid), &task->pid); in update_task_data()
277 __u32 pid; in contention_begin() local
283 pid = bpf_get_current_pid_tgid(); in contention_begin()
336 __u32 pid; in contention_end() local
345 pid = bpf_get_current_pid_tgid(); in contention_end()
352 bpf_map_delete_elem(&tstamp, &pid); in contention_end()
363 key.pid = pelem->flags; in contention_end()
365 key.pid = pid; in contention_end()
405 bpf_map_delete_elem(&tstamp, &pid); in contention_end()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dhists_link.c18 u32 pid; member
30 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_PERF_MAIN, },
34 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_BASH_XMALLOC, },
36 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_LIBC_MALLOC, },
44 { .pid = FAKE_PID_PERF1, .ip = FAKE_IP_LIBC_MALLOC, },
50 { .pid = FAKE_PID_BASH, .ip = FAKE_IP_LIBC_FREE, },
54 { .pid = FAKE_PID_PERF2, .ip = FAKE_IP_LIBC_FREE, },
85 sample.pid = fake_common_samples[k].pid; in add_hist_entries()
86 sample.tid = fake_common_samples[k].pid; in add_hist_entries()
106 sample.pid = fake_samples[i][k].pid; in add_hist_entries()
[all …]
/openbmc/qemu/target/nios2/
H A Dtrace-events2 …translate_miss(uint32_t vaddr, uint32_t pid, uint32_t index, uint32_t tag) "mmu_translate: MISS va…
3 …te_hit(uint32_t vaddr, uint32_t pid, uint32_t index, uint32_t paddr, uint32_t prot) "mmu_translate…
5 nios2_mmu_flush_pid_miss(uint32_t pid, uint32_t index, uint32_t vaddr) "mmu_flush: MISS pid=%u TLB[…
6 nios2_mmu_flush_pid_hit(uint32_t pid, uint32_t index, uint32_t vaddr) "mmu_flush: HIT pid=%u TLB[%u…
9 …har w, char t, char b, char p, char d, uint32_t pid) "mmu_write_tlbmisc: way=0x%x flags=%c%c%c%c%c…
/openbmc/linux/fs/
H A Dfcntl.c95 filp->f_owner.pid = get_pid(pid); in f_modown()
118 struct pid *pid = NULL; in f_setown() local
158 pid = pid_vnr(filp->f_owner.pid); in f_getown()
160 pid = -pid; in f_getown()
171 struct pid *pid; in f_setown_ex() local
197 pid = find_vpid(owner.pid); in f_setown_ex()
198 if (owner.pid && !pid) in f_setown_ex()
776 struct pid *pid; in send_sigio() local
781 pid = fown->pid; in send_sigio()
813 struct pid *pid; in send_sigurg() local
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmrelease_test.c92 pid_t pid; in main() local
114 pid = fork(); in main()
115 if (pid < 0) { in main()
122 if (pid == 0) { in main()
138 if (!kill(pid, SIGKILL)) in main()
139 waitpid(pid, NULL, 0); in main()
146 if (!kill(pid, SIGKILL)) in main()
147 waitpid(pid, NULL, 0); in main()
154 if (kill(pid, SIGKILL)) { in main()
174 waitpid(pid, NULL, 0); in main()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/sysklogd/files/
H A Dsysklogd20 pidfile_syslogd=/var/run/syslogd.pid
68 pid=`cat $pidfile_syslogd`
72 if [ -z "$pid" ]
77 if [ ! -d /proc/$pid ]
82 cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1`
96 pid=$1
98 if [ -z "$pid" ]; then
105 kill -0 $pid 2> /dev/null || break
129 pid=`cat $pidfile_syslogd 2> /dev/null`
131 waitpid $pid
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-tid0.c26 static pid_t pid = -1; variable
30 if (pid > 0) { in atexit_hook()
31 kill(pid, SIGKILL); in atexit_hook()
47 pid = fork(); in main()
48 if (pid == 0) { in main()
55 } else if (pid > 0) { in main()
60 snprintf(buf, sizeof(buf), "/proc/%u/task", pid); in main()
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dtlb.c159 unsigned int pid; in local_flush_tlb_mm() local
162 pid = mm->context.id; in local_flush_tlb_mm()
164 _tlbil_pid(pid); in local_flush_tlb_mm()
172 unsigned int pid; in __local_flush_tlb_page() local
206 unsigned int pid; member
244 unsigned int pid; in flush_tlb_mm() local
247 pid = mm->context.id; in flush_tlb_mm()
251 struct tlb_flush_param p = { .pid = pid }; in flush_tlb_mm()
256 _tlbil_pid(pid); in flush_tlb_mm()
266 unsigned int pid; in __flush_tlb_page() local
[all …]
/openbmc/linux/tools/testing/selftests/clone3/
H A Dclone3_clear_sighand.c27 static int wait_for_pid(pid_t pid) in wait_for_pid() argument
32 ret = waitpid(pid, &status, 0); in wait_for_pid()
49 pid_t pid; in test_clone3_clear_sighand() local
59 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand()
60 if (pid > 0) in test_clone3_clear_sighand()
88 pid = sys_clone3(&args, sizeof(args)); in test_clone3_clear_sighand()
89 if (pid < 0) in test_clone3_clear_sighand()
93 if (pid == 0) { in test_clone3_clear_sighand()
111 ret = wait_for_pid(pid); in test_clone3_clear_sighand()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/openvpn/openvpn/
H A Dopenvpn18 start-stop-daemon --start --quiet --pidfile /var/run/openvpn.$NAME.pid \
20 --daemon --writepid /var/run/openvpn.$NAME.pid \
58 for PIDFILE in `ls /var/run/openvpn.*.pid 2> /dev/null`; do
60 NAME=${NAME%%.pid}
65 if test -e /var/run/openvpn.$2.pid ; then
66 PIDFILE=`ls /var/run/openvpn.$2.pid 2> /dev/null`
68 NAME=${NAME%%.pid}
80 for PIDFILE in `ls /var/run/openvpn.*.pid 2> /dev/null`; do
82 NAME=${NAME%%.pid}
/openbmc/linux/scripts/
H A Dgenerate_initcall_order.pl158 my $pid = 0;
167 $pid = waitpid(-1, WNOHANG);
168 if ($pid > 0) {
169 if (!exists($jobs->{$pid})) {
173 my $fh = $jobs->{$pid};
181 delete($jobs->{$pid});
183 } while ($pid > 0);
195 my $pid = open(my $fh, '-|');
197 if (!defined($pid)) {
199 } elsif ($pid) {
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/psmisc/psmisc/
H A D0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch35 - regs.gpr[0] = ptrace(PTRACE_PEEKUSER, pid, __WORDSIZE/8 * PT_R0, 0);
36 - regs.gpr[3] = ptrace(PTRACE_PEEKUSER, pid, __WORDSIZE/8 * PT_R3, 0);
37 - regs.gpr[4] = ptrace(PTRACE_PEEKUSER, pid, __WORDSIZE/8 * PT_R4, 0);
38 - regs.gpr[5] = ptrace(PTRACE_PEEKUSER, pid, __WORDSIZE/8 * PT_R5, 0);
39 - regs.orig_gpr3 = ptrace(PTRACE_PEEKUSER, pid, __WORDSIZE/8 * PT_ORIG_R3, 0);
40 + regs.gpr[0] = ptrace(PTRACE_PEEKUSER, pid, UINTPTR_MAX/8 * PT_R0, 0);
41 + regs.gpr[3] = ptrace(PTRACE_PEEKUSER, pid, UINTPTR_MAX/8 * PT_R3, 0);
42 + regs.gpr[4] = ptrace(PTRACE_PEEKUSER, pid, UINTPTR_MAX/8 * PT_R4, 0);
43 + regs.gpr[5] = ptrace(PTRACE_PEEKUSER, pid, UINTPTR_MAX/8 * PT_R5, 0);
44 + regs.orig_gpr3 = ptrace(PTRACE_PEEKUSER, pid, UINTPTR_MAX/8 * PT_ORIG_R3, 0);
[all …]
/openbmc/linux/include/net/
H A Dscm.h20 u32 pid; member
33 struct pid *pid; /* Skb credentials */ member
58 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred() argument
60 scm->pid = get_pid(pid); in scm_set_cred()
61 scm->creds.pid = pid_vnr(pid); in scm_set_cred()
68 put_pid(scm->pid); in scm_destroy_cred()
69 scm->pid = NULL; in scm_destroy_cred()
142 if (!scm->pid) in scm_pidfd_recv()
145 pidfd = pidfd_prepare(scm->pid, 0, &pidfd_file); in scm_pidfd_recv()
175 .pid = scm->creds.pid, in __scm_recv_common()
/openbmc/linux/include/linux/i3c/
H A Ddevice.h82 #define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33) argument
83 #define I3C_PID_RND_LOWER_32BITS(pid) (!!((pid) & BIT_ULL(32))) argument
84 #define I3C_PID_RND_VAL(pid) ((pid) & GENMASK_ULL(31, 0)) argument
85 #define I3C_PID_PART_ID(pid) (((pid) & GENMASK_ULL(31, 16)) >> 16) argument
86 #define I3C_PID_INSTANCE_ID(pid) (((pid) & GENMASK_ULL(15, 12)) >> 12) argument
87 #define I3C_PID_EXTRA_INFO(pid) ((pid) & GENMASK_ULL(11, 0)) argument
122 u64 pid; member
/openbmc/linux/tools/perf/scripts/perl/
H A Drwtop.pl136 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=>
138 my $comm = $reads{$pid}{comm} || "";
139 my $total_reads = $reads{$pid}{total_reads} || 0;
140 my $bytes_requested = $reads{$pid}{bytes_requested} || 0;
141 my $bytes_read = $reads{$pid}{bytes_read} || 0;
143 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm,
160 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=>
162 my $comm = $writes{$pid}{comm} || "";
163 my $total_writes = $writes{$pid}{total_writes} || 0;
164 my $bytes_written = $writes{$pid}{bytes_written} || 0;
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c118 pid_t pid; in hashchk_exec_random_key_test() local
128 pid = fork(); in hashchk_exec_random_key_test()
129 if (pid == 0) { in hashchk_exec_random_key_test()
137 await_child_success(pid); in hashchk_exec_random_key_test()
157 pid_t pid; in hashchk_fork_share_key_test() local
166 pid = fork(); in hashchk_fork_share_key_test()
167 if (pid == 0) { in hashchk_fork_share_key_test()
173 await_child_success(pid); in hashchk_fork_share_key_test()
192 pid_t pid; in hashchk_clone_share_key_test() local
204 pid = clone(hashchk_clone_child_fn, child_stack + STACK_SIZE, in hashchk_clone_share_key_test()
[all …]
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c145 pid_t pid; in timerlat_u_dispatcher() local
158 pid = fork(); in timerlat_u_dispatcher()
161 if (!pid) { in timerlat_u_dispatcher()
176 if (pid == -1) { in timerlat_u_dispatcher()
183 procs[i] = pid; in timerlat_u_dispatcher()
188 pid = waitpid(-1, &wstatus, WNOHANG); in timerlat_u_dispatcher()
189 if (pid != 0) { in timerlat_u_dispatcher()
191 if (procs[i] == pid) { in timerlat_u_dispatcher()
207 pid = waitpid(-1, &wstatus, 0); in timerlat_u_dispatcher()
208 if (pid == -1) { in timerlat_u_dispatcher()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Disp_global.h95 #define bmem_ldrow(fu, pid, offset, data) bmem_ldrow_s(fu, pid, offset, data) argument
96 #define bmem_strow(fu, pid, offset, data) bmem_strow_s(fu, pid, offset, data) argument
97 #define bmem_ldblk(fu, pid, offset, data) bmem_ldblk_s(fu, pid, offset, data) argument
98 #define bmem_stblk(fu, pid, offset, data) bmem_stblk_s(fu, pid, offset, data) argument
/openbmc/linux/include/trace/events/
H A Dtask.h16 __field( pid_t, pid)
23 __entry->pid = task->pid;
30 __entry->pid, __entry->comm,
41 __field( pid_t, pid)
48 __entry->pid = task->pid;
55 __entry->pid, __entry->oldcomm,

12345678910>>...88