Lines Matching defs:path
72 char *path;
75 LCONVPATHEXIST(td, args->path, &path);
78 printf(ARGS(creat, "%s, %d"), path, args->mode);
80 error = kern_openat(td, AT_FDCWD, path, UIO_SYSSPACE,
82 LFREEPATH(path);
88 linux_common_open(struct thread *td, int dirfd, char *path, int l_flags, int mode)
133 error = kern_openat(td, dirfd, path, UIO_SYSSPACE, bsd_flags, mode);
170 LFREEPATH(path);
177 char *path;
182 LCONVPATH_AT(td, args->filename, &path, 1, dfd);
184 LCONVPATH_AT(td, args->filename, &path, 0, dfd);
188 path, args->flags, args->mode);
190 return (linux_common_open(td, dfd, path, args->flags, args->mode));
196 char *path;
199 LCONVPATHCREAT(td, args->path, &path);
201 LCONVPATHEXIST(td, args->path, &path);
205 path, args->flags, args->mode);
207 return (linux_common_open(td, AT_FDCWD, path, args->flags, args->mode));
553 char *path;
560 LCONVPATHEXIST(td, args->path, &path);
564 printf(ARGS(access, "%s, %d"), path, args->amode);
566 error = kern_accessat(td, AT_FDCWD, path, UIO_SYSSPACE, 0,
568 LFREEPATH(path);
576 char *path;
584 LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
588 printf(ARGS(access, "%s, %d"), path, args->amode);
591 error = kern_accessat(td, dfd, path, UIO_SYSSPACE, 0, args->amode);
592 LFREEPATH(path);
600 char *path;
604 LCONVPATHEXIST(td, args->path, &path);
608 printf(ARGS(unlink, "%s"), path);
611 error = kern_unlinkat(td, AT_FDCWD, path, UIO_SYSSPACE, 0);
614 if (kern_statat(td, 0, AT_FDCWD, path, UIO_SYSSPACE, &st,
620 LFREEPATH(path);
627 char *path;
635 LCONVPATHEXIST_AT(td, args->pathname, &path, dfd);
639 printf(ARGS(unlinkat, "%s"), path);
643 error = kern_rmdirat(td, dfd, path, UIO_SYSSPACE);
645 error = kern_unlinkat(td, dfd, path, UIO_SYSSPACE, 0);
648 if (kern_statat(td, AT_SYMLINK_NOFOLLOW, dfd, path,
652 LFREEPATH(path);
658 char *path;
661 LCONVPATHEXIST(td, args->path, &path);
665 printf(ARGS(chdir, "%s"), path);
667 error = kern_chdir(td, path, UIO_SYSSPACE);
668 LFREEPATH(path);
675 char *path;
678 LCONVPATHEXIST(td, args->path, &path);
682 printf(ARGS(chmod, "%s, %d"), path, args->mode);
684 error = kern_fchmodat(td, AT_FDCWD, path, UIO_SYSSPACE,
686 LFREEPATH(path);
693 char *path;
697 LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
701 printf(ARGS(fchmodat, "%s, %d"), path, args->mode);
704 error = kern_fchmodat(td, dfd, path, UIO_SYSSPACE, args->mode, 0);
705 LFREEPATH(path);
712 char *path;
715 LCONVPATHCREAT(td, args->path, &path);
719 printf(ARGS(mkdir, "%s, %d"), path, args->mode);
721 error = kern_mkdirat(td, AT_FDCWD, path, UIO_SYSSPACE, args->mode);
722 LFREEPATH(path);
729 char *path;
733 LCONVPATHCREAT_AT(td, args->pathname, &path, dfd);
737 printf(ARGS(mkdirat, "%s, %d"), path, args->mode);
739 error = kern_mkdirat(td, dfd, path, UIO_SYSSPACE, args->mode);
740 LFREEPATH(path);
747 char *path;
750 LCONVPATHEXIST(td, args->path, &path);
754 printf(ARGS(rmdir, "%s"), path);
756 error = kern_rmdirat(td, AT_FDCWD, path, UIO_SYSSPACE);
757 LFREEPATH(path);
814 char *path, *to;
817 LCONVPATHEXIST(td, args->path, &path);
818 /* Expand LCONVPATHCREATE so that `path' can be freed on errors */
821 LFREEPATH(path);
827 printf(ARGS(symlink, "%s, %s"), path, to);
829 error = kern_symlinkat(td, path, AT_FDCWD, to, UIO_SYSSPACE);
830 LFREEPATH(path);
838 char *path, *to;
842 LCONVPATHEXIST_AT(td, args->oldname, &path, dfd);
843 /* Expand LCONVPATHCREATE so that `path' can be freed on errors */
846 LFREEPATH(path);
852 printf(ARGS(symlinkat, "%s, %s"), path, to);
855 error = kern_symlinkat(td, path, dfd, to, UIO_SYSSPACE);
856 LFREEPATH(path);
887 LCONVPATHEXIST_AT(td, args->path, &name, dfd);
904 char *path;
907 LCONVPATHEXIST(td, args->path, &path);
911 printf(ARGS(truncate, "%s, %ld"), path, (long)args->length);
914 error = kern_truncate(td, path, UIO_SYSSPACE, args->length);
915 LFREEPATH(path);
923 char *path;
926 LCONVPATHEXIST(td, args->path, &path);
930 printf(ARGS(truncate64, "%s, %jd"), path, args->length);
933 error = kern_truncate(td, path, UIO_SYSSPACE, args->length);
934 LFREEPATH(path);
956 char *path, *to;
959 LCONVPATHEXIST(td, args->path, &path);
960 /* Expand LCONVPATHCREATE so that `path' can be freed on errors */
963 LFREEPATH(path);
969 printf(ARGS(link, "%s, %s"), path, to);
971 error = kern_linkat(td, AT_FDCWD, AT_FDCWD, path, to, UIO_SYSSPACE,
973 LFREEPATH(path);
981 char *path, *to;
989 LCONVPATHEXIST_AT(td, args->oldname, &path, olddfd);
990 /* Expand LCONVPATHCREATE so that `path' can be freed on errors */
993 LFREEPATH(path);
999 printf(ARGS(linkat, "%i, %s, %i, %s, %i"), args->olddfd, path,
1005 error = kern_linkat(td, olddfd, newdfd, path, to, UIO_SYSSPACE, follow);
1006 LFREEPATH(path);
1130 args2.path = args->path;
1141 bsd.path = args->path;
1460 char *path;
1463 LCONVPATHEXIST(td, args->path, &path);
1467 printf(ARGS(chown, "%s, %d, %d"), path, args->uid, args->gid);
1469 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE, args->uid,
1471 LFREEPATH(path);
1478 char *path;
1485 LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
1489 printf(ARGS(fchownat, "%s, %d, %d"), path, args->uid, args->gid);
1494 error = kern_fchownat(td, dfd, path, UIO_SYSSPACE, args->uid, args->gid,
1496 LFREEPATH(path);
1503 char *path;
1506 LCONVPATHEXIST(td, args->path, &path);
1510 printf(ARGS(lchown, "%s, %d, %d"), path, args->uid, args->gid);
1512 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE, args->uid,
1514 LFREEPATH(path);