/netbsd-src/sys/compat/freebsd/ |
H A D | freebsd_syscallargs.h | 14 struct lwp; 607 int sys_nosys(struct lwp *, const void *, register_t *); 609 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 611 int sys_fork(struct lwp *, const void *, register_t *); 613 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 615 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 617 int sys_open(struct lwp *, const struct sys_open_args *, register_t *); 619 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 621 int compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *); 623 int compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/aoutm68k/ |
H A D | aoutm68k_syscallargs.h | 14 struct lwp; 668 int sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *); 670 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 672 int sys_fork(struct lwp *, const void *, register_t *); 674 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 676 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 678 int sys_open(struct lwp *, const struct sys_open_args *, register_t *); 680 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 682 int compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *); 685 int compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/sunos/ |
H A D | sunos_syscallargs.h | 14 struct lwp; 464 int sys_nosys(struct lwp *, const void *, register_t *); 466 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 468 int sys_fork(struct lwp *, const void *, register_t *); 470 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 472 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 474 int sunos_sys_open(struct lwp *, const struct sunos_sys_open_args *, register_t *); 476 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 478 int sunos_sys_wait4(struct lwp *, const struct sunos_sys_wait4_args *, register_t *); 480 int sunos_sys_creat(struct lwp *, const struct sunos_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/sunos32/ |
H A D | sunos32_syscallargs.h | 14 struct lwp; 473 int sys_nosys(struct lwp *, const void *, register_t *); 475 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *); 477 int sys_fork(struct lwp *, const void *, register_t *); 479 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 481 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 483 int sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *); 485 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 487 int sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *); 489 int sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/ultrix/ |
H A D | ultrix_syscallargs.h | 14 struct lwp; 441 int sys_nosys(struct lwp *, const void *, register_t *); 443 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 445 int sys_fork(struct lwp *, const void *, register_t *); 447 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 449 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 451 int ultrix_sys_open(struct lwp *, const struct ultrix_sys_open_args *, register_t *); 453 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 455 int compat_43_sys_wait(struct lwp *, const void *, register_t *); 457 int ultrix_sys_creat(struct lwp *, const struct ultrix_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/linux32/arch/aarch64/ |
H A D | linux32_syscallargs.h | 14 struct lwp; 1127 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1129 int linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *); 1131 int sys_fork(struct lwp *, const void *, register_t *); 1133 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 1135 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 1137 int linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *); 1139 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 1141 int linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *); 1143 int linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/linux/arch/m68k/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1399 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1401 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1403 int sys_fork(struct lwp *, const void *, register_t *); 1405 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1407 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1409 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1411 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1413 int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *); 1415 int linux_sys_creat(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux32/arch/amd64/ |
H A D | linux32_syscallargs.h | 14 struct lwp; 1120 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1122 int linux32_sys_exit(struct lwp *, const struct linux32_sys_exit_args *, register_t *); 1124 int sys_fork(struct lwp *, const void *, register_t *); 1126 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 1128 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 1130 int linux32_sys_open(struct lwp *, const struct linux32_sys_open_args *, register_t *); 1132 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 1134 int linux32_sys_waitpid(struct lwp *, const struct linux32_sys_waitpid_args *, register_t *); 1136 int linux32_sys_creat(struct lwp *, const struct linux32_sys_creat_args *, register_t *); [all …]
|
/netbsd-src/sys/compat/linux/arch/aarch64/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1166 int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); 1168 int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); 1170 int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *); 1172 int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *); 1174 int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *); 1176 int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *); 1178 int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *); 1180 int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *); 1182 int linux_sys_flistxattr(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/amd64/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1332 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1334 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1336 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1338 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1340 int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *); 1342 int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *); 1344 int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *); 1346 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *); 1348 int compat_43_sys_lseek(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/powerpc/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1333 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1335 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1337 int sys_fork(struct lwp *, const void *, register_t *); 1339 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1341 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1343 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1345 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1347 int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *); 1349 int linux_sys_creat(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/alpha/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1434 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1436 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1438 int sys_fork(struct lwp *, const void *, register_t *); 1440 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1442 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1444 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1446 int linux_sys_osf1_wait4(struct lwp *, const struct linux_sys_osf1_wait4_args *, register_t *); 1448 int linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *); 1450 int sys_link(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/i386/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1428 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1430 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1432 int sys_fork(struct lwp *, const void *, register_t *); 1434 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1436 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1438 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1440 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1442 int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *); 1444 int linux_sys_creat(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/mips/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1444 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1446 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1448 int sys_fork(struct lwp *, const void *, register_t *); 1450 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1452 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1454 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1456 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1458 int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *); 1460 int linux_sys_creat(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/linux/arch/arm/ |
H A D | linux_syscallargs.h | 14 struct lwp; 1410 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1412 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1414 int sys_fork(struct lwp *, const void *, register_t *); 1416 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1418 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1420 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1422 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1424 int linux_sys_waitpid(struct lwp *, const struct linux_sys_waitpid_args *, register_t *); 1426 int linux_sys_creat(struct lwp *, cons [all...] |
/netbsd-src/sys/compat/netbsd32/ |
H A D | netbsd32_syscallargs.h | 14 struct lwp; 2841 int netbsd32_syscall(struct lwp *, const struct netbsd32_syscall_args *, register_t *); 2843 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *); 2845 int sys_fork(struct lwp *, const void *, register_t *); 2847 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 2849 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 2851 int netbsd32_open(struct lwp *, const struct netbsd32_open_args *, register_t *); 2853 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 2855 int compat_50_netbsd32_wait4(struct lwp *, const struct compat_50_netbsd32_wait4_args *, register_t… 2857 int compat_43_netbsd32_ocreat(struct lwp *, const struct compat_43_netbsd32_ocreat_args *, register… [all …]
|
H A D | netbsd32_netbsd.c | 163 netbsd32_exit(struct lwp *l, const struct netbsd32_exit_args *uap, register_t *retval) in netbsd32_exit() 175 netbsd32_read(struct lwp *l, const struct netbsd32_read_args *uap, register_t *retval) in netbsd32_read() 194 netbsd32_write(struct lwp *l, const struct netbsd32_write_args *uap, register_t *retval) in netbsd32_write() 213 netbsd32_close(struct lwp *l, const struct netbsd32_close_args *uap, register_t *retval) in netbsd32_close() 225 netbsd32_open(struct lwp *l, const struct netbsd32_open_args *uap, register_t *retval) in netbsd32_open() 242 netbsd32_link(struct lwp *l, const struct netbsd32_link_args *uap, register_t *retval) in netbsd32_link() 256 netbsd32_unlink(struct lwp *l, const struct netbsd32_unlink_args *uap, register_t *retval) in netbsd32_unlink() 269 netbsd32_chdir(struct lwp *l, const struct netbsd32_chdir_args *uap, register_t *retval) in netbsd32_chdir() 282 netbsd32_fchdir(struct lwp *l, const struct netbsd32_fchdir_args *uap, register_t *retval) in netbsd32_fchdir() 295 netbsd32___mknod50(struct lwp *l, const struct netbsd32___mknod50_args *uap, register_t *retval) in netbsd32___mknod50() [all …]
|
/netbsd-src/sys/sys/ |
H A D | syscallargs.h | 23 struct lwp; 3427 int sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *); 3429 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 3431 int sys_fork(struct lwp *, const void *, register_t *); 3433 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 3435 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 3437 int sys_open(struct lwp *, const struct sys_open_args *, register_t *); 3439 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 3441 int compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *); 3443 int compat_43_sys_creat(struct lwp *, cons [all...] |
H A D | ptrace.h | 247 int (*ptm_doregs)(struct lwp *, struct lwp *, struct uio *); 248 int (*ptm_dofpregs)(struct lwp *, struct lwp *, struct uio *); 249 int (*ptm_dodbregs)(struct lwp *, struct lwp *, struct uio *); 252 int ptrace_update_lwp(struct proc *t, struct lwp **lt, lwpid_t lid); 255 int process_doregs(struct lwp *, struct lwp *, struct uio *); 256 int process_validregs(struct lwp *); [all...] |
H A D | exec.h | 144 struct lwp; 150 typedef int (*exec_makecmds_fcn)(struct lwp *, struct exec_package *); 156 int (*elf_probe_func)(struct lwp *, 158 int (*ecoff_probe_func)(struct lwp *, struct exec_package *); 164 int (*es_copyargs)(struct lwp *, struct exec_package *, 167 void (*es_setregs)(struct lwp *, struct exec_package *, vaddr_t); 169 int (*es_coredump)(struct lwp *, struct coredump_iostate *); 170 int (*es_setup_stack)(struct lwp *, struct exec_package *); 236 int (*ev_proc)(struct lwp *, struct exec_vmcmd *); 256 int exec_makecmds (struct lwp *, struct exec_package *); [all …]
|
H A D | vfs_syscalls.h | 45 int do_sys_statat(struct lwp *, int, const char *, unsigned int, struct stat *); 46 int do_fhstat(struct lwp *, const void *, size_t, struct stat *); 47 int do_fhstatvfs(struct lwp *, const void *, size_t, struct statvfs *, int); 50 int do_sys_pstatvfs(struct lwp *, const char *, int, struct statvfs *); 51 int do_sys_fstatvfs(struct lwp *, int, int, struct statvfs *); 53 int do_sys_getvfsstat(struct lwp *, void *, size_t, int, int (*)(const void *, void *, size_t), siz… 55 int do_sys_utimes(struct lwp *, struct vnode *, const char *, int, 57 int do_sys_utimens(struct lwp *, struct vnode *, const char *, int, 59 int do_sys_utimensat(struct lwp *, int, struct vnode *, const char *, int, 63 int do_open(struct lwp *, struct vnode *, struct pathbuf *, int, int, int *); [all …]
|
H A D | sched.h | 161 struct lwp *spc_migrating; /* (: migrating LWP */ 178 TAILQ_HEAD(,lwp) *spc_queue; /* m: queue for each priority */ 233 void schedclock(struct lwp *); 234 void sched_schedclock(struct lwp *); 236 void sched_lwp_stats(struct lwp *); 237 void sched_pstats_hook(struct lwp *, int); 241 void sched_dequeue(struct lwp *); 242 void sched_enqueue(struct lwp *); 243 void sched_preempted(struct lwp *); 245 void sched_resched_lwp(struct lwp *, bool); [all …]
|
/netbsd-src/sys/miscfs/procfs/ |
H A D | procfs.h | 243 int procfs_donote(struct lwp *, struct proc *, struct pfsnode *, 245 int procfs_doregs(struct lwp *, struct lwp *, struct pfsnode *, 247 int procfs_dofpregs(struct lwp *, struct lwp *, struct pfsnode *, 249 int procfs_domem(struct lwp *, struct lwp *, struct pfsnode *, 251 int procfs_do_pid_stat(struct lwp *, struct lwp *, struct pfsnode *, 253 int procfs_dostatus(struct lwp *, struct lwp *, struct pfsnode *, 255 int procfs_domap(struct lwp *, struct proc *, struct pfsnode *, 257 int procfs_doprocargs(struct lwp *, struct proc *, struct pfsnode *, 259 int procfs_domeminfo(struct lwp *, struct proc *, struct pfsnode *, 261 int procfs_dodevices(struct lwp *, struct proc *, struct pfsnode *, [all …]
|
/netbsd-src/sys/nfs/ |
H A D | nfs_var.h | 71 struct buf *nfs_getcacheblk(struct vnode *, daddr_t, int, struct lwp *); 72 int nfs_vinvalbuf(struct vnode *, int, kauth_cred_t, struct lwp *, int); 73 int nfs_flushstalebuf(struct vnode *, kauth_cred_t, struct lwp *, int); 94 int nfs_null(struct vnode *, kauth_cred_t, struct lwp *); 95 int nfs_setattrrpc(struct vnode *, struct vattr *, kauth_cred_t, struct lwp *); 103 struct lwp *); 106 const char *, int, kauth_cred_t, struct lwp *); 112 struct lwp *, struct nfsnode **); 113 int nfs_commit(struct vnode *, off_t, uint32_t, struct lwp *); 114 int nfs_flush(struct vnode *, kauth_cred_t, int, struct lwp *, in [all...] |
/netbsd-src/sys/compat/linux/common/ |
H A D | linux_exec.h | 122 struct lwp *); 123 void linux_setregs(struct lwp *, struct exec_package *, vaddr_t); 125 int exec_linux_aout_makecmds(struct lwp *, struct exec_package *); 126 int linux_aout_copyargs(struct lwp *, struct exec_package *, 129 void linux_trapsignal(struct lwp *, ksiginfo_t *); 130 int linux_usertrap(struct lwp *, vaddr_t, void *); 131 int linux_lwp_setprivate(struct lwp *, void *); 134 void linux_e_proc_fork(struct proc *, struct lwp *, int); 136 void linux_e_lwp_fork(struct lwp *, struct lwp *); 137 void linux_e_lwp_exit(struct lwp *); [all …]
|