Home
last modified time | relevance | path

Searched refs:pid (Results 151 – 175 of 2178) sorted by relevance

12345678910>>...88

/openbmc/linux/tools/testing/selftests/timens/
H A Dexec.c25 pid_t pid; in main() local
61 pid = fork(); in main()
62 if (pid < 0) in main()
65 if (pid == 0) { in main()
84 if (waitpid(pid, &status, 0) != pid) in main()
H A Dfutex.c66 pid_t pid; in main() local
89 pid = fork(); in main()
90 if (pid < 0) in main()
92 if (pid == 0) { in main()
103 if (waitpid(pid, &status, 0) != pid) in main()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs_rport.c252 rport->pid = 0; in bfa_fcs_rport_sm_plogi_sending()
313 rport->pid = 0; in bfa_fcs_rport_sm_plogiacc_sending()
384 rport->pid = 0; in bfa_fcs_rport_sm_plogi_retry()
439 rport->pid = 0; in bfa_fcs_rport_sm_plogi()
467 rport->pid = 0; in bfa_fcs_rport_sm_plogi()
1138 rport->pid = 0; in bfa_fcs_rport_sm_hcb_offline()
1514 rport->pid = 0; in bfa_fcs_rport_sm_nsdisc_retry()
1594 rport->pid = 0; in bfa_fcs_rport_sm_nsdisc_sent()
2281 rport_info.pid = rport->pid; in bfa_fcs_rport_hal_online()
2376 if (rport->pid != 0 && !BFA_FCS_PID_IS_WKA(rport->pid)) in bfa_fcs_rport_free()
[all …]
/openbmc/sdeventplus/test/source/
H A Dchild.cpp63 const pid_t pid = 50; in TEST_F() local
69 EXPECT_CALL(mock, sd_event_add_child(expected_event, testing::_, pid, in TEST_F()
92 Child child(*event, pid, options, std::move(callback)); in TEST_F()
112 const pid_t pid = 50; in TEST_F() local
115 EXPECT_CALL(mock, sd_event_add_child(expected_event, testing::_, pid, in TEST_F()
122 EXPECT_THROW(Child(*event, pid, options, std::move(callback)), in TEST_F()
137 const pid_t pid = 50; in SetUp() local
156 child = std::make_unique<Child>(*event, pid, options, in SetUp()
203 const pid_t pid = 32; in TEST_F() local
206 .WillOnce(DoAll(SetArgPointee<1>(pid), Return(0))); in TEST_F()
[all …]
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3317 ASSERT_EQ(pid, waitpid(pid, NULL, 0)); in TEST()
3394 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3462 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3523 EXPECT_EQ(waitpid(pid, NULL, 0), pid); in TEST()
3611 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3644 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3675 EXPECT_EQ(req.pid, pid); in TEST()
3683 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3761 EXPECT_EQ(waitpid(pid, &status, 0), pid); in TEST()
3798 EXPECT_EQ(req.pid, pid); in TEST()
[all …]
/openbmc/linux/tools/perf/tests/
H A Ddlfilter-test.c125 static int write_comm(int fd, pid_t pid, pid_t tid, const char *comm_str) in write_comm() argument
134 comm.pid = pid; in write_comm()
158 mmap->pid = pid; in write_mmap()
183 .pid = pid, in write_sample()
323 pid_t pid = 12345; in test__dlfilter_test() local
370 if (write_comm(td->fd, pid, tid, "test-prog")) in test__dlfilter_test()
373 if (write_mmap(td->fd, pid, tid, MAP_START, 0x10000, 0, td->prog_file_name)) in test__dlfilter_test()
376 if (write_sample(td, sample_type, id, pid, tid) != TEST_OK) in test__dlfilter_test()
409 int pid = getpid(); in test__dlfilter_ver() local
419 snprintf(td.c_file_name, PATH_MAX, "/tmp/dlfilter-test-%u-prog.c", pid); in test__dlfilter_ver()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c33 static int set_pathname(int fd, pid_t pid) in set_pathname() argument
37 snprintf(buf, MAX_PATH_LEN, "/proc/%d/fd/%d", pid, fd); in set_pathname()
41 static int trigger_fstat_events(pid_t pid) in trigger_fstat_events() argument
72 ret = set_pathname(pipefd[0], pid); in trigger_fstat_events()
75 ret = set_pathname(pipefd[1], pid); in trigger_fstat_events()
78 ret = set_pathname(sockfd, pid); in trigger_fstat_events()
81 ret = set_pathname(procfd, pid); in trigger_fstat_events()
84 ret = set_pathname(devfd, pid); in trigger_fstat_events()
87 ret = set_pathname(localfd, pid); in trigger_fstat_events()
90 ret = set_pathname(indicatorfd, pid); in trigger_fstat_events()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlru_bug.c17 int pid = 0; variable
25 if (pid == bpf_get_current_task_btf()->pid) in printk()
43 pid = current->pid; in nanosleep()
/openbmc/linux/arch/x86/um/
H A Dsyscalls_64.c21 int pid = task->mm->context.id.u.pid; in arch_prctl() local
39 ret = restore_pid_registers(pid, &current->thread.regs.regs); in arch_prctl()
56 ret = os_arch_prctl(pid, option, ptr); in arch_prctl()
63 ret = save_registers(pid, &current->thread.regs.regs); in arch_prctl()
66 ret = save_registers(pid, &current->thread.regs.regs); in arch_prctl()
H A Dptrace_user.c9 int ptrace_getregs(long pid, unsigned long *regs_out) in ptrace_getregs() argument
11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) in ptrace_getregs()
16 int ptrace_setregs(long pid, unsigned long *regs) in ptrace_setregs() argument
18 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0) in ptrace_setregs()
/openbmc/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c82 put_pid(task_ref->pid); in get_vas_user_win_ref()
84 current->pid); in get_vas_user_win_ref()
110 struct pid *pid; in ref_get_pid_and_task() local
112 pid = task_ref->pid; in ref_get_pid_and_task()
113 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task()
115 pid = task_ref->tgid; in ref_get_pid_and_task()
116 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task()
132 *pidp = pid; in ref_get_pid_and_task()
155 struct pid *pid; in vas_update_csb() local
222 csb_addr, pid_vnr(pid)); in vas_update_csb()
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dserv.py171 pid = os.fork()
172 if pid > 0:
175 return pid
185 pid = os.fork()
228 pid = str(os.getpid())
243 pid = None
245 if pid:
267 pid = None
269 if not pid:
304 def is_running(pid): argument
[all …]
/openbmc/linux/tools/perf/bench/
H A Dsched-seccomp-notify.c100 pid_t pid; in bench_sched_seccomp_notify() local
113 pid = fork(); in bench_sched_seccomp_notify()
114 if (pid < 0) in bench_sched_seccomp_notify()
116 if (pid == 0) { in bench_sched_seccomp_notify()
136 kill(pid, SIGKILL); in bench_sched_seccomp_notify()
137 if (waitpid(pid, &status, 0) != pid) in bench_sched_seccomp_notify()
138 err(EXIT_FAILURE, "waitpid(%d) failed", pid); in bench_sched_seccomp_notify()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.c121 pid_t pid; in ptrace_gpr() local
133 pid = fork(); in ptrace_gpr()
134 if (pid < 0) { in ptrace_gpr()
138 if (pid == 0) in ptrace_gpr()
141 if (pid) { in ptrace_gpr()
146 ret = trace_gpr(pid); in ptrace_gpr()
148 kill(pid, SIGTERM); in ptrace_gpr()
159 if (ret != pid) { in ptrace_gpr()
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dpage_owner.rst97 -p 按pid排序。
108 ./page_owner_sort <input> <output> --sort=n,+pid,-tgid
124 ./page_owner_sort <input> <output> --cull=st,pid,name
131 --pid <pidlist> 按pid选择。这将选择进程ID号出现在<pidlist>中的块。
142 ./page_owner_sort <input> <output> --pid=1
153 p pid 进程ID
165 p pid 进程ID
/openbmc/linux/tools/testing/selftests/powerpc/math/
H A Dfpu_syscall.c18 extern int test_fpu(double *darray, pid_t *pid);
51 pid_t pid = fork(); in test_syscall_fpu() local
54 FAIL_IF(pid == -1); in test_syscall_fpu()
73 if (pid) in test_syscall_fpu()
74 waitpid(pid, &child_ret, 0); in test_syscall_fpu()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw.h95 unsigned int pid, u8 *format, unsigned int len);
97 enum avc_general_plug_dir dir, unsigned int pid,
101 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format_single() argument
104 return avc_stream_get_format(unit, dir, pid, buf, len, 0xff); in avc_stream_get_format_single()
108 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format_list() argument
112 return avc_stream_get_format(unit, dir, pid, buf, len, eid); in avc_stream_get_format_list()
121 unsigned short pid);
/openbmc/linux/tools/bpf/bpftool/
H A Dpids.c43 if (refs->refs[i].pid == e->pid) in add_ref()
50 e->id, e->pid, e->comm); in add_ref()
55 ref->pid = e->pid; in add_ref()
66 e->id, e->pid, e->comm); in add_ref()
74 e->id, e->pid, e->comm); in add_ref()
78 ref->pid = e->pid; in add_ref()
219 jsonw_int_field(json_writer, "pid", ref->pid); in emit_obj_refs_json()
249 printf("%s%s(%d)", i == 0 ? "" : ", ", ref->comm, ref->pid); in emit_obj_refs_plain()
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/
H A Djournalpid9 desc="Journal pid:$pid log"
11 if [ $pid -eq $ZERO ]; then
16 file_name="journal-pid-$pid.log"
17 command="journalctl -o verbose _PID=$pid"
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_pci.c203 const struct pci_device_id *pid; in drm_legacy_pci_init() local
213 pid = &pdriver->id_table[i]; in drm_legacy_pci_init()
223 pci_get_subsys(pid->vendor, pid->device, pid->subvendor, in drm_legacy_pci_init()
224 pid->subdevice, pdev)) != NULL) { in drm_legacy_pci_init()
225 if ((pdev->class & pid->class_mask) != pid->class) in drm_legacy_pci_init()
230 drm_legacy_get_pci_dev(pdev, pid, driver); in drm_legacy_pci_init()
/openbmc/linux/tools/testing/selftests/memfd/
H A Dfuse_test.c203 pid_t pid; in spawn_sealing_thread() local
211 pid = clone(sealing_thread_fn, in spawn_sealing_thread()
215 if (pid < 0) { in spawn_sealing_thread()
220 return pid; in spawn_sealing_thread()
223 static void join_sealing_thread(pid_t pid) in join_sealing_thread() argument
225 waitpid(pid, NULL, 0); in join_sealing_thread()
234 pid_t pid; in main() local
280 pid = spawn_sealing_thread(); in main()
302 join_sealing_thread(pid); in main()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-priv.h98 pid_t pid; member
173 #define CS_AMBA_ID(pid) \ argument
175 .id = pid, \
180 #define CS_AMBA_ID_DATA(pid, dval) \ argument
182 .id = pid, \
191 #define __CS_AMBA_UCI_ID(pid, m, uci_ptr) \ argument
193 .id = pid, \
197 #define CS_AMBA_UCI_ID(pid, uci) __CS_AMBA_UCI_ID(pid, 0x000fffff, uci) argument
/openbmc/linux/arch/mips/mm/
H A Dtlb-r3k.c121 int pid = read_c0_entryhi(); in local_flush_tlb_kernel_range() local
140 write_c0_entryhi(pid); in local_flush_tlb_kernel_range()
183 int idx, pid; in __update_tlb() local
191 pid = read_c0_entryhi() & asid_mask; in __update_tlb()
194 if ((pid != (cpu_context(cpu, vma->vm_mm) & asid_mask)) || (cpu_context(cpu, vma->vm_mm) == 0)) { in __update_tlb()
196 (cpu_context(cpu, vma->vm_mm)), pid); in __update_tlb()
202 write_c0_entryhi(address | pid); in __update_tlb()
207 write_c0_entryhi(address | pid); in __update_tlb()
213 write_c0_entryhi(pid); in __update_tlb()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/
H A D0001-ext-opcache-config.m4-enable-opcache.patch44 - pid_t pid;
81 - pid = fork();
82 - if (pid < 0) {
84 - } else if (pid == 0) {
125 - pid_t pid;
136 - pid = fork();
137 - if (pid < 0) {
139 - } else if (pid == 0) {
189 - pid_t pid;
218 - pid = fork();
[all …]
/openbmc/linux/tools/perf/util/
H A Dmachine.h44 pid_t pid; member
115 struct thread *machine__find_thread(struct machine *machine, pid_t pid,
171 struct machine *machines__add(struct machines *machines, pid_t pid,
173 struct machine *machines__find(struct machines *machines, pid_t pid);
174 struct machine *machines__findnew(struct machines *machines, pid_t pid);
175 struct machine *machines__find_guest(struct machines *machines, pid_t pid);
184 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
211 return machine ? machine->pid == DEFAULT_GUEST_KERNEL_ID : false; in machine__is_default_guest()
216 return machine ? machine->pid == HOST_KERNEL_ID : false; in machine__is_host()
262 int machines__create_kernel_maps(struct machines *machines, pid_t pid);
[all …]

12345678910>>...88