| /f-stack/freebsd/arm/arm/ |
| H A D | syscall.c | 121 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 122 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 124 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /f-stack/freebsd/amd64/ia32/ |
| H A D | ia32_syscall.c | 179 if (sa->code >= p->p_sysent->sv_size) in ia32_fetch_syscall_args() 180 sa->callp = &p->p_sysent->sv_table[0]; in ia32_fetch_syscall_args() 182 sa->callp = &p->p_sysent->sv_table[sa->code]; in ia32_fetch_syscall_args() 263 lcall_addr = curproc->p_sysent->sv_psstrings - sz_lcall_tramp; in setup_lcall_gate()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_exec.c | 163 val = (unsigned int)p->p_sysent->sv_psstrings; in sysctl_kern_ps_strings() 168 sizeof(p->p_sysent->sv_psstrings)); in sysctl_kern_ps_strings() 182 val = (unsigned int)p->p_sysent->sv_usrstack; in sysctl_kern_usrstack() 186 error = SYSCTL_OUT(req, &p->p_sysent->sv_usrstack, in sysctl_kern_usrstack() 187 sizeof(p->p_sysent->sv_usrstack)); in sysctl_kern_usrstack() 197 return (SYSCTL_OUT(req, &p->p_sysent->sv_stackprot, in sysctl_kern_stackprot() 198 sizeof(p->p_sysent->sv_stackprot))); in sysctl_kern_stackprot() 876 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); in do_execve() 1585 if (p->p_sysent->sv_sigcode_base == 0) { in exec_copyout_strings() 1586 if (p->p_sysent->sv_szsigcode != NULL) in exec_copyout_strings() [all …]
|
| H A D | subr_syscall.c | 81 error = (p->p_sysent->sv_fetch_syscall_args)(td); in syscallenter() 107 error = (p->p_sysent->sv_fetch_syscall_args)(td); in syscallenter() 207 (p->p_sysent->sv_set_syscall_retval)(td, error); in syscallenter()
|
| H A D | kern_resource.c | 712 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 713 p->p_sysent->sv_fixlimit(&oldssiz, in kern_proc_setrlimit() 735 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 736 p->p_sysent->sv_fixlimit(limp, which); in kern_proc_setrlimit() 760 prot = p->p_sysent->sv_stackprot; in kern_proc_setrlimit() 762 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 767 addr = p->p_sysent->sv_usrstack - in kern_proc_setrlimit() 1317 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit() 1318 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit() 1329 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit_proc() [all …]
|
| H A D | kern_kthread.c | 360 if (p->p_sysent->sv_ontdexit != NULL) in kthread_exit() 361 p->p_sysent->sv_ontdexit(td); in kthread_exit()
|
| H A D | init_main.c | 493 p->p_sysent = &null_sysvec; in proc0_init() 603 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init()
|
| H A D | kern_exit.c | 332 if (p->p_sysent->sv_onexit != NULL) in exit1() 333 p->p_sysent->sv_onexit(p); in exit1() 577 if (p->p_sysent->sv_ontdexit != NULL) in exit1() 578 p->p_sysent->sv_ontdexit(td); in exit1()
|
| H A D | kern_thr.c | 356 if (p->p_sysent->sv_ontdexit != NULL) in kern_thr_exit() 357 p->p_sysent->sv_ontdexit(td); in kern_thr_exit()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | trap.c | 336 if (*p->p_sysent->sv_trap != NULL && in trap() 337 (*p->p_sysent->sv_trap)(td) == 0) in trap() 591 if (*p->p_sysent->sv_transtrap != NULL) in trap() 592 signo = (*p->p_sysent->sv_transtrap)(signo, type); in trap() 997 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args_fallback() 998 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args_fallback() 1000 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args_fallback() 1036 sa->code >= p->p_sysent->sv_size)) in cpu_fetch_syscall_args() 1039 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| H A D | db_trace.c | 158 if (p != NULL && 0 <= number && number < p->p_sysent->sv_size) { in decode_syscall() 159 f = p->p_sysent->sv_table[number].sy_call; in decode_syscall() 163 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall()
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | elf32_machdep.c | 180 if (sa->code >= p->p_sysent->sv_size) in freebsd32_fetch_syscall_args() 181 sa->callp = &p->p_sysent->sv_table[0]; in freebsd32_fetch_syscall_args() 183 sa->callp = &p->p_sysent->sv_table[sa->code]; in freebsd32_fetch_syscall_args()
|
| H A D | trap.c | 142 if (__predict_false(sa->code >= p->p_sysent->sv_size)) in cpu_fetch_syscall_args() 143 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 145 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_sysvec.c | 124 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 125 sa->callp = &p->p_sysent->sv_table[0]; in linux_fetch_syscall_args() 127 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args() 167 imgp->proc->p_sysent->sv_shared_page_base); in linux_copyout_auxargs() 237 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_sysvec.c | 196 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 198 sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]; in linux_fetch_syscall_args() 200 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args() 266 imgp->proc->p_sysent->sv_shared_page_base); in linux_copyout_auxargs() 337 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | trap.c | 689 if (*p->p_sysent->sv_transtrap != NULL) in trap() 690 signo = (*p->p_sysent->sv_transtrap)(signo, type); in trap() 1083 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 1084 sa->callp = &p->p_sysent->sv_table[0]; in cpu_fetch_syscall_args() 1086 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
| H A D | db_trace.c | 281 if (p != NULL && 0 <= number && number < p->p_sysent->sv_size) { in decode_syscall() 282 f = p->p_sysent->sv_table[number].sy_call; in decode_syscall() 286 db_printf(", %s, %s", p->p_sysent->sv_name, symname); in decode_syscall()
|
| /f-stack/lib/ |
| H A D | ff_init_main.c | 407 p->p_sysent = &null_sysvec; in proc0_init() 504 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init()
|
| H A D | ff_glue.c | 791 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit() 792 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit() 802 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit_proc() 803 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit_proc()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_sysvec.c | 201 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_auxargs() 208 imgp->proc->p_sysent->sv_shared_page_base); in linux_copyout_auxargs() 286 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings() 777 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 779 sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]; in linux_fetch_syscall_args() 781 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args()
|
| H A D | imgact_linux.c | 220 imgp->proc->p_sysent = &linux_sysvec; in exec_linux_imgact()
|
| /f-stack/freebsd/sys/ |
| H A D | sysent.h | 164 #define SV_PROC_FLAG(p, x) ((p)->p_sysent->sv_flags & (x)) 165 #define SV_PROC_ABI(p) ((p)->p_sysent->sv_flags & SV_ABI_MASK)
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 203 imgp->proc->p_sysent->sv_shared_page_base); in linux_copyout_auxargs() 660 if (sa->code >= p->p_sysent->sv_size) in linux32_fetch_syscall_args() 662 sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]; in linux32_fetch_syscall_args() 664 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux32_fetch_syscall_args()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_ps.c | 486 if (p->p_sysent != NULL) in DB_SHOW_COMMAND() 487 db_printf(" ABI: %s\n", p->p_sysent->sv_name); in DB_SHOW_COMMAND()
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit.c | 618 if (code >= td->td_proc->p_sysent->sv_size) in audit_syscall_enter() 621 event = td->td_proc->p_sysent->sv_table[code].sy_auevent; in audit_syscall_enter()
|