HomeSort by: relevance | last modified time | path
    Searched defs:ucp (Results 1 - 21 of 21) sorted by relevancy

  /src/sys/arch/usermode/usermode/
process_machdep.c 92 ucontext_t *ucp; local in function:process_read_regs
95 ucp = &pcb->pcb_userret_ucp;
96 reg = (register_t *) &ucp->uc_mcontext.__gregs;
107 ucontext_t *ucp; local in function:process_read_fpregs
110 ucp = &pcb->pcb_userret_ucp;
111 reg = (register_t *) &ucp->uc_mcontext.__fpregs;
syscall.c 53 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:md_child_return
58 md_syscall_set_returnargs(l, ucp, 0, rval);
89 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:syscall
101 md_syscall_get_opcode(ucp, &opcode);
102 md_syscall_get_syscallnumber(ucp, &code);
111 error = md_syscall_getargs(l, ucp, nargs, argsize, args);
128 md_syscall_inc_pc(ucp, opcode);
141 md_syscall_set_returnargs(l, ucp, error, rval);
146 md_syscall_dec_pc(ucp, opcode);
trap.c 307 ucontext_t *ucp = ctx; local in function:handle_signal
338 kgdb_kernel_trap(sig, pc, va, ucp);
376 memcpy((void *) fp, ucp, sizeof(ucontext_t));
377 memcpy(&jump_ucp, ucp, sizeof(ucontext_t));
550 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:illegal_instruction
558 if (md_syscall_check_opcode(ucp)) {
572 ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
593 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:pass_on
602 ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
  /src/usr.sbin/mopd/common/
dl.c 44 const u_char *ucp; local in function:mopDumpDL
292 ucp = pkt + idx; idx = idx + 10;
294 mopPrintTime(fd, ucp);
print.c 441 const u_char *ucp; local in function:mopPrintInfo
485 ucp = pkt + *idx; *idx = *idx + 6;
487 mopPrintHWA(fd, ucp);
506 ucp = pkt + *idx; *idx = *idx + 6;
508 mopPrintHWA(fd, ucp);
512 ucp = pkt + *idx; *idx = *idx + 10;
514 mopPrintTime(fd, ucp);
607 ucp = pkt + *idx;
613 (void)fprintf(fd,"%c",ucp[i]);
618 ucp = pkt + *idx
    [all...]
  /src/sys/arch/aarch64/aarch64/
sig_machdep.c 70 const vaddr_t ucp = sp; local in function:sendsig_siginfo
91 error = copyout(&uc, (void *)ucp, sizeof(uc));
111 tf->tf_reg[2] = ucp;
112 tf->tf_reg[28] = ucp; /* put in a callee saved register */
  /src/sys/fs/adosfs/
adlookup.c 78 kauth_cred_t ucp; /* lookup credentials */ local in function:adosfs_lookup
90 ucp = cnp->cn_cred;
101 if ((error = VOP_ACCESS(vdp, VEXEC, ucp)) != 0)
205 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) {
226 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) {
237 if ((error = VOP_ACCESS(vdp, VWRITE, ucp)) != 0) {
  /src/sys/arch/powerpc/powerpc/
sig_machdep.c 76 vaddr_t sp, sip, ucp; local in function:sendsig_siginfo
101 ucp = sp + sizeof(siginfo_t);
104 KASSERT((ucp & (CALLFRAMELEN-1)) == 0);
128 copyout(&uc, (void *)ucp, sizeof(uc)) != 0);
149 tf->tf_fixreg[5] = (register_t)ucp;
150 /* Preserve ucp across call to signal function */
151 tf->tf_fixreg[30] = (register_t)ucp;
  /src/sys/arch/vax/vax/
sig_machdep.c 146 vaddr_t ucp; /* Pointer to ucontext_t */ member in struct:trampoline3
165 sp -= sizeof(uc); tramp.ucp = sp;
183 error = (copyout(&uc, (char *)tramp.ucp, sizeof(uc)) != 0 ||
  /src/sys/arch/i386/stand/pxeboot/
pxe.c 288 uint8_t cksum, *ucp; local in function:pxe_init
311 for (i = 0, ucp = (uint8_t *)cp, cksum = 0;
313 cksum += ucp[i];
328 for (i = 0, ucp = (uint8_t *)cp, cksum = 0;
330 cksum += ucp[i];
  /src/sys/arch/usermode/target/i386/
cpu_i386.c 84 ucontext_t *sf_ucp; /* "ucp" argument for handler */
104 ucontext_t *ucp; local in function:sendsig_siginfo
110 ucp = &pcb->pcb_userret_ucp;
111 reg = (register_t *) &ucp->uc_mcontext.__gregs;
142 memcpy(&frame.sf_uc, ucp, sizeof(ucontext_t));
178 ucontext_t *ucp; local in function:setregs
192 ucp = &pcb->pcb_userret_ucp;
193 reg = (int *) &ucp->uc_mcontext.__gregs;
198 ucp->uc_stack.ss_sp = (void *) (stack-4); /* to prevent clearing */
199 ucp->uc_stack.ss_size = 0; //pack->ep_ssize
    [all...]
  /src/sys/arch/usermode/target/x86_64/
cpu_x86_64.c 100 ucontext_t *ucp; local in function:sendsig_siginfo
107 ucp = &pcb->pcb_userret_ucp;
108 reg = (register_t *) &ucp->uc_mcontext.__gregs;
140 memcpy(&frame.sf_uc, ucp, sizeof(ucontext_t));
180 ucontext_t *ucp; local in function:setregs
185 ucp = &pcb->pcb_userret_ucp;
186 reg = (register_t *) &ucp->uc_mcontext.__gregs;
195 ucp->uc_stack.ss_sp = (void *) stack;
196 ucp->uc_stack.ss_size = pack->ep_ssize;
202 md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_linux.cc 237 ucontext_t *ucp = (ucontext_t*)context; local in function:__asan::ReadContextStack
238 *stack = (uptr)ucp->uc_stack.ss_sp;
239 *ssize = ucp->uc_stack.ss_size;
  /src/usr.sbin/mopd/mopd/
process.c 66 const u_char *ucp; local in function:mopProcessInfo
97 ucp = pkt + *idx; *idx = *idx + 6;
109 ucp = pkt + *idx; *idx = *idx + 6;
112 ucp = pkt + *idx; *idx = *idx + 10;
119 ucp = pkt + *idx; *idx = *idx + tmpc;
140 ucp = pkt + *idx;
144 ucp = pkt + *idx;
151 ucp = pkt + *idx;
155 ucp = pkt + *idx;
160 ucp = pkt + *idx; *idx = *idx + ilen
    [all...]
  /src/sys/arch/usermode/dev/
cpu.c 317 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:cpu_getmcontext
322 memcpy(mcp, &ucp->uc_mcontext, sizeof(mcontext_t));
349 ucontext_t *ucp = &pcb->pcb_userret_ucp; local in function:cpu_setmcontext
355 memcpy(&ucp->uc_mcontext.__gregs, &mcp->__gregs, sizeof(__gregset_t));
357 memcpy(&ucp->uc_mcontext.__fpregs, &mcp->__fpregs, sizeof(__fpregset_t));
375 ucp->uc_flags |= (flags & (_UC_CPU | _UC_FPU | _UC_TLSBASE));
414 cpu_lwp_trampoline(ucontext_t *ucp, void (*func)(void *), void *arg)
423 thunk_makecontext(ucp, (void (*)(void)) func, 1, arg, NULL, NULL, NULL);
424 thunk_setcontext(ucp);
  /src/sys/compat/linux/arch/m68k/
linux_machdep.c 281 printf("setup_linux_rt_sigframe(%d): sig %d ssp %p usp %p ucp %p ft %d\n",
660 struct linux_ucontext *ucp; /* ucontext in user space */ local in function:linux_sys_rt_sigreturn
661 struct linux_ucontext tuc; /* copy of *ucp */
671 error = copyin((char *)frame->f_regs[SP] + 8, (void *)&ucp,
673 if (error || (int) ucp & 1)
678 printf("linux_rt_sigreturn: pid %d, ucp %p\n", p->p_pid, ucp);
682 if (copyin(ucp, &tuc, sizeof tuc)) {
  /src/sys/kern/
init_main.c 982 char *ucp, **uap, *arg0, *arg1, *argv[3]; local in function:start_init
1057 ucp = (char *)USRSTACK;
1086 arg1 = STACK_ALLOC(ucp, i);
1087 ucp = STACK_MAX(arg1, i);
1103 arg0 = STACK_ALLOC(ucp, i);
1104 ucp = STACK_MAX(arg0, i);
1111 ucp = (void *)STACK_ALIGN(ucp, STACK_ALIGNBYTES);
1112 uap = (char **)STACK_ALLOC(ucp, sizeof(argv));
  /src/sys/arch/vax/boot/boot/
mfm.c 388 unsigned char *ucp; local in function:mfmopen
396 ucp = io_buf;
398 if (ucp[k] < 0x10)
400 printf("%x ", ucp[k]);
  /src/sys/compat/linux/arch/i386/
linux_machdep.c 388 syscallarg(struct linux_ucontext *) ucp;
390 struct linux_ucontext context, *ucp = SCARG(uap, ucp); local in function:linux_sys_rt_sigreturn
398 if ((error = copyin(ucp, &context, sizeof(*ucp))) != 0)
  /src/sys/arch/i386/stand/lib/
exec.c 298 userconf_command_t *ucp; local in function:userconf_add
299 for (ucp = userconf_commands; ucp->uc_next != NULL;
300 ucp = ucp->uc_next)
302 ucp->uc_next = uc;
  /src/sys/fs/nfs/server/
nfs_nfsdserv.c 3451 u_char *verf, *ucp, *ucp2, addrbuf[24]; local in function:nfsrvd_setclientid
3526 ucp = (u_char *)&rad->sin_addr.s_addr;
3529 ucp[0] & 0xff, ucp[1] & 0xff, ucp[2] & 0xff, ucp[3] & 0xff,

Completed in 25 milliseconds