/freebsd/sys/fs/procfs/ |
H A D | 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()
|
/freebsd/sys/sys/ |
H A D | exec.h | 88 ((p)->p_vmspace->vm_stacktop - (p)->p_sysent->sv_psstringssz) 95 ((p)->p_vmspace->vm_shp_base + (p)->p_sysent->sv_sigcode_offset) 98 ((p)->p_sysent->sv_shared_page_obj != NULL)
|
H A D | sysent.h | 177 #define SV_PROC_FLAG(p, x) ((p)->p_sysent->sv_flags & (x)) 178 #define SV_PROC_ABI(p) ((p)->p_sysent->sv_flags & SV_ABI_MASK)
|
/freebsd/sys/arm/arm/ |
H A D | syscall.c | 119 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args() 122 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
/freebsd/sys/kern/ |
H A D | subr_syscall.c | 77 error = (p->p_sysent->sv_fetch_syscall_args)(td); in syscallenter() 103 error = (p->p_sysent->sv_fetch_syscall_args)(td); in syscallenter() 209 (p->p_sysent->sv_set_syscall_retval)(td, error); in syscallenter()
|
H A D | kern_resource.c | 710 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 711 p->p_sysent->sv_fixlimit(&oldssiz, in kern_proc_setrlimit() 733 if (p->p_sysent->sv_fixlimit != NULL) in kern_proc_setrlimit() 734 p->p_sysent->sv_fixlimit(limp, which); in kern_proc_setrlimit() 768 prot = p->p_sysent->sv_stackprot; in kern_proc_setrlimit() 1480 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit() 1481 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit() 1492 if (p->p_sysent->sv_fixlimit != NULL) in lim_rlimit_proc() 1493 p->p_sysent->sv_fixlimit(rlp, which); in lim_rlimit_proc()
|
H A D | kern_exec.c | 200 return (SYSCTL_OUT(req, &p->p_sysent->sv_stackprot, in sysctl_kern_stackprot() 201 sizeof(p->p_sysent->sv_stackprot))); in sysctl_kern_stackprot() 741 error = (*p->p_sysent->sv_copyout_strings)(imgp, &stack_base); in do_execve() 750 error = (*p->p_sysent->sv_fixup)(&stack_base, imgp); in do_execve() 942 (*p->p_sysent->sv_setregs)(td, imgp, stack_base); in do_execve() 1126 vmspace->vm_shp_base + p->p_sysent->sv_shared_page_len); in exec_free_abi_mappings() 1145 if (p->p_sysent->sv_onexec_old != NULL) in exec_new_vmspace() 1146 p->p_sysent->sv_onexec_old(td); in exec_new_vmspace() 1209 sv = p->p_sysent; in exec_map_stack() 1676 sysent = p->p_sysent; in exec_copyout_strings()
|
H A D | kern_kthread.c | 386 if (p->p_sysent->sv_ontdexit != NULL) in kthread_exit() 387 p->p_sysent->sv_ontdexit(td); in kthread_exit()
|
H A D | kern_exit.c | 387 if (p->p_sysent->sv_onexit != NULL) in exit1() 388 p->p_sysent->sv_onexit(p); in exit1() 615 if (p->p_sysent->sv_ontdexit != NULL) in exit1() 616 p->p_sysent->sv_ontdexit(td); in exit1() 1256 (td->td_proc->p_sysent->sv_flags & SV_SIG_WAITNDQ) == 0) { in report_alive_proc()
|
H A D | init_main.c | 512 p->p_sysent = &null_sysvec; in proc0_init() 623 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init()
|
H A D | imgact_elf.c | 326 if (p->p_sysent == entry->sysvec) { in __elfN() 865 if (p->p_sysent->sv_protect != NULL) in __elfN() 866 p->p_sysent->sv_protect(imgp, SVP_INTERP); in __elfN() 1320 imgp->proc->p_sysent = sv; in __CONCAT() 1618 td->td_proc->p_sysent->sv_elf_core_prepare_notes(td, ¬elst, ¬esz); in __elfN() 1929 ehdr->e_ident[EI_OSABI] = td->td_proc->p_sysent->sv_elf_core_osabi; in __elfN() 2014 sv = td->td_proc->p_sysent; in __elfN() 2031 sv = td->td_proc->p_sysent; in __elfN() 2107 sv = td->td_proc->p_sysent; in __elfN() 2421 struct sysentvec *sv = td->td_proc->p_sysent; in __elfN()
|
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()
|
H A D | kern_sig.c | 1384 if ((p->p_sysent->sv_flags & SV_SIG_DISCIGN) != 0 || in kern_sigtimedwait() 1643 (p->p_sysent->sv_set_syscall_retval)(td, EINTR); in kern_sigsuspend() 1772 if (ss->ss_size < p->p_sysent->sv_minsigstksz) in kern_sigaltstack() 2144 (*p->p_sysent->sv_sendsig)(ps->ps_sigact[_SIG_IDX(sig)], in trapsignal() 2330 (p->p_sysent->sv_flags & SV_SIG_DISCIGN) == 0) { in tdsendsignal() 2649 if (p->p_sysent->sv_coredump == NULL) { in ptrace_coredumpreq() 2655 tcq->tc_error = p->p_sysent->sv_coredump(td, tcq->tc_vp, in ptrace_coredumpreq() 2671 sv = p->p_sysent; in ptrace_syscallreq() 3454 (*p->p_sysent->sv_sendsig)(action, &ksi, &returnmask); in postsig() 4159 if (p->p_sysent->sv_coredump != NULL) { in coredump() [all …]
|
H A D | imgact_aout.c | 356 imgp->proc->p_sysent = &aout_sysvec; in exec_aout_imgact()
|
/freebsd/sys/amd64/amd64/ |
H A D | trap.c | 370 if (*p->p_sysent->sv_trap != NULL && in trap() 371 (*p->p_sysent->sv_trap)(td) == 0) in trap() 1042 if (sa->code >= p->p_sysent->sv_size) in cpu_fetch_syscall_args_fallback() 1045 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args_fallback() 1082 sa->code >= p->p_sysent->sv_size)) in cpu_fetch_syscall_args() 1085 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
H A D | vm_machdep.c | 256 p2->p_sysent->sv_set_fork_retval(td2); in cpu_fork() 469 if (p->p_sysent->sv_maxuser == VM_MAXUSER_ADDRESS_LA48) in cpu_procctl_la_status()
|
/freebsd/sys/amd64/ia32/ |
H A D | ia32_syscall.c | 185 if (sa->code >= p->p_sysent->sv_size) in ia32_fetch_syscall_args() 188 sa->callp = &p->p_sysent->sv_table[sa->code]; in ia32_fetch_syscall_args()
|
/freebsd/sys/arm64/arm64/ |
H A D | elf32_machdep.c | 216 if (sa->code >= p->p_sysent->sv_size) in freebsd32_fetch_syscall_args() 219 sa->callp = &p->p_sysent->sv_table[sa->code]; in freebsd32_fetch_syscall_args()
|
H A D | trap.c | 153 if (__predict_false(sa->code >= p->p_sysent->sv_size)) in cpu_fetch_syscall_args() 156 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
/freebsd/sys/riscv/riscv/ |
H A D | trap.c | 117 if (__predict_false(sa->code >= p->p_sysent->sv_size)) in cpu_fetch_syscall_args() 120 sa->callp = &p->p_sysent->sv_table[sa->code]; in cpu_fetch_syscall_args()
|
/freebsd/sys/ddb/ |
H A D | db_ps.c | 476 if (p->p_sysent != NULL) in DB_SHOW_COMMAND() 477 db_printf(" ABI: %s\n", p->p_sysent->sv_name); in DB_SHOW_COMMAND()
|
/freebsd/sys/i386/linux/ |
H A D | imgact_linux.c | 221 imgp->proc->p_sysent = &linux_sysvec; in exec_linux_imgact()
|
/freebsd/sys/security/audit/ |
H A D | audit.c | 616 if (code >= td->td_proc->p_sysent->sv_size) in audit_syscall_enter() 619 event = td->td_proc->p_sysent->sv_table[code].sy_auevent; in audit_syscall_enter()
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysvec.c | 125 if (sa->code >= p->p_sysent->sv_size) in linux_fetch_syscall_args() 128 sa->callp = &p->p_sysent->sv_table[sa->code]; in linux_fetch_syscall_args()
|
/freebsd/sys/compat/linux/ |
H A D | linux_emul.c | 203 (p->p_sysent->sv_thread_detach)(td); in linux_on_exit()
|