Lines Matching refs:pathseg

100     enum uio_seg pathseg, u_long flags);
102 enum uio_seg pathseg, u_long flags, int atflag);
323 kern_statfs(struct thread *td, char *path, enum uio_seg pathseg,
331 pathseg, path, td);
763 kern_chdir(struct thread *td, char *path, enum uio_seg pathseg)
771 pathseg, path, td);
1012 kern_open(struct thread *td, char *path, enum uio_seg pathseg, int flags,
1016 return (kern_openat(td, AT_FDCWD, path, pathseg, flags, mode));
1020 kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
1064 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path, fd,
1222 kern_mknod(struct thread *td, char *path, enum uio_seg pathseg, int mode,
1226 return (kern_mknodat(td, AT_FDCWD, path, pathseg, mode, dev));
1230 kern_mknodat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
1254 return (kern_mkfifoat(td, fd, path, pathseg, mode));
1265 NOCACHE, pathseg, path, fd, cap_rights_init(&rights, CAP_MKNODAT),
1364 kern_mkfifo(struct thread *td, char *path, enum uio_seg pathseg, int mode)
1367 return (kern_mkfifoat(td, AT_FDCWD, path, pathseg, mode));
1371 kern_mkfifoat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
1384 NOCACHE, pathseg, path, fd, cap_rights_init(&rights, CAP_MKFIFOAT),
1798 kern_unlink(struct thread *td, char *path, enum uio_seg pathseg)
1801 return (kern_unlinkat(td, AT_FDCWD, path, pathseg, 0));
1805 kern_unlinkat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
1818 pathseg, path, fd, cap_rights_init(&rights, CAP_UNLINKAT), td);
2029 kern_access(struct thread *td, char *path, enum uio_seg pathseg, int amode)
2032 return (kern_accessat(td, AT_FDCWD, path, pathseg, 0, amode));
2036 kern_accessat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
2059 AUDITVNODE1, pathseg, path, fd, cap_rights_init(&rights, CAP_FSTAT),
2098 kern_eaccess(struct thread *td, char *path, enum uio_seg pathseg, int amode)
2101 return (kern_accessat(td, AT_FDCWD, path, pathseg, AT_EACCESS, amode));
2240 kern_stat(struct thread *td, char *path, enum uio_seg pathseg, struct stat *sbp)
2243 return (kern_statat(td, 0, AT_FDCWD, path, pathseg, sbp));
2248 enum uio_seg pathseg, struct stat *sbp)
2251 return (kern_statat_vnhook(td, flag, fd, path, pathseg, sbp, NULL));
2256 enum uio_seg pathseg, struct stat *sbp,
2268 FOLLOW) | LOCKSHARED | LOCKLEAF | AUDITVNODE1, pathseg, path, fd,
2277 SDT_PROBE2(vfs, , stat, reg, path, pathseg);
2320 kern_lstat(struct thread *td, char *path, enum uio_seg pathseg, struct stat *sbp)
2323 return (kern_statat(td, AT_SYMLINK_NOFOLLOW, AT_FDCWD, path, pathseg,
2449 kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg, int name,
2456 pathseg, path, td);
2510 kern_readlink(struct thread *td, char *path, enum uio_seg pathseg, char *buf,
2514 return (kern_readlinkat(td, AT_FDCWD, path, pathseg, buf, bufseg,
2519 kern_readlinkat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
2532 pathseg, path, fd, td);
2652 kern_chflags(struct thread *td, const char *path, enum uio_seg pathseg,
2656 return (kern_chflagsat(td, AT_FDCWD, path, pathseg, flags, 0));
2677 enum uio_seg pathseg, u_long flags, int atflag)
2685 NDINIT_ATRIGHTS(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path, fd,
2805 kern_chmod(struct thread *td, char *path, enum uio_seg pathseg, int mode)
2808 return (kern_fchmodat(td, AT_FDCWD, path, pathseg, mode, 0));
2834 kern_fchmodat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
2843 NDINIT_ATRIGHTS(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path, fd,
2958 kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid,
2962 return (kern_fchownat(td, AT_FDCWD, path, pathseg, uid, gid, 0));
2966 kern_fchownat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
2975 NDINIT_ATRIGHTS(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path, fd,
3010 kern_lchown(struct thread *td, char *path, enum uio_seg pathseg, int uid,
3014 return (kern_fchownat(td, AT_FDCWD, path, pathseg, uid, gid,
3211 kern_utimes(struct thread *td, char *path, enum uio_seg pathseg,
3215 return (kern_utimesat(td, AT_FDCWD, path, pathseg, tptr, tptrseg));
3219 kern_utimesat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
3229 NDINIT_ATRIGHTS(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path, fd,
3263 kern_lutimes(struct thread *td, char *path, enum uio_seg pathseg,
3272 NDINIT(&nd, LOOKUP, NOFOLLOW | AUDITVNODE1, pathseg, path, td);
3374 kern_utimensat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
3388 FOLLOW) | AUDITVNODE1, pathseg, path, fd,
3429 kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, off_t length)
3440 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path, td);
3613 kern_rename(struct thread *td, char *from, char *to, enum uio_seg pathseg)
3616 return (kern_renameat(td, AT_FDCWD, from, AT_FDCWD, to, pathseg));
3621 enum uio_seg pathseg)
3633 AUDITVNODE1, pathseg, old, oldfd,
3637 pathseg, old, oldfd, cap_rights_init(&rights, CAP_RENAMEAT), td);
3651 SAVESTART | AUDITVNODE2, pathseg, new, newfd,
3875 kern_rmdir(struct thread *td, char *path, enum uio_seg pathseg)
3878 return (kern_rmdirat(td, AT_FDCWD, path, pathseg));
3882 kern_rmdirat(struct thread *td, int fd, char *path, enum uio_seg pathseg)
3893 pathseg, path, fd, cap_rights_init(&rights, CAP_UNLINKAT), td);