Home
last modified time | relevance | path

Searched refs:mode_t (Results 1 – 12 of 12) sorted by relevance

/tools/perf/util/
Dcopyfile.h12 int copyfile_mode(const char *from, const char *to, mode_t mode);
Dcopyfile.c73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns()
138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode()
Dutil.h22 int mkdir_p(char *path, mode_t mode);
Dutil.c91 int mkdir_p(char *path, mode_t mode) in mkdir_p()
/tools/include/nolibc/
Dstd.h39 typedef unsigned int mode_t; typedef
Dnolibc.h141 int sys_chmod(const char *path, mode_t mode) in sys_chmod()
291 int sys_mkdir(const char *path, mode_t mode) in sys_mkdir()
303 long sys_mknod(const char *path, mode_t mode, dev_t dev) in sys_mknod()
322 int sys_open(const char *path, int flags, mode_t mode) in sys_open()
459 mode_t sys_umask(mode_t mode) in sys_umask()
543 int chmod(const char *path, mode_t mode) in chmod()
773 int mkdir(const char *path, mode_t mode) in mkdir()
785 int mknod(const char *path, mode_t mode, dev_t dev) in mknod()
811 int open(const char *path, int flags, mode_t mode) in open()
986 mode_t umask(mode_t mode) in umask()
Dtypes.h120 mode_t st_mode; /* protection */
/tools/testing/selftests/filesystems/incfs/
Dutils.h42 size_t size, mode_t mode, char *attr);
/tools/testing/selftests/filesystems/fuse/
Dtest_fuse.h49 int s_mkdir(struct s pathname, mode_t mode);
54 int s_creat(struct s pathname, mode_t mode);
55 int s_mkfifo(struct s pathname, mode_t mode);
Dbpf_loader.c180 int s_mkdir(struct s pathname, mode_t mode) in s_mkdir()
234 res = open(pathname.s, flags, va_arg(ap, mode_t)); in s_open()
255 res = openat(dirfd, pathname.s, flags, va_arg(ap, mode_t)); in s_openat()
264 int s_creat(struct s pathname, mode_t mode) in s_creat()
278 int s_mkfifo(struct s pathname, mode_t mode) in s_mkfifo()
/tools/testing/selftests/memfd/
Dmemfd_test.c207 static int mfd_assert_open(int fd, int flags, mode_t mode) in mfd_assert_open()
222 static void mfd_fail_open(int fd, int flags, mode_t mode) in mfd_fail_open()
/tools/testing/selftests/landlock/
Dfs_test.c2071 const __u64 access, const mode_t mode, in test_make_file()