Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/syscallsubr.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
struct rlimit; | struct rlimit; | ||||
struct rusage; | struct rusage; | ||||
struct sched_param; | struct sched_param; | ||||
union semun; | union semun; | ||||
struct sockaddr; | struct sockaddr; | ||||
struct stat; | struct stat; | ||||
struct thr_param; | struct thr_param; | ||||
struct uio; | struct uio; | ||||
struct vm_map; | |||||
typedef int (*mmap_check_fp_fn)(struct file *, int, int, int); | typedef int (*mmap_check_fp_fn)(struct file *, int, int, int); | ||||
struct mmap_req { | struct mmap_req { | ||||
vm_offset_t mr_hint; | vm_offset_t mr_hint; | ||||
vm_size_t mr_len; | vm_size_t mr_len; | ||||
int mr_prot; | int mr_prot; | ||||
int mr_flags; | int mr_flags; | ||||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
int kern_mkfifoat(struct thread *td, int fd, const char *path, | int kern_mkfifoat(struct thread *td, int fd, const char *path, | ||||
enum uio_seg pathseg, int mode); | enum uio_seg pathseg, int mode); | ||||
int kern_mknodat(struct thread *td, int fd, const char *path, | int kern_mknodat(struct thread *td, int fd, const char *path, | ||||
enum uio_seg pathseg, int mode, dev_t dev); | enum uio_seg pathseg, int mode, dev_t dev); | ||||
int kern_mlock(struct proc *proc, struct ucred *cred, uintptr_t addr, | int kern_mlock(struct proc *proc, struct ucred *cred, uintptr_t addr, | ||||
size_t len); | size_t len); | ||||
int kern_mmap(struct thread *td, uintptr_t addr, size_t len, int prot, | int kern_mmap(struct thread *td, uintptr_t addr, size_t len, int prot, | ||||
int flags, int fd, off_t pos); | int flags, int fd, off_t pos); | ||||
int kern_mmap_req(struct thread *td, const struct mmap_req *mrp); | int kern_mmap_racct_check(struct thread *td, struct vm_map *map, | ||||
vm_size_t size); | |||||
int kern_mmap_maxprot(struct proc *p, int prot); | int kern_mmap_maxprot(struct proc *p, int prot); | ||||
int kern_mmap_req(struct thread *td, const struct mmap_req *mrp); | |||||
int kern_mprotect(struct thread *td, uintptr_t addr, size_t size, int prot); | int kern_mprotect(struct thread *td, uintptr_t addr, size_t size, int prot); | ||||
int kern_msgctl(struct thread *, int, int, struct msqid_ds *); | int kern_msgctl(struct thread *, int, int, struct msqid_ds *); | ||||
int kern_msgrcv(struct thread *, int, void *, size_t, long, int, long *); | int kern_msgrcv(struct thread *, int, void *, size_t, long, int, long *); | ||||
int kern_msgsnd(struct thread *, int, const void *, size_t, int, long); | int kern_msgsnd(struct thread *, int, const void *, size_t, int, long); | ||||
int kern_msync(struct thread *td, uintptr_t addr, size_t size, int flags); | int kern_msync(struct thread *td, uintptr_t addr, size_t size, int flags); | ||||
int kern_munlock(struct thread *td, uintptr_t addr, size_t size); | int kern_munlock(struct thread *td, uintptr_t addr, size_t size); | ||||
int kern_munmap(struct thread *td, uintptr_t addr, size_t size); | int kern_munmap(struct thread *td, uintptr_t addr, size_t size); | ||||
int kern_nanosleep(struct thread *td, struct timespec *rqt, | int kern_nanosleep(struct thread *td, struct timespec *rqt, | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |