Searched refs:copyin (Results 1 - 25 of 315) sorted by relevance

1234567891011>>

/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.copyin.d31 * This D ditty tests the ability to perform both copyin and copyinstr. We
35 * SECTION: Actions and Subroutines/copyin();
37 * User Process Tracing/copyin() and copyinstr()
43 envp = *(uint32_t *)copyin(curpsinfo->pr_envp, sizeof (uint32_t));
51 envp = *(uint64_t *)copyin(curpsinfo->pr_envp, sizeof (uint64_t));
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/funcs/
H A Dtst.badcopyin.d30 * between user-level and kernel-level. copyin()/copyinstr() and
33 * to perform an illegal copyin() from a kernel address. It asserts that
35 * the kernel address from which the copyin() was attempted.
37 * SECTION: Actions and Subroutines/copyin();
38 * Actions and Subroutines/copyin();
39 * User Process Tracing/copyin() and copyinstr()
44 dtrace_zero = copyin((uintptr_t)&`dtrace_zero, sizeof (int));
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/
H A Dtst.printtypetarg.ksh45 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
53 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
61 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t))));
H A Dtst.printtype.ksh44 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
52 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
60 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))));
H A Dtst.chasestrings.ksh45 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
55 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
65 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)));
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.copyin.d37 * SECTION: Actions and Subroutines/copyin();
51 trace(copyin(rand(), 1));
56 trace(copyin(rand() | 1, 1));
61 trace(copyin(NULL, 1));
H A Dtst.copyin2.d30 * Test that there is no value of 'size' which can be passed to copyin
54 tracemem(copyin(curthread->t_procp->p_user.u_envp, size), 10);
/freebsd-current/stand/userboot/userboot/
H A Dcopy.c35 CALLBACK(copyin, src, va, len);
64 CALLBACK(copyin, buf, va, s);
H A Delf64_freebsd.c146 CALLBACK(copyin, stack, 0x1000, sizeof(stack));
147 CALLBACK(copyin, PT4, 0x2000, sizeof(PT4));
148 CALLBACK(copyin, PT3, 0x3000, sizeof(PT3));
149 CALLBACK(copyin, PT2, 0x4000, sizeof(PT2));
158 CALLBACK(copyin, gdtr, 0x5000, sizeof(gdtr));
H A Delf32_freebsd.c97 CALLBACK(copyin, stack, GUEST_STACK, sizeof(stack));
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/
H A Dtst.typedef.d31 * Declares a dynamic type and then uses it to copyin the first three
35 * Actions and Subroutines/copyin();
40 * This test program declares a dynamic type and then uses it to copyin the
42 * then use the dynamic type to access the result of our copyin(). The
65 copyin(curpsinfo->pr_envp, sizeof (D`env_vars_32_t));
78 copyin(curpsinfo->pr_envp, sizeof (D`env_vars_64_t));
H A Dtst.struct.d31 * Declare a dynamic type and then use it to copyin the first 3 environment
35 * Actions and Subroutines/copyin();
40 * This test program declares a dynamic type and then uses it to copyin the
42 * then use the dynamic type to access the result of our copyin(). The
64 copyin(curpsinfo->pr_envp, sizeof (struct D`env_vars_32));
77 copyin(curpsinfo->pr_envp, sizeof (struct D`env_vars_64));
/freebsd-current/usr.bin/mail/
H A Dhead.c105 hl->l_date = copyin(cp, &sp);
110 hl->l_from = copyin(word, &sp);
113 hl->l_tty = copyin(word, &sp);
116 hl->l_date = copyin(cp, &sp);
126 copyin(char *src, char **space) function
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_x86.c94 if (copyin((void *) pc, &instr, sizeof(instr)) != 0)
99 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
103 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
105 } else if (copyin((void *) r, &pc, sizeof(pc)) != 0 ||
106 copyin((void *) fp, &fp, sizeof(fp)) != 0)
121 if (copyin((void *) r, &pc, sizeof(pc)) != 0 ||
122 copyin((void *) fp, &fp, sizeof(fp)) != 0)
H A Dhwpmc_arm64_md.c112 if (copyin((void *)r, &pc, sizeof(pc)) != 0)
122 if (copyin((void *)r, &fp, sizeof(fp)) != 0)
H A Dhwpmc_arm.c141 if (copyin((void *)r, &pc, sizeof(pc)) != 0)
151 if (copyin((void *)r, &fp, sizeof(fp)) != 0)
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/docsExamples/
H A Dkstat.d49 this->ksp = (kstat_named_t *)copyin(arg1, sizeof (kstat_named_t));
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvmsystm.h57 copyin(const void *from, void *to, size_t len) function
59 /* On error copyin routine returns -1 */
87 rc = copyin(from, to, len - 1);
/freebsd-current/sys/arm64/arm64/
H A Dsys_machdep.c51 error = copyin(uap->parms, &gp_args, sizeof(gp_args));
/freebsd-current/sys/powerpc/powerpc/
H A Dptrace_machdep.c76 error = copyin(addr, &vec, sizeof(vec));
104 error = copyin(addr, &vsr, sizeof(vsr));
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_vcio.c64 error = copyin(ptr, &size, sizeof(size));
70 error = copyin(ptr, property, size);
/freebsd-current/sys/kern/
H A Dkern_context.c88 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
116 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
/freebsd-current/sys/cddl/compat/opensolaris/sys/
H A Dsunddi.h38 (copyin((from), (to), (size)), 0)
/freebsd-current/sys/i386/i386/
H A Dptrace_machdep.c117 error = copyin(addr, savefpu, data);
148 error = copyin(addr, savefpu, data);
182 error = copyin(addr, fpstate, sizeof(*fpstate));
229 error = copyin(addr, &r, sizeof(r));
/freebsd-current/sys/dev/efidev/
H A Defidev.c113 error = copyin(ev->name, name, ev->namesize);
147 error = copyin(ev->name, name, ev->namesize);
174 error = copyin(ev->data, data, ev->datasize);
178 error = copyin(ev->name, name, ev->namesize);

Completed in 212 milliseconds

1234567891011>>