Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/syscallsubr.h
Show First 20 Lines • Show All 210 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, char *path, | int kern_readlinkat(struct thread *td, int fd, 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, char *old, int newfd, | int kern_renameat(struct thread *td, int oldfd, char *old, int newfd, | ||||
char *new, enum uio_seg pathseg); | char *new, enum uio_seg pathseg); | ||||
int kern_rmdirat(struct thread *td, int fd, char *path, | int kern_fdrmdirat(struct thread *td, int dfd, int fd, const char *path, | ||||
enum uio_seg pathseg); | enum uio_seg pathseg); | ||||
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 51 Lines • ▼ Show 20 Lines | |||||
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, char *path, enum uio_seg pathseg, | int kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, | ||||
off_t length); | off_t length); | ||||
int kern_unlinkat(struct thread *td, int fd, char *path, | int kern_unlinkat(struct thread *td, int fd, char *path, | ||||
enum uio_seg pathseg, ino_t oldinum); | |||||
int kern_fdunlinkat(struct thread *td, int dfd, int fd, const char *path, | |||||
kib: Why not const char *path ? | |||||
enum uio_seg pathseg, ino_t oldinum); | enum uio_seg pathseg, ino_t oldinum); | ||||
int kern_utimesat(struct thread *td, int fd, char *path, | int kern_utimesat(struct thread *td, int fd, 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, char *path, | int kern_utimensat(struct thread *td, int fd, 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 ?