H A D | vfs_syscalls.c | 97 static int kern_chflagsat(struct thread *td, int fd, const char *path, 99 static int setfflags(struct thread *td, struct vnode *, u_long); 103 static int setutimes(struct thread *td, struct vnode *, 106 struct thread *td); 118 sys_sync(struct thread *td, struct sync_args *uap) argument 157 sys_quotactl(struct thread *td, struct quotactl_args *uap) argument 165 if (!prison_allow(td->td_ucred, PR_ALLOW_QUOTAS)) 168 uap->path, td); 240 kern_do_statfs(struct thread *td, struct mount *mp, struct statfs *buf) argument 252 error = mac_mount_check_stat(td 286 sys_statfs(struct thread *td, struct statfs_args *uap) argument 300 kern_statfs(struct thread *td, char *path, enum uio_seg pathseg, struct statfs *buf) argument 329 sys_fstatfs(struct thread *td, struct fstatfs_args *uap) argument 343 kern_fstatfs(struct thread *td, int fd, struct statfs *buf) argument 379 sys_getfsstat(struct thread *td, struct getfsstat_args *uap) argument 399 kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize, size_t *countp, enum uio_seg bufseg, int mode) argument 538 freebsd4_statfs(struct thread *td, struct freebsd4_statfs_args *uap) argument 564 freebsd4_fstatfs(struct thread *td, struct freebsd4_fstatfs_args *uap) argument 591 freebsd4_getfsstat(struct thread *td, struct freebsd4_getfsstat_args *uap) argument 633 freebsd4_fhstatfs(struct thread *td, struct freebsd4_fhstatfs_args *uap) argument 695 sys_fchdir(struct thread *td, struct fchdir_args *uap) argument 742 sys_chdir(struct thread *td, struct chdir_args *uap) argument 749 kern_chdir(struct thread *td, char *path, enum uio_seg pathseg) argument 778 sys_chroot(struct thread *td, struct chroot_args *uap) argument 816 change_dir(struct vnode *vp, struct thread *td) argument 880 sys_open(struct thread *td, struct open_args *uap) argument 896 sys_openat(struct thread *td, struct openat_args *uap) argument 905 kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int flags, int mode) argument 1054 ocreat(struct thread *td, struct ocreat_args *uap) argument 1073 sys_mknod(struct thread *td, struct mknod_args *uap) argument 1089 sys_mknodat(struct thread *td, struct mknodat_args *uap) argument 1097 kern_mknodat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int mode, int dev) argument 1204 sys_mkfifo(struct thread *td, struct mkfifo_args *uap) argument 1219 sys_mkfifoat(struct thread *td, struct mkfifoat_args *uap) argument 1227 kern_mkfifoat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int mode) argument 1291 sys_link(struct thread *td, struct link_args *uap) argument 1308 sys_linkat(struct thread *td, struct linkat_args *uap) argument 1360 kern_linkat(struct thread *td, int fd1, int fd2, char *path1, char *path2, enum uio_seg segflg, int follow) argument 1455 sys_symlink(struct thread *td, struct symlink_args *uap) argument 1470 sys_symlinkat(struct thread *td, struct symlinkat_args *uap) argument 1478 kern_symlinkat(struct thread *td, char *path1, int fd, char *path2, enum uio_seg segflg) argument 1553 sys_undelete(struct thread *td, struct undelete_args *uap) argument 1600 sys_unlink(struct thread *td, struct unlink_args *uap) argument 1614 sys_unlinkat(struct thread *td, struct unlinkat_args *uap) argument 1630 kern_unlinkat(struct thread *td, int fd, char *path, enum uio_seg pathseg, ino_t oldinum) argument 1709 sys_lseek(struct thread *td, struct lseek_args *uap) argument 1716 kern_lseek(struct thread *td, int fd, off_t offset, int whence) argument 1744 olseek(struct thread *td, struct olseek_args *uap) argument 1754 freebsd6_lseek(struct thread *td, struct freebsd6_lseek_args *uap) argument 1765 vn_access(struct vnode *vp, int user_flags, struct ucred *cred, struct thread *td) argument 1802 sys_access(struct thread *td, struct access_args *uap) argument 1818 sys_faccessat(struct thread *td, struct faccessat_args *uap) argument 1826 kern_accessat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int flag, int amode) argument 1883 sys_eaccess(struct thread *td, struct eaccess_args *uap) argument 1901 ostat(struct thread *td, struct ostat_args *uap) argument 1925 olstat(struct thread *td, struct olstat_args *uap) argument 1978 sys_stat(struct thread *td, struct stat_args *uap) argument 1999 sys_fstatat(struct thread *td, struct fstatat_args *uap) argument 2012 kern_statat(struct thread *td, int flag, int fd, char *path, enum uio_seg pathseg, struct stat *sbp, void (*hook)(struct vnode *vp, struct stat *sbp)) argument 2060 sys_lstat(struct thread *td, struct lstat_args *uap) argument 2105 sys_nstat(struct thread *td, struct nstat_args *uap) argument 2129 sys_nlstat(struct thread *td, struct nlstat_args *uap) argument 2153 sys_pathconf(struct thread *td, struct pathconf_args *uap) argument 2166 sys_lpathconf(struct thread *td, struct lpathconf_args *uap) argument 2174 kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg, int name, u_long flags) argument 2202 sys_readlink(struct thread *td, struct readlink_args *uap) argument 2217 sys_readlinkat(struct thread *td, struct readlinkat_args *uap) argument 2225 kern_readlinkat(struct thread *td, int fd, char *path, enum uio_seg pathseg, char *buf, enum uio_seg bufseg, size_t count) argument 2274 setfflags(struct thread *td, struct vnode *vp, u_long flags) argument 2321 sys_chflags(struct thread *td, struct chflags_args *uap) argument 2337 sys_chflagsat(struct thread *td, struct chflagsat_args *uap) argument 2360 sys_lchflags(struct thread *td, struct lchflags_args *uap) argument 2368 kern_chflagsat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, u_long flags, int atflag) argument 2397 sys_fchflags(struct thread *td, struct fchflags_args *uap) argument 2423 setfmode(struct thread *td, struct ucred *cred, struct vnode *vp, int mode) argument 2454 sys_chmod(struct thread *td, struct chmod_args *uap) argument 2470 sys_fchmodat(struct thread *td, struct fchmodat_args *uap) argument 2493 sys_lchmod(struct thread *td, struct lchmod_args *uap) argument 2501 kern_fchmodat(struct thread *td, int fd, char *path, enum uio_seg pathseg, mode_t mode, int flag) argument 2530 sys_fchmod(struct thread *td, struct fchmod_args *uap) argument 2551 setfown(struct thread *td, struct ucred *cred, struct vnode *vp, uid_t uid, gid_t gid) argument 2586 sys_chown(struct thread *td, struct chown_args *uap) argument 2603 sys_fchownat(struct thread *td, struct fchownat_args *uap) argument 2616 kern_fchownat(struct thread *td, int fd, char *path, enum uio_seg pathseg, int uid, int gid, int flag) argument 2647 sys_lchown(struct thread *td, struct lchown_args *uap) argument 2665 sys_fchown(struct thread *td, struct fchown_args *uap) argument 2763 setutimes(struct thread *td, struct vnode *vp, const struct timespec *ts, int numtimes, int nullflag) argument 2807 sys_utimes(struct thread *td, struct utimes_args *uap) argument 2822 sys_futimesat(struct thread *td, struct futimesat_args *uap) argument 2830 kern_utimesat(struct thread *td, int fd, char *path, enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg) argument 2861 sys_lutimes(struct thread *td, struct lutimes_args *uap) argument 2869 kern_lutimes(struct thread *td, char *path, enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg) argument 2897 sys_futimes(struct thread *td, struct futimes_args *uap) argument 2904 kern_futimes(struct thread *td, int fd, struct timeval *tptr, enum uio_seg tptrseg) argument 2930 sys_futimens(struct thread *td, struct futimens_args *uap) argument 2937 kern_futimens(struct thread *td, int fd, struct timespec *tptr, enum uio_seg tptrseg) argument 2965 sys_utimensat(struct thread *td, struct utimensat_args *uap) argument 2973 kern_utimensat(struct thread *td, int fd, char *path, enum uio_seg pathseg, struct timespec *tptr, enum uio_seg tptrseg, int flag) argument 3015 sys_truncate(struct thread *td, struct truncate_args *uap) argument 3022 kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, off_t length) argument 3075 otruncate(struct thread *td, struct otruncate_args *uap) argument 3085 freebsd6_truncate(struct thread *td, struct freebsd6_truncate_args *uap) argument 3092 freebsd6_ftruncate(struct thread *td, struct freebsd6_ftruncate_args *uap) argument 3100 kern_fsync(struct thread *td, int fd, bool fullsync) argument 3150 sys_fsync(struct thread *td, struct fsync_args *uap) argument 3157 sys_fdatasync(struct thread *td, struct fdatasync_args *uap) argument 3174 sys_rename(struct thread *td, struct rename_args *uap) argument 3190 sys_renameat(struct thread *td, struct renameat_args *uap) argument 3198 kern_renameat(struct thread *td, int oldfd, char *old, int newfd, char *new, enum uio_seg pathseg) argument 3339 sys_mkdir(struct thread *td, struct mkdir_args *uap) argument 3354 sys_mkdirat(struct thread *td, struct mkdirat_args *uap) argument 3361 kern_mkdirat(struct thread *td, int fd, char *path, enum uio_seg segflg, int mode) argument 3432 sys_rmdir(struct thread *td, struct rmdir_args *uap) argument 3439 kern_rmdirat(struct thread *td, int fd, char *path, enum uio_seg pathseg) argument 3515 ogetdirentries(struct thread *td, struct ogetdirentries_args *uap) argument 3527 kern_ogetdirentries(struct thread *td, struct ogetdirentries_args *uap, long *ploff) argument 3669 sys_getdirentries(struct thread *td, struct getdirentries_args *uap) argument 3684 kern_getdirentries(struct thread *td, int fd, char *buf, u_int count, long *basep, ssize_t *residp, enum uio_seg bufseg) argument 3767 sys_getdents(struct thread *td, struct getdents_args *uap) argument 3787 sys_umask(struct thread *td, struct umask_args *uap) argument 3809 sys_revoke(struct thread *td, struct revoke_args *uap) argument 3852 getvnode(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp) argument 3892 sys_lgetfh(struct thread *td, struct lgetfh_args *uap) argument 3925 sys_getfh(struct thread *td, struct getfh_args *uap) argument 3965 sys_fhopen(struct thread *td, struct fhopen_args *uap) argument 4049 sys_fhstat(struct thread *td, struct fhstat_args *uap) argument 4065 kern_fhstat(struct thread *td, struct fhandle fh, struct stat *sb) argument 4095 sys_fhstatfs(struct thread *td, struct fhstatfs_args *uap) argument 4113 kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf) argument 4155 kern_posix_fallocate(struct thread *td, int fd, off_t offset, off_t len) argument 4228 sys_posix_fallocate(struct thread *td, struct posix_fallocate_args *uap) argument 4243 kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len, int advice) argument 4363 sys_posix_fadvise(struct thread *td, struct posix_fadvise_args *uap) argument [all...] |