Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/syscallsubr.h
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
int kern_fstat(struct thread *td, int fd, struct stat *sbp); | int kern_fstat(struct thread *td, int fd, struct stat *sbp); | ||||
int kern_fstatfs(struct thread *td, int fd, struct statfs *buf); | int kern_fstatfs(struct thread *td, int fd, struct statfs *buf); | ||||
int kern_fsync(struct thread *td, int fd, bool fullsync); | int kern_fsync(struct thread *td, int fd, bool fullsync); | ||||
int kern_ftruncate(struct thread *td, int fd, off_t length); | int kern_ftruncate(struct thread *td, int fd, off_t length); | ||||
int kern_futimes(struct thread *td, int fd, struct timeval *tptr, | int kern_futimes(struct thread *td, int fd, struct timeval *tptr, | ||||
enum uio_seg tptrseg); | enum uio_seg tptrseg); | ||||
int kern_futimens(struct thread *td, int fd, struct timespec *tptr, | int kern_futimens(struct thread *td, int fd, struct timespec *tptr, | ||||
enum uio_seg tptrseg); | enum uio_seg tptrseg); | ||||
int kern_getdirentries(struct thread *td, int fd, char *buf, u_int count, | int kern_getdirentries(struct thread *td, int fd, char *buf, size_t count, | ||||
long *basep, ssize_t *residp, enum uio_seg bufseg); | off_t *basep, ssize_t *residp, enum uio_seg bufseg); | ||||
int kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize, | int kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize, | ||||
size_t *countp, enum uio_seg bufseg, int mode); | size_t *countp, enum uio_seg bufseg, int mode); | ||||
int kern_getitimer(struct thread *, u_int, struct itimerval *); | int kern_getitimer(struct thread *, u_int, struct itimerval *); | ||||
int kern_getppid(struct thread *); | int kern_getppid(struct thread *); | ||||
int kern_getpeername(struct thread *td, int fd, struct sockaddr **sa, | int kern_getpeername(struct thread *td, int fd, struct sockaddr **sa, | ||||
socklen_t *alen); | socklen_t *alen); | ||||
int kern_getrusage(struct thread *td, int who, struct rusage *rup); | int kern_getrusage(struct thread *td, int who, struct rusage *rup); | ||||
int kern_getsockname(struct thread *td, int fd, struct sockaddr **sa, | int kern_getsockname(struct thread *td, int fd, struct sockaddr **sa, | ||||
Show All 23 Lines | int kern_lutimes(struct thread *td, char *path, enum uio_seg pathseg, | ||||
struct timeval *tptr, enum uio_seg tptrseg); | struct timeval *tptr, enum uio_seg tptrseg); | ||||
int kern_madvise(struct thread *td, uintptr_t addr, size_t len, int behav); | int kern_madvise(struct thread *td, uintptr_t addr, size_t len, int behav); | ||||
int kern_mincore(struct thread *td, uintptr_t addr, size_t len, char *vec); | int kern_mincore(struct thread *td, uintptr_t addr, size_t len, char *vec); | ||||
int kern_mkdirat(struct thread *td, int fd, char *path, | int kern_mkdirat(struct thread *td, int fd, char *path, | ||||
enum uio_seg segflg, int mode); | enum uio_seg segflg, int mode); | ||||
int kern_mkfifoat(struct thread *td, int fd, char *path, | int kern_mkfifoat(struct thread *td, int fd, char *path, | ||||
enum uio_seg pathseg, int mode); | enum uio_seg pathseg, int mode); | ||||
int kern_mknodat(struct thread *td, int fd, char *path, | int kern_mknodat(struct thread *td, int fd, char *path, | ||||
enum uio_seg pathseg, int mode, int 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 size, int prot, | int kern_mmap(struct thread *td, uintptr_t addr, size_t size, int prot, | ||||
int flags, int fd, off_t pos); | int flags, int fd, off_t pos); | ||||
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); | ||||
▲ Show 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status, | ||||
int options, struct __wrusage *wrup, siginfo_t *sip); | int options, struct __wrusage *wrup, siginfo_t *sip); | ||||
int kern_writev(struct thread *td, int fd, struct uio *auio); | int kern_writev(struct thread *td, int fd, struct uio *auio); | ||||
int kern_socketpair(struct thread *td, int domain, int type, int protocol, | int kern_socketpair(struct thread *td, int domain, int type, int protocol, | ||||
int *rsv); | int *rsv); | ||||
/* flags for kern_sigaction */ | /* flags for kern_sigaction */ | ||||
#define KSA_OSIGSET 0x0001 /* uses osigact_t */ | #define KSA_OSIGSET 0x0001 /* uses osigact_t */ | ||||
#define KSA_FREEBSD4 0x0002 /* uses ucontext4 */ | #define KSA_FREEBSD4 0x0002 /* uses ucontext4 */ | ||||
struct freebsd11_dirent; | |||||
int freebsd11_kern_getdirentries(struct thread *td, int fd, char *ubuf, u_int | |||||
count, long *basep, void (*func)(struct freebsd11_dirent *)); | |||||
#endif /* !_SYS_SYSCALLSUBR_H_ */ | #endif /* !_SYS_SYSCALLSUBR_H_ */ |