Home
last modified time | relevance | path

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

12345678910>>...25

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dstat.d83 mode_t st_mode; in version()
131 mode_t st_mode; in version()
265 mode_t st_mode; in version()
326 mode_t st_mode; in version()
399 mode_t st_mode; in version()
444 mode_t st_mode; in version()
995 mode_t st_mode;
1047 mode_t st_mode;
1088 mode_t st_mode;
1127 mode_t st_mode; /* inode protection mode */
[all …]
H A Dipc.d92 mode_t mode; in version()
126 mode_t mode; in version()
149 mode_t mode; in version()
172 mode_t mode; in version()
195 mode_t mode; in version()
220 mode_t mode; in version()
233 mode_t mode; in version()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dsys_stat.in.h99 mode_t st_mode;
404 _GL_CXXALIAS_MDA_CAST (chmod, int, (const char *filename, mode_t mode));
406 _GL_CXXALIAS_SYS (chmod, int, (const char *filename, mode_t mode));
419 (int fd, char const *file, mode_t mode, int flag)
422 (int fd, char const *file, mode_t mode, int flag));
426 (int fd, char const *file, mode_t mode, int flag)
430 (int fd, char const *file, mode_t mode, int flag));
540 _GL_FUNCDECL_SYS (getumask, mode_t, (void));
542 _GL_CXXALIAS_SYS (getumask, mode_t, (void));
559 _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode)
[all …]
/netbsd-src/lib/libc/gen/
H A Dsetmode.c71 mode_t bits;
80 static BITCMD *addcmd(BITCMD *, mode_t, mode_t, mode_t, mode_t);
92 mode_t
93 getmode(const void *bbox, mode_t omode) in getmode()
96 mode_t clrval, newmode, value; in getmode()
174 set = addcmd(set, (mode_t)(a), (mode_t)(b), (mode_t)(c), (d)); \
186 mode_t mask, perm, permXbits, who; in setmode()
233 perm = (mode_t)lval; in setmode()
369 addcmd(BITCMD *set, mode_t op, mode_t who, mode_t oparg, mode_t mask) in addcmd()
397 set->bits = (mode_t)~0; in addcmd()
H A Ddevname.c66 devname_dblookup(dev_t dev, mode_t type, char *path, size_t len) in devname_dblookup()
91 devname_ptslookup(dev_t dev, mode_t type, char *path, size_t len) in devname_ptslookup()
106 devname_fts(dev_t dev, mode_t type, char *path, size_t len) in devname_fts()
139 devname_r(dev_t dev, mode_t type, char *path, size_t len) in devname_r()
162 devname(dev_t dev, mode_t type) in devname()
/netbsd-src/sys/sys/
H A Dstat.h61 mode_t st_mode; /* inode protection mode */
243 int chmod(const char *, mode_t);
244 int mkdir(const char *, mode_t);
245 int mkfifo(const char *, mode_t);
250 mode_t umask(mode_t);
258 int fchmod(int, mode_t);
260 int mknod(const char *, mode_t, dev_t) __RENAME(__mknod50);
268 int lchmod(const char *, mode_t);
277 int fchmodat(int, const char *, mode_t, int);
279 int mkdirat(int, const char *, mode_t);
[all …]
H A Dacl.h85 typedef mode_t oldacl_perm_t;
288 acl_perm_t acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode);
290 gid_t gid, mode_t mode);
291 mode_t acl_posix1e_perms_to_mode(
295 mode_t acl_posix1e_acl_to_mode(struct acl *acl);
296 mode_t acl_posix1e_newfilemode(mode_t cmode,
302 mode_t mode, int file_owner_id);
303 void __acl_nfs4_sync_mode_from_acl(mode_t *mode,
309 struct acl *child_aclp, mode_t mode,
368 void __acl_nfs4_sync_mode_from_acl(mode_t *_mode, const struct acl *_aclp);
H A Dvfs_syscalls.h73 int do_posix_mknodat(struct lwp *, int, const char *, mode_t, dev_t);
74 int do_sys_mknod(struct lwp *, const char *, mode_t, dev_t, enum uio_seg);
75 int do_sys_mknodat(struct lwp *, int, const char *, mode_t, dev_t, enum uio_seg);
79 int do_sys_mkdir(const char *, mode_t, enum uio_seg);
/netbsd-src/tools/compat/
H A Dgetmode.c39 mode_t *mp = malloc(sizeof(mode_t)); in setmode()
46 mode_t
47 getmode(const void *mp, mode_t mode) in getmode()
49 mode_t m; in getmode()
51 m = *((const mode_t *)mp); in getmode()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dmode_t.m41 # mode_t.m4 serial 2
7 # For using mode_t, it's sufficient to use AC_TYPE_MODE_T and
11 # promotion" (ISO C 6.5.2.2.(6)) of the type mode_t.
15 AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [
16 dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int',
20 [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])],
22 [gl_cv_promoted_mode_t='mode_t'])
25 [Define to the type that is the result of default argument promotions of type mode_t.])
/netbsd-src/lib/libukfs/
H A Dukfs.h83 int ukfs_create(struct ukfs *, const char *, mode_t);
84 int ukfs_mkdir(struct ukfs *, const char *, mode_t);
85 int ukfs_mknod(struct ukfs *, const char *, mode_t, dev_t);
86 int ukfs_mkfifo(struct ukfs *, const char *, mode_t);
100 int ukfs_chmod(struct ukfs *, const char *, mode_t);
101 int ukfs_lchmod(struct ukfs *, const char *, mode_t);
149 int ukfs_util_builddirs(struct ukfs *, const char *, mode_t);
/netbsd-src/sys/kern/
H A Dsubr_acl_posix1e.c61 acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode) in acl_posix1e_mode_to_perm()
104 acl_posix1e_mode_to_entry(acl_tag_t tag, uid_t uid, gid_t gid, mode_t mode) in acl_posix1e_mode_to_entry()
136 mode_t
140 mode_t mode; in acl_posix1e_perms_to_mode()
170 mode_t
322 mode_t
323 acl_posix1e_newfilemode(mode_t cmode, struct acl *dacl) in acl_posix1e_newfilemode()
325 mode_t mode; in acl_posix1e_newfilemode()
/netbsd-src/sys/miscfs/genfs/
H A Dgenfs.h58 int genfs_can_access(struct vnode *, kauth_cred_t, uid_t, gid_t, mode_t,
61 gid_t, mode_t, struct acl *, accmode_t);
63 mode_t, struct acl *, accmode_t);
64 int genfs_can_chmod(struct vnode *, kauth_cred_t, uid_t, gid_t, mode_t);
97 struct vnode *, mode_t, uid_t,
99 struct vnode *, mode_t, uid_t,
104 struct vnode *, mode_t, uid_t,
/netbsd-src/external/cddl/osnet/sys/sys/
H A Dacl.h94 typedef mode_t oldacl_perm_t;
297 acl_perm_t acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode);
299 gid_t gid, mode_t mode);
300 mode_t acl_posix1e_perms_to_mode(
304 mode_t acl_posix1e_acl_to_mode(struct acl *acl);
305 mode_t acl_posix1e_newfilemode(mode_t cmode,
311 mode_t mode, int file_owner_id);
312 void acl_nfs4_sync_mode_from_acl(mode_t *mode,
318 struct acl *child_aclp, mode_t mode,
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dfcntl.d801 int creat64(const scope char*, mode_t);
809 int creat(const scope char*, mode_t);
815 int creat(const scope char*, mode_t);
820 int creat(const scope char*, mode_t);
825 int creat(const scope char*, mode_t);
830 int creat(const scope char*, mode_t);
835 int creat(const scope char*, mode_t);
842 int creat(const scope char*, mode_t);
855 int creat64(const scope char*, mode_t);
863 int creat(const scope char*, mode_t);
[all …]
/netbsd-src/tests/lib/libc/c063/
H A Dt_mkfifoat.c58 mode_t mode = 0600; in ATF_TC_BODY()
75 mode_t mode = 0600; in ATF_TC_BODY()
90 mode_t mode = 0600; in ATF_TC_BODY()
103 mode_t mode = 0600; in ATF_TC_BODY()
121 mode_t mode = S_IFIFO | 0600; in ATF_TC_BODY()
/netbsd-src/bin/mkdir/
H A Dmkdir.c58 static int mkpath(char *, mode_t, mode_t);
66 mode_t mode, dir_mode; in main()
152 mkpath(char *path, mode_t mode, mode_t dir_mode) in mkpath()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dumask.c44 mode_t val = umask((mode_t) *mask); in umask_i4_sub()
56 mode_t val = umask((mode_t) *mask); in umask_i8_sub()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dumask.c44 mode_t val = umask((mode_t) *mask); in umask_i4_sub()
56 mode_t val = umask((mode_t) *mask); in umask_i8_sub()
/netbsd-src/external/cddl/osnet/dist/common/acl/
H A Dacl_common.h47 extern void adjust_ace_pair(ace_t *pair, mode_t mode);
48 extern void adjust_ace_pair_common(void *, size_t, size_t, mode_t);
61 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count);
62 void acl_trivial_access_masks(mode_t mode, boolean_t isdir,
/netbsd-src/include/
H A Ddb.h230 DB *dbopen(const char *, int, mode_t, DBTYPE, const void *);
236 DB *__bt_open(const char *, int, mode_t, const BTREEINFO *, int);
237 DB *__hash_open(const char *, int, mode_t, const HASHINFO *, int);
238 DB *__rec_open(const char *, int, mode_t, const RECNOINFO *, int);
241 int __dbopen(const char *, int, mode_t, struct stat *);
/netbsd-src/lib/librefuse/refuse/
H A Dv28.h50 int (*mknod) (const char *, mode_t, dev_t);
51 int (*mkdir) (const char *, mode_t);
57 int (*chmod) (const char *, mode_t);
79 int (*create) (const char *, mode_t, struct fuse_file_info *);
H A Dv25.h50 int (*mknod) (const char *, mode_t, dev_t);
51 int (*mkdir) (const char *, mode_t);
57 int (*chmod) (const char *, mode_t);
79 int (*create) (const char *, mode_t, struct fuse_file_info *);
H A Dv34.h49 int (*mknod) (const char *, mode_t, dev_t);
50 int (*mkdir) (const char *, mode_t);
56 int (*chmod) (const char *, mode_t, struct fuse_file_info *fi);
77 int (*create) (const char *, mode_t, struct fuse_file_info *);
H A Dv35.h49 int (*mknod) (const char *, mode_t, dev_t);
50 int (*mkdir) (const char *, mode_t);
56 int (*chmod) (const char *, mode_t, struct fuse_file_info *fi);
77 int (*create) (const char *, mode_t, struct fuse_file_info *);

12345678910>>...25