Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 19 of 19) sorted by relevance

/io/
A Dtst-open-tmpfile.c39 wrap_open (const char *path, int flags, mode_t mode) in wrap_open() argument
41 int ret = open (path, flags, mode); in wrap_open()
53 wrap_openat (const char *path, int flags, mode_t mode) in wrap_openat() argument
55 int ret = openat (AT_FDCWD, path, flags, mode); in wrap_openat()
69 int ret = open64 (path, flags, mode); in wrap_open64()
83 int ret = openat64 (AT_FDCWD, path, flags, mode); in wrap_openat64()
157 int fd = wrapper (path, flags | O_TMPFILE, mode); in check_wrapper_flags_mode()
167 if (actual_mode != mode) in check_wrapper_flags_mode()
170 mode, actual_mode); in check_wrapper_flags_mode()
219 op, path, flags, mode); in check_wrapper_flags_mode()
[all …]
A Dlchmod.c24 lchmod (const char *file, mode_t mode) in lchmod() argument
26 return fchmodat (AT_FDCWD, file, mode, AT_SYMLINK_NOFOLLOW); in lchmod()
A Dcreat.c26 creat (const char *file, mode_t mode) in creat() argument
28 return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode); in creat()
A Dcreat64.c25 creat64 (const char *file, mode_t mode) in creat64() argument
27 return __open64 (file, O_WRONLY|O_CREAT|O_TRUNC, mode); in creat64()
A Dmknod.c22 __mknod (const char *path, mode_t mode, dev_t dev) in __mknod() argument
24 return __mknodat (AT_FDCWD, path, mode, dev); in __mknod()
A Dopenat.c33 int mode; in __openat() local
59 mode = va_arg (arg, int); in __openat()
62 ignore_value (mode); in __openat()
A Dopenat64.c31 int mode; in __openat64() local
57 mode = va_arg (arg, int); in __openat64()
60 ignore_value (mode); in __openat64()
A Dopen64.c29 int mode; in __libc_open64() local
41 mode = va_arg (arg, int); in __libc_open64()
A Dopen.c31 int mode; in __libc_open() local
43 mode = va_arg(arg, int); in __libc_open()
A Dmkfifo.c26 mkfifo (const char *path, mode_t mode) in mkfifo() argument
A Dfchmod.c25 __fchmod (int fd, mode_t mode) in __fchmod() argument
A Dmknodat.c22 __mknodat (int fd, const char *path, mode_t mode, dev_t dev) in __mknodat() argument
A Dmkdir.c26 __mkdir (const char *path, mode_t mode) in __mkdir() argument
A Dchmod.c25 __chmod (const char *file, mode_t mode) in __chmod() argument
A Dfchmodat.c27 fchmodat (int fd, const char *file, mode_t mode, int flag) in fchmodat() argument
A Dmkdirat.c27 mkdirat (int fd, const char *path, mode_t mode) in mkdirat() argument
A Dmkfifoat.c28 mkfifoat (int fd, const char *path, mode_t mode) in mkfifoat() argument
A Dtst-lchmod.c46 fchmodat_with_lchmod (int fd, const char *path, mode_t mode, int flags) in fchmodat_with_lchmod() argument
50 return chmod (path, mode); in fchmodat_with_lchmod()
54 return lchmod (path, mode); in fchmodat_with_lchmod()
/io/sys/
A Dstat.h123 #define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) argument
125 #define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) argument
126 #define S_ISCHR(mode) __S_ISTYPE((mode), __S_IFCHR) argument
127 #define S_ISBLK(mode) __S_ISTYPE((mode), __S_IFBLK) argument
128 #define S_ISREG(mode) __S_ISTYPE((mode), __S_IFREG) argument
130 # define S_ISFIFO(mode) __S_ISTYPE((mode), __S_IFIFO) argument
133 # define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) argument
137 # define S_ISLNK(mode) 0 argument
142 # define S_ISSOCK(mode) __S_ISTYPE((mode), __S_IFSOCK) argument
144 # define S_ISSOCK(mode) 0

Completed in 25 milliseconds