| /NextBSD/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()
|
| HD | vm_machdep.c | 190 if (td->td_proc->p_sysent->sv_mask) in cpu_set_syscall_retval() 191 code &= td->td_proc->p_sysent->sv_mask; in cpu_set_syscall_retval()
|
| /NextBSD/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()
|
| /NextBSD/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()
|
| /NextBSD/sys/kern/ |
| HD | kern_exec.c | 157 val = (unsigned int)p->p_sysent->sv_psstrings; in sysctl_kern_ps_strings() 161 error = SYSCTL_OUT(req, &p->p_sysent->sv_psstrings, in sysctl_kern_ps_strings() 162 sizeof(p->p_sysent->sv_psstrings)); in sysctl_kern_ps_strings() 176 val = (unsigned int)p->p_sysent->sv_usrstack; in sysctl_kern_usrstack() 180 error = SYSCTL_OUT(req, &p->p_sysent->sv_usrstack, in sysctl_kern_usrstack() 181 sizeof(p->p_sysent->sv_usrstack)); in sysctl_kern_usrstack() 191 return (SYSCTL_OUT(req, &p->p_sysent->sv_stackprot, in sysctl_kern_stackprot() 192 sizeof(p->p_sysent->sv_stackprot))); in sysctl_kern_stackprot() 503 if ((img_first = imgp->proc->p_sysent->sv_imgact_try) != NULL) 591 if (p->p_sysent->sv_copyout_strings) [all …]
|
| HD | subr_syscall.c | 74 error = (p->p_sysent->sv_fetch_syscall_args)(td, sa); in syscallenter() 99 error = (p->p_sysent->sv_fetch_syscall_args)(td, sa); in syscallenter() 160 (p->p_sysent->sv_set_syscall_retval)(td, error); in syscallenter()
|
| HD | kern_resource.c | 702 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 703 p->p_sysent->sv_fixlimit(&oldssiz, in kern_proc_setrlimit() 725 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 726 p->p_sysent->sv_fixlimit(limp, which); in kern_proc_setrlimit() 750 prot = p->p_sysent->sv_stackprot; in kern_proc_setrlimit() 752 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 757 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 1201 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit() 1202 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit() 1213 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit_proc() [all …]
|
| HD | init_main.c | 481 p->p_sysent = &null_sysvec; in proc0_init() 583 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init() 729 addr = p->p_sysent->sv_usrstack - PAGE_SIZE; in start_init() 756 ucp = (char *)p->p_sysent->sv_usrstack; in start_init()
|
| /NextBSD/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() 562 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 563 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 564 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 565 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 567 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 | 170 if (td->td_proc->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 171 if (error >= td->td_proc->p_sysent->sv_errsize) in cpu_set_syscall_retval() 174 error = td->td_proc->p_sysent->sv_errtbl[error]; in cpu_set_syscall_retval()
|
| /NextBSD/sys/amd64/amd64/ |
| HD | trap.c | 329 if (*p->p_sysent->sv_trap != NULL && in trap() 330 (*p->p_sysent->sv_trap)(td) == 0) in trap() 588 if (*p->p_sysent->sv_transtrap) in trap() 589 i = (*p->p_sysent->sv_transtrap)(i, type); in trap() 894 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 895 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 896 else if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 897 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 899 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| HD | vm_machdep.c | 415 if (td->td_proc->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 416 if (error >= td->td_proc->p_sysent->sv_errsize) in cpu_set_syscall_retval() 419 error = td->td_proc->p_sysent->sv_errtbl[error]; in cpu_set_syscall_retval()
|
| HD | db_trace.c | 161 if (p != NULL && 0 <= number && number < p->p_sysent->sv_size) { in decode_syscall() 162 f = p->p_sysent->sv_table[number].sy_call; in decode_syscall() 166 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall()
|
| /NextBSD/sys/arm64/arm64/ |
| HD | trap.c | 113 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 114 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 115 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 116 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 118 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /NextBSD/sys/powerpc/powerpc/ |
| HD | trap.c | 376 if (p->p_sysent->sv_transtrap != NULL) 377 sig = (p->p_sysent->sv_transtrap)(sig, type); 526 if (p->p_sysent->sv_mask) 527 sa->code &= p->p_sysent->sv_mask; 528 if (sa->code >= p->p_sysent->sv_size) 529 sa->callp = &p->p_sysent->sv_table[0]; 531 sa->callp = &p->p_sysent->sv_table[sa->code];
|
| HD | exec_machdep.c | 282 tf->srr0 = (register_t)p->p_sysent->sv_sigcode_base; in sendsig() 870 if (p->p_sysent->sv_mask) in cpu_set_syscall_retval() 871 code &= p->p_sysent->sv_mask; in cpu_set_syscall_retval() 898 if (p->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 899 error = (error < p->p_sysent->sv_errsize) ? in cpu_set_syscall_retval() 900 p->p_sysent->sv_errtbl[error] : -1; in cpu_set_syscall_retval()
|
| /NextBSD/sys/i386/i386/ |
| HD | trap.c | 742 if (*p->p_sysent->sv_transtrap) in trap() 743 i = (*p->p_sysent->sv_transtrap)(i, type); in trap() 1072 if (p->p_sysent->sv_mask) in cpu_fetch_syscall_args() 1073 sa->code &= p->p_sysent->sv_mask; in cpu_fetch_syscall_args() 1074 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 1075 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 1077 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| HD | vm_machdep.c | 453 if (td->td_proc->p_sysent->sv_errsize) { in cpu_set_syscall_retval() 454 if (error >= td->td_proc->p_sysent->sv_errsize) in cpu_set_syscall_retval() 457 error = td->td_proc->p_sysent->sv_errtbl[error]; in cpu_set_syscall_retval()
|
| HD | db_trace.c | 253 if (p != NULL && 0 <= number && number < p->p_sysent->sv_size) { in decode_syscall() 254 f = p->p_sysent->sv_table[number].sy_call; in decode_syscall() 258 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall()
|
| /NextBSD/sys/amd64/linux/ |
| HD | linux_sysvec.c | 236 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 238 sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]; in linux_fetch_syscall_args() 240 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args() 276 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in elf_linux_fixup() 285 imgp->proc->p_sysent->sv_shared_page_base); in elf_linux_fixup() 343 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /NextBSD/sys/compat/linux/ |
| HD | linux_emul.c | 156 (p->p_sysent->sv_thread_detach)(td); in linux_proc_exit() 231 (p->p_sysent->sv_thread_detach)(othertd); in linux_proc_exec()
|
| /NextBSD/sys/sys/ |
| HD | sysent.h | 144 #define SV_PROC_FLAG(p, x) ((p)->p_sysent->sv_flags & (x)) 145 #define SV_PROC_ABI(p) ((p)->p_sysent->sv_flags & SV_ABI_MASK)
|
| /NextBSD/sys/i386/linux/ |
| HD | linux_sysvec.c | 246 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in elf_linux_fixup() 252 imgp->proc->p_sysent->sv_shared_page_base); in elf_linux_fixup() 317 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings() 867 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 869 sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]; in linux_fetch_syscall_args() 871 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args()
|
| /NextBSD/sys/i386/ibcs2/ |
| HD | ibcs2_sysvec.c | 120 if (p->p_sysent == &ibcs2_svr3_sysvec) { in ibcs2_modevent()
|