Home
last modified time | relevance | path

Searched refs:umode_t (Results 1 – 25 of 195) sorted by relevance

12345678

/fs/
Dposix_acl.c155 posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p) in posix_acl_equiv_mode()
158 umode_t mode = 0; in posix_acl_equiv_mode()
194 posix_acl_from_mode(umode_t mode, gfp_t flags) in posix_acl_from_mode()
284 static int posix_acl_create_masq(struct posix_acl *acl, umode_t *mode_p) in posix_acl_create_masq()
288 umode_t mode = *mode_p; in posix_acl_create_masq()
350 int posix_acl_update_mode(struct inode *inode, umode_t *mode_p, in posix_acl_update_mode()
353 umode_t mode = inode->i_mode; in posix_acl_update_mode()
372 static int posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in posix_acl_chmod_masq()
418 posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p) in posix_acl_create()
436 posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in posix_acl_chmod()
Dopen.c477 static int chmod_common(struct path *path, umode_t mode) in chmod_common()
499 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
513 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE3() argument
531 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument
834 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
906 struct file *file_open_name(struct filename *name, int flags, umode_t mode) in file_open_name()
924 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open()
945 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open()
969 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) in SYSCALL_DEFINE3() argument
978 umode_t, mode) in SYSCALL_DEFINE4() argument
[all …]
Dattr.c160 umode_t mode = attr->ia_mode; in setattr_copy()
173 umode_t mode = inode->i_mode; in notify_change2()
191 umode_t amode = attr->ia_mode; in notify_change2()
Dbad_inode.c176 umode_t mode, bool excl) in bad_inode_create()
205 umode_t mode) in bad_inode_mkdir()
216 umode_t mode, dev_t rdev) in bad_inode_mknod()
/fs/debugfs/
Dfile.c93 struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
145 struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
197 struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
250 struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
296 struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
320 struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
344 struct dentry *debugfs_create_x32(const char *name, umode_t mode, in debugfs_create_x32()
368 struct dentry *debugfs_create_x64(const char *name, umode_t mode, in debugfs_create_x64()
399 struct dentry *debugfs_create_size_t(const char *name, umode_t mode, in debugfs_create_size_t()
471 struct dentry *debugfs_create_bool(const char *name, umode_t mode, in debugfs_create_bool()
[all …]
Dinode.c37 static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev_t dev, in debugfs_get_inode()
74 umode_t mode, dev_t dev, void *data, in debugfs_mknod()
92 static int debugfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in debugfs_mkdir()
105 static int debugfs_link(struct inode *dir, struct dentry *dentry, umode_t mode, in debugfs_link()
112 static int debugfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in debugfs_create()
132 umode_t mode;
305 static struct dentry *__create_file(const char *name, umode_t mode, in __create_file()
383 struct dentry *debugfs_create_file(const char *name, umode_t mode, in debugfs_create_file()
/fs/udf/
Dudf_sb.h53 #define UDF_INVALID_MODE ((umode_t)-1)
129 umode_t s_umask;
132 umode_t s_fmode;
133 umode_t s_dmode;
/fs/configfs/
Dconfigfs_internal.h39 umode_t s_mode;
65 extern struct inode * configfs_new_inode(umode_t mode, struct configfs_dirent *, struct super_block…
66 extern int configfs_create(struct dentry *, umode_t mode, int (*init)(struct inode *));
72 struct dentry *, void *, umode_t, int);
Dinode.c107 umode_t mode = iattr->ia_mode; in configfs_setattr()
117 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr()
133 struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, in configfs_new_inode()
187 int configfs_create(struct dentry * dentry, umode_t mode, int (*init)(struct inode *)) in configfs_create()
/fs/ramfs/
Dinode.c55 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
95 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
109 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir()
117 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
160 umode_t mode;
/fs/cifs/
Dcifsfs.h51 extern int cifs_create(struct inode *, struct dentry *, umode_t,
54 struct file *, unsigned, umode_t,
60 extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
61 extern int cifs_mkdir(struct inode *, struct dentry *, umode_t);
Dcifs_fs_sb.h62 umode_t mnt_file_mode;
63 umode_t mnt_dir_mode;
/fs/isofs/
Disofs.h53 umode_t s_fmode;
54 umode_t s_dmode;
60 #define ISOFS_INVALID_MODE ((umode_t) -1)
/fs/9p/
Dacl.h23 extern int v9fs_acl_mode(struct inode *dir, umode_t *modep,
47 static inline int v9fs_acl_mode(struct inode *dir, umode_t *modep, in v9fs_acl_mode()
Dvfs_inode_dotl.c51 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
236 v9fs_vfs_create_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_create_dotl()
244 struct file *file, unsigned flags, umode_t omode, in v9fs_vfs_atomic_open_dotl()
249 umode_t mode; in v9fs_vfs_atomic_open_dotl()
392 struct dentry *dentry, umode_t omode) in v9fs_vfs_mkdir_dotl()
399 umode_t mode; in v9fs_vfs_mkdir_dotl()
631 umode_t mode; in v9fs_stat2inode_dotl()
833 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_mknod_dotl()
839 umode_t mode; in v9fs_vfs_mknod_dotl()
Dv9fs_vfs.h57 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t);
59 struct inode *inode, umode_t mode, dev_t);
Dvfs_inode.c64 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) in unixmode2p9mode()
125 static umode_t p9mode2unixmode(struct v9fs_session_info *v9ses, in p9mode2unixmode()
272 struct inode *inode, umode_t mode, dev_t rdev) in v9fs_init_inode()
363 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) in v9fs_get_inode()
505 umode_t umode; in v9fs_qid_iget()
722 v9fs_vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in v9fs_vfs_create()
748 static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir()
846 struct file *file, unsigned flags, umode_t mode, in v9fs_vfs_atomic_open()
1162 umode_t mode; in v9fs_stat2inode()
1426 v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in v9fs_vfs_mknod()
/fs/sysfs/
Dsysfs.h81 umode_t s_mode;
181 struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type);
232 const struct attribute *attr, int type, umode_t amode);
/fs/affs/
Daffs.h93 umode_t s_mode; /* mode to override */
138 extern umode_t prot_to_mode(u32 prot);
158 extern int affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool);
159 extern int affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
/fs/hfs/
Dhfs_fs.h149 umode_t s_file_umask; /* The umask applied to the
151 umode_t s_dir_umask; /* The umask applied to the
203 extern struct inode *hfs_new_inode(struct inode *, struct qstr *, umode_t);
/fs/xfs/
Dxfs_vnodeops.h28 int xfs_create(struct xfs_inode *dp, struct xfs_name *name, umode_t mode,
37 const char *target_path, umode_t mode, struct xfs_inode **ipp);
/fs/ntfs/
Dvolume.h52 umode_t fmask; /* The mask for file permissions. */
53 umode_t dmask; /* The mask for directory
/fs/minix/
Dnamei.c39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
57 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
103 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
/fs/gfs2/
Dacl.c71 static int gfs2_set_mode(struct inode *inode, umode_t mode) in gfs2_set_mode()
112 umode_t mode = inode->i_mode; in gfs2_acl_create()
270 umode_t mode = inode->i_mode; in gfs2_xattr_system_set()
/fs/sysv/
Dnamei.c64 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
83 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
131 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()

12345678