Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/syscallsubr.h
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | |||||
int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset); | int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset); | ||||
int kern_readlinkat(struct thread *td, int fd, const char *path, | int kern_readlinkat(struct thread *td, int fd, const char *path, | ||||
enum uio_seg pathseg, char *buf, enum uio_seg bufseg, size_t count); | enum uio_seg pathseg, char *buf, enum uio_seg bufseg, size_t count); | ||||
int kern_readv(struct thread *td, int fd, struct uio *auio); | int kern_readv(struct thread *td, int fd, struct uio *auio); | ||||
int kern_recvit(struct thread *td, int s, struct msghdr *mp, | int kern_recvit(struct thread *td, int s, struct msghdr *mp, | ||||
enum uio_seg fromseg, struct mbuf **controlp); | enum uio_seg fromseg, struct mbuf **controlp); | ||||
int kern_renameat(struct thread *td, int oldfd, const char *old, int newfd, | int kern_renameat(struct thread *td, int oldfd, const char *old, int newfd, | ||||
const char *new, enum uio_seg pathseg); | const char *new, enum uio_seg pathseg); | ||||
int kern_rmdirat(struct thread *td, int fd, const char *path, | int kern_frmdirat(struct thread *td, int dfd, const char *path, int fd, | ||||
enum uio_seg pathseg, int flag); | enum uio_seg pathseg, int flag); | ||||
int kern_sched_getparam(struct thread *td, struct thread *targettd, | int kern_sched_getparam(struct thread *td, struct thread *targettd, | ||||
struct sched_param *param); | struct sched_param *param); | ||||
int kern_sched_getscheduler(struct thread *td, struct thread *targettd, | int kern_sched_getscheduler(struct thread *td, struct thread *targettd, | ||||
int *policy); | int *policy); | ||||
int kern_sched_setparam(struct thread *td, struct thread *targettd, | int kern_sched_setparam(struct thread *td, struct thread *targettd, | ||||
struct sched_param *param); | struct sched_param *param); | ||||
int kern_sched_setscheduler(struct thread *td, struct thread *targettd, | int kern_sched_setscheduler(struct thread *td, struct thread *targettd, | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | int kern_ktimer_settime(struct thread *td, int timer_id, int flags, | ||||
struct itimerspec *val, struct itimerspec *oval); | struct itimerspec *val, struct itimerspec *oval); | ||||
int kern_ktimer_gettime(struct thread *td, int timer_id, | int kern_ktimer_gettime(struct thread *td, int timer_id, | ||||
struct itimerspec *val); | struct itimerspec *val); | ||||
int kern_ktimer_getoverrun(struct thread *td, int timer_id); | int kern_ktimer_getoverrun(struct thread *td, int timer_id); | ||||
int kern_thr_alloc(struct proc *, int pages, struct thread **); | int kern_thr_alloc(struct proc *, int pages, struct thread **); | ||||
int kern_thr_exit(struct thread *td); | int kern_thr_exit(struct thread *td); | ||||
int kern_thr_new(struct thread *td, struct thr_param *param); | int kern_thr_new(struct thread *td, struct thr_param *param); | ||||
int kern_thr_suspend(struct thread *td, struct timespec *tsp); | int kern_thr_suspend(struct thread *td, struct timespec *tsp); | ||||
int kern_truncate(struct thread *td, const char *path, | int kern_truncate(struct thread *td, const char *path, | ||||
kib: Why not const char *path ? | |||||
enum uio_seg pathseg, off_t length); | enum uio_seg pathseg, off_t length); | ||||
int kern_unlinkat(struct thread *td, int fd, const char *path, | int kern_funlinkat(struct thread *td, int dfd, const char *path, int fd, | ||||
enum uio_seg pathseg, int flag, ino_t oldinum); | enum uio_seg pathseg, int flag, ino_t oldinum); | ||||
int kern_utimesat(struct thread *td, int fd, const char *path, | int kern_utimesat(struct thread *td, int fd, const char *path, | ||||
enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg); | enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg); | ||||
int kern_utimensat(struct thread *td, int fd, const char *path, | int kern_utimensat(struct thread *td, int fd, const char *path, | ||||
enum uio_seg pathseg, struct timespec *tptr, enum uio_seg tptrseg, | enum uio_seg pathseg, struct timespec *tptr, enum uio_seg tptrseg, | ||||
int follow); | int follow); | ||||
int kern_wait(struct thread *td, pid_t pid, int *status, int options, | int kern_wait(struct thread *td, pid_t pid, int *status, int options, | ||||
struct rusage *rup); | struct rusage *rup); | ||||
Show All 16 Lines |
Why not const char *path ?