/illumos-gate/usr/src/cmd/dtrace/test/tst/i386/funcs/ |
H A D | tst.badcopyin.d | 30 * 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));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.copyin.d | 33 * This D ditty tests the ability to perform both copyin and copyinstr. We 37 * SECTION: Actions and Subroutines/copyin(); 39 * User Process Tracing/copyin() and copyinstr() 45 envp = *(uint32_t *)copyin(curpsinfo->pr_envp, sizeof (uint32_t)); 53 envp = *(uint64_t *)copyin(curpsinfo->pr_envp, sizeof (uint64_t));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.copyin.d | 37 * SECTION: Actions and Subroutines/copyin(); 51 trace(copyin(rand(), 1)); 56 trace(copyin(rand() | 1, 1)); 61 trace(copyin(NULL, 1));
|
H A D | tst.copyin2.d | 30 * 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);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.printtypetarg.ksh | 45 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 D | tst.printtype.ksh | 44 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 D | tst.chasestrings.ksh | 45 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)));
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_sys.c | 86 if (copyin(arg, STRUCT_BUF(ea), STRUCT_SIZE(ea))) 119 if (copyin(arg, STRUCT_BUF(u_clr), STRUCT_SIZE(u_clr))) 136 if (copyin(arg, &p, sizeof (p))) 146 if (copyin(arg, &id, sizeof (id))) 156 if (copyin(arg, &id, sizeof (id))) 173 if (copyin(arg, STRUCT_BUF(ursa), STRUCT_SIZE(ursa))) 181 if (copyin(arg, &rsa, sizeof (rsa))) 197 if (copyin(arg, STRUCT_BUF(nsa), STRUCT_SIZE(nsa))) 215 if (copyin(arg, STRUCT_BUF(nga), STRUCT_SIZE(nga))) 226 if (copyin(ar [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_ddi.h | 62 extern int copyin(const void *, void *, size_t);
|
/illumos-gate/usr/src/cmd/dtrace/demo/struct/ |
H A D | kstat.d | 35 this->ksp = (kstat_named_t *) copyin(arg1, sizeof (kstat_named_t));
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | copy.c | 38 CALLBACK(copyin, src, va, len); 67 CALLBACK(copyin, buf, va, s);
|
H A D | bootinfo.c | 156 CALLBACK(copyin, ep->ev_name, addr, strlen(ep->ev_name)); 158 CALLBACK(copyin, "=", addr, 1); 161 CALLBACK(copyin, ep->ev_value, addr, strlen(ep->ev_value)); 164 CALLBACK(copyin, "", addr, 1); 167 CALLBACK(copyin, "", addr, 1);
|
H A D | elf64_freebsd.c | 147 CALLBACK(copyin, stack, 0x1000, sizeof(stack)); 148 CALLBACK(copyin, PT4, 0x2000, sizeof(PT4)); 149 CALLBACK(copyin, PT3, 0x3000, sizeof(PT3)); 150 CALLBACK(copyin, PT2, 0x4000, sizeof(PT2)); 159 CALLBACK(copyin, gdtr, 0x5000, sizeof(gdtr));
|
H A D | bootinfo32.c | 60 CALLBACK(copyin, &x, a, sizeof(x)); \ 68 CALLBACK(copyin, s, a, strlen(s) + 1); \ 80 CALLBACK(copyin, &s, a, sizeof(s)); \ 91 CALLBACK(copyin, mm->md_data, a, mm->md_size); \ 253 CALLBACK(copyin, &bi, 0x2000, sizeof(bi)); 254 CALLBACK(copyin, kernelname, 0x2000 + sizeof(bi), strlen(kernelname) + 1);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
H A D | tst.struct.d | 31 * 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));
|
H A D | tst.typedef.d | 31 * 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));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | kstat.d | 49 this->ksp = (kstat_named_t *)copyin(arg1, sizeof (kstat_named_t));
|
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 85 * Try to copyin() the ustack if one is registered. If the stack 88 * or the copyin() fails, we fall back to the legacy behavior. 91 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, 228 * Don't copyin filler or floating state unless we need it. 231 if (copyin(ucp, &uc, sizeof (ucontext_t) - 241 if (copyin(&ucp->uc_mcontext.xrs, &uc.uc_mcontext.xrs, 248 * Need to copyin floating point state 250 if (copyin(&ucp->uc_mcontext.fpregs, 260 if (copyin(fpp->fpu_q, fpu_q, 281 if (copyin(u [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 56 if (copyin(arg, STRUCT_BUF(nra), STRUCT_SIZE(nra)))
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sigsendset.c | 62 if (copyin((caddr_t)psp, (caddr_t)&set, sizeof (procset_t)))
|
H A D | adjtime.c | 58 if (copyin(delta, &atv, sizeof (atv))) 63 if (copyin(delta, &atv32, sizeof (atv32)))
|
H A D | sigaltstack.c | 50 * User's oss and ss might be the same address, so copyin first and 56 if (copyin(ssp, &ss, sizeof (ss))) 85 * User's oss and ss might be the same address, so copyin first and 91 if (copyin(ssp, &ss32, sizeof (ss32)))
|
H A D | strcalls.c | 75 if (copyin(flagsp, &localflags, sizeof (*flagsp))) 149 if (copyin(flagsp, &flags, sizeof (flags))) 151 if (copyin(prip, &intpri, sizeof (intpri))) 224 copyin(ctl, &msgctl, sizeof (struct strbuf))) { 229 copyin(data, &msgdata, sizeof (struct strbuf))) { 304 if (copyin(flagsp, &localflags, sizeof (*flagsp))) 378 if (copyin(flagsp, &flags, sizeof (*flagsp))) 380 if (copyin(prip, &intpri, sizeof (intpri))) 454 if (copyin(ctl, &msgctl32, sizeof (msgctl32))) { 463 if (copyin(dat [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysevent.c | 163 if (copyin(arg, &uargs, sizeof (sev_publish_args_t)) != 0) 188 if (copyin((void *)(uintptr_t)uargs.ev.name, ev, uargs.ev.len) != 0) { 216 if (copyin(arg, &uargs, sizeof (sev_bind_args_t)) != 0) 224 if (copyin((void *)(uintptr_t)uargs.chan_name.name, chan_name, 263 if (copyin(arg, &uargs, sizeof (sev_control_args_t)) != 0) 300 if (copyin(arg, &uargs, sizeof (sev_subscribe_args_t)) != 0) 308 if (copyin((void *)(uintptr_t)uargs.sid.name, 321 if (copyin((void *)(uintptr_t)uargs.class_info.name, class_info, 355 if (copyin(arg, &uargs, sizeof (sev_unsubscribe_args_t)) != 0) 373 if (copyin((voi [all...] |
/illumos-gate/usr/src/uts/intel/ia32/syscall/ |
H A D | getcontext.c | 72 * Try to copyin() the ustack if one is registered. If the stack 75 * or the copyin() fails, we fall back to the legacy behavior. 78 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, 214 * Don't copyin filler or floating state unless we need it. 217 if (copyin(ucp, &uc, sizeof (ucontext_t) - 226 copyin(&ucp->uc_mcontext.fpregs, &uc.uc_mcontext.fpregs, 244 if (copyin(arg, &dummy_stk, sizeof (dummy_stk))) 270 copyin((void *)lwp->lwp_ustack, &ucp->uc_stack, 344 if (copyin(ucp, &uc, sizeof (uc) - 352 copyin( [all...] |