Home
last modified time | relevance | path

Searched refs:p_sysent (Results 1 – 25 of 47) sorted by relevance

12

/f-stack/freebsd/arm/arm/
H A Dsyscall.c121 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 Dia32_syscall.c179 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 Dkern_exec.c163 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 Dsubr_syscall.c81 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 Dkern_resource.c712 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 Dkern_kthread.c360 if (p->p_sysent->sv_ontdexit != NULL) in kthread_exit()
361 p->p_sysent->sv_ontdexit(td); in kthread_exit()
H A Dinit_main.c493 p->p_sysent = &null_sysvec; in proc0_init()
603 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init()
H A Dkern_exit.c332 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 Dkern_thr.c356 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 Dtrap.c336 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 Ddb_trace.c158 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 Delf32_machdep.c180 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 Dtrap.c142 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 Dlinux_sysvec.c124 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 Dlinux_sysvec.c196 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 Dtrap.c689 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 Ddb_trace.c281 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 Dff_init_main.c407 p->p_sysent = &null_sysvec; in proc0_init()
504 p->p_sysent->sv_minuser, p->p_sysent->sv_maxuser); in proc0_init()
H A Dff_glue.c791 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 Dlinux_sysvec.c201 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 Dimgact_linux.c220 imgp->proc->p_sysent = &linux_sysvec; in exec_linux_imgact()
/f-stack/freebsd/sys/
H A Dsysent.h164 #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 Dlinux32_sysvec.c203 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 Ddb_ps.c486 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 Daudit.c618 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()

12