| /trueos/sys/ia64/ia32/ |
| HD | ia32_trap.c | 81 if (p->p_sysent->sv_errsize) { in ia32_set_syscall_retval() 82 if (error >= p->p_sysent->sv_errsize) in ia32_set_syscall_retval() 85 error = p->p_sysent->sv_errtbl[error]; in ia32_set_syscall_retval() 123 if (p->p_sysent->sv_mask) in ia32_fetch_syscall_args() 124 sa->code &= p->p_sysent->sv_mask; in ia32_fetch_syscall_args() 125 if (sa->code >= p->p_sysent->sv_size) in ia32_fetch_syscall_args() 126 sa->callp = &p->p_sysent->sv_table[0]; in ia32_fetch_syscall_args() 128 sa->callp = &p->p_sysent->sv_table[sa->code]; in ia32_fetch_syscall_args()
|
| HD | ia32_signal.c | 142 sv = td->td_proc->p_sysent; in ia32_setregs() 245 tf->tf_scratch.gr11 = td->td_proc->p_sysent->sv_psstrings; in ia32_setregs()
|
| /trueos/sys/amd64/ia32/ |
| HD | ia32_syscall.c | 147 if (p->p_sysent->sv_mask) in ia32_fetch_syscall_args() 148 sa->code &= p->p_sysent->sv_mask; in ia32_fetch_syscall_args() 149 if (sa->code >= p->p_sysent->sv_size) in ia32_fetch_syscall_args() 150 sa->callp = &p->p_sysent->sv_table[0]; in ia32_fetch_syscall_args() 152 sa->callp = &p->p_sysent->sv_table[sa->code]; in ia32_fetch_syscall_args() 233 lcall_addr = curproc->p_sysent->sv_psstrings - sz_lcall_tramp; in setup_lcall_gate()
|
| HD | ia32_signal.c | 364 if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize) in ia32_osendsig() 365 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in ia32_osendsig() 422 regs->tf_rip = p->p_sysent->sv_psstrings - sz_ia32_osigcode; in ia32_osendsig() 502 if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize) in freebsd4_ia32_sendsig() 503 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in freebsd4_ia32_sendsig() 537 regs->tf_rip = p->p_sysent->sv_sigcode_base + sz_ia32_sigcode - in freebsd4_ia32_sendsig() 647 if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize) in ia32_sendsig() 648 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in ia32_sendsig() 685 regs->tf_rip = p->p_sysent->sv_sigcode_base; in ia32_sendsig()
|
| /trueos/sys/arm/arm/ |
| HD | syscall.c | 130 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 131 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 132 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 133 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 135 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/fs/procfs/ |
| HD | procfs_type.c | 50 if (p != NULL && p->p_sysent && p->p_sysent->sv_name) in procfs_doproctype() 51 sbuf_printf(sb, "%s", p->p_sysent->sv_name); in procfs_doproctype()
|
| /trueos/sys/kern/ |
| HD | kern_exec.c | 146 val = (unsigned int)p->p_sysent->sv_psstrings; in sysctl_kern_ps_strings() 150 error = SYSCTL_OUT(req, &p->p_sysent->sv_psstrings, in sysctl_kern_ps_strings() 151 sizeof(p->p_sysent->sv_psstrings)); in sysctl_kern_ps_strings() 165 val = (unsigned int)p->p_sysent->sv_usrstack; in sysctl_kern_usrstack() 169 error = SYSCTL_OUT(req, &p->p_sysent->sv_usrstack, in sysctl_kern_usrstack() 170 sizeof(p->p_sysent->sv_usrstack)); in sysctl_kern_usrstack() 180 return (SYSCTL_OUT(req, &p->p_sysent->sv_stackprot, in sysctl_kern_stackprot() 181 sizeof(p->p_sysent->sv_stackprot))); in sysctl_kern_stackprot() 487 if ((img_first = imgp->proc->p_sysent->sv_imgact_try) != NULL) 571 if (p->p_sysent->sv_copyout_strings) [all …]
|
| HD | subr_syscall.c | 75 error = (p->p_sysent->sv_fetch_syscall_args)(td, sa); in syscallenter() 97 error = (p->p_sysent->sv_fetch_syscall_args)(td, sa); in syscallenter() 163 (p->p_sysent->sv_set_syscall_retval)(td, error); in syscallenter()
|
| HD | kern_resource.c | 728 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 729 p->p_sysent->sv_fixlimit(&oldssiz, in kern_proc_setrlimit() 751 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 752 p->p_sysent->sv_fixlimit(limp, which); in kern_proc_setrlimit() 777 prot = p->p_sysent->sv_stackprot; in kern_proc_setrlimit() 779 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 784 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 1232 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit() 1233 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit()
|
| HD | init_main.c | 475 p->p_sysent = &null_sysvec; in proc0_init() 570 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init() 716 addr = p->p_sysent->sv_usrstack - PAGE_SIZE; in start_init() 743 ucp = (char *)p->p_sysent->sv_usrstack; in start_init()
|
| /trueos/sys/powerpc/booke/ |
| HD | trap.c | 226 if (p->p_sysent->sv_transtrap != NULL) in trap() 227 sig = (p->p_sysent->sv_transtrap)(sig, type); in trap() 347 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 348 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 349 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 350 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 352 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/sparc64/sparc64/ |
| HD | trap.c | 316 if (p->p_sysent->sv_transtrap != NULL) { in trap() 317 sig = p->p_sysent->sv_transtrap(sig, in trap() 584 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 585 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 586 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 587 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 589 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| HD | db_trace.c | 183 if (code >= 0 && code < p->p_sysent->sv_size) { in db_print_trap() 184 func = (db_addr_t)p->p_sysent->sv_table[code].sy_call; in db_print_trap() 188 db_printf(", %s, %s", p->p_sysent->sv_name, in db_print_trap()
|
| HD | vm_machdep.c | 199 if (td->td_proc->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 200 if (error >= td->td_proc->p_sysent->sv_errsize) in cpu_set_syscall_retval() 203 error = td->td_proc->p_sysent->sv_errtbl[error]; in cpu_set_syscall_retval()
|
| /trueos/sys/powerpc/aim/ |
| HD | trap.c | 344 if (p->p_sysent->sv_transtrap != NULL) in trap() 345 sig = (p->p_sysent->sv_transtrap)(sig, type); in trap() 469 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 470 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 471 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 472 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 474 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/i386/linux/ |
| HD | linux_sysvec.c | 252 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in elf_linux_fixup() 312 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings() 443 if (p->p_sysent->sv_sigtbl) in linux_rt_sendsig() 444 if (sig <= p->p_sysent->sv_sigsize) in linux_rt_sendsig() 445 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in linux_rt_sendsig() 517 regs->tf_eip = p->p_sysent->sv_sigcode_base + linux_sznonrtsigcode; in linux_rt_sendsig() 585 if (p->p_sysent->sv_sigtbl) in linux_sendsig() 586 if (sig <= p->p_sysent->sv_sigsize) in linux_sendsig() 587 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in linux_sendsig() 636 regs->tf_eip = p->p_sysent->sv_sigcode_base; in linux_sendsig() [all …]
|
| /trueos/sys/compat/linux/ |
| HD | linux_emul.c | 233 if (__predict_true(p->p_sysent != &elf_linux_sysvec)) in linux_proc_exit() 322 if (__predict_false(q->p_sysent != &elf_linux_sysvec)) in linux_proc_exit() 350 && p->p_sysent != &elf_linux_sysvec)) in linux_proc_exec() 352 if (__predict_false((p->p_sysent->sv_flags & SV_ABI_MASK) == in linux_proc_exec() 357 && p->p_sysent == &elf_linux_sysvec)) { in linux_proc_exec()
|
| /trueos/sys/amd64/amd64/ |
| HD | trap.c | 587 if (*p->p_sysent->sv_transtrap) in trap() 588 i = (*p->p_sysent->sv_transtrap)(i, type); in trap() 905 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 906 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 907 else if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 908 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 910 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/amd64/linux32/ |
| HD | linux32_sysvec.c | 340 if (p->p_sysent->sv_sigtbl) in linux_rt_sendsig() 341 if (sig <= p->p_sysent->sv_sigsize) in linux_rt_sendsig() 342 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in linux_rt_sendsig() 414 regs->tf_rip = p->p_sysent->sv_sigcode_base + linux_sznonrtsigcode; in linux_rt_sendsig() 486 if (p->p_sysent->sv_sigtbl) in linux_sendsig() 487 if (sig <= p->p_sysent->sv_sigsize) in linux_sendsig() 488 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in linux_sendsig() 537 regs->tf_rip = p->p_sysent->sv_sigcode_base; in linux_sendsig() 760 if (sa->code >= p->p_sysent->sv_size) in linux32_fetch_syscall_args() 761 sa->callp = &p->p_sysent->sv_table[0]; in linux32_fetch_syscall_args() [all …]
|
| /trueos/sys/i386/i386/ |
| HD | trap.c | 736 if (*p->p_sysent->sv_transtrap) in trap() 737 i = (*p->p_sysent->sv_transtrap)(i, type); in trap() 1098 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 1099 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 1100 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 1101 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 1103 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/powerpc/powerpc/ |
| HD | exec_machdep.c | 236 if (p->p_sysent->sv_sigtbl && sig <= p->p_sysent->sv_sigsize) in sendsig() 237 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in sendsig() 298 tf->srr0 = (register_t)p->p_sysent->sv_sigcode_base; in sendsig() 882 if (p->p_sysent->sv_mask) in cpu_set_syscall_retval() 883 code &= p->p_sysent->sv_mask; in cpu_set_syscall_retval() 910 if (p->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 911 error = (error < p->p_sysent->sv_errsize) ? in cpu_set_syscall_retval() 912 p->p_sysent->sv_errtbl[error] : -1; in cpu_set_syscall_retval()
|
| /trueos/sys/ia64/ia64/ |
| HD | trap.c | 922 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 923 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 924 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 925 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 927 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /trueos/sys/mips/mips/ |
| HD | pm_machdep.c | 137 if (p->p_sysent->sv_sigtbl) { in sendsig() 138 if (sig <= p->p_sysent->sv_sigsize) in sendsig() 139 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in sendsig() 182 regs->ra = (register_t)(intptr_t)PS_STRINGS - *(p->p_sysent->sv_szsigcode); in sendsig()
|
| HD | freebsd32_machdep.c | 422 if (p->p_sysent->sv_sigtbl) { in freebsd32_sendsig() 423 if (sig <= p->p_sysent->sv_sigsize) in freebsd32_sendsig() 424 sig = p->p_sysent->sv_sigtbl[_SIG_IDX(sig)]; in freebsd32_sendsig() 467 td->td_frame->ra = (register_t)(intptr_t)FREEBSD32_PS_STRINGS - *(p->p_sysent->sv_szsigcode); in freebsd32_sendsig()
|
| /trueos/sys/sys/ |
| HD | sysent.h | 142 #define SV_PROC_FLAG(p, x) ((p)->p_sysent->sv_flags & (x)) 143 #define SV_PROC_ABI(p) ((p)->p_sysent->sv_flags & SV_ABI_MASK)
|