Home
last modified time | relevance | path

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

123456789

/fs/debugfs/
Dfile.c313 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
369 struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
415 struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
461 struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
508 struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
557 struct dentry *debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong()
603 struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
621 struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
639 struct dentry *debugfs_create_x32(const char *name, umode_t mode, in debugfs_create_x32()
657 struct dentry *debugfs_create_x64(const char *name, umode_t mode, in debugfs_create_x64()
[all …]
/fs/
Dbad_inode.c30 umode_t mode, bool excl) in bad_inode_create()
59 umode_t mode) in bad_inode_mkdir()
70 umode_t mode, dev_t rdev) in bad_inode_mknod()
137 umode_t create_mode, int *opened) in bad_inode_atomic_open()
143 umode_t mode) in bad_inode_tmpfile()
Dposix_acl.c278 posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p) in posix_acl_equiv_mode()
281 umode_t mode = 0; in posix_acl_equiv_mode()
324 posix_acl_from_mode(umode_t mode, gfp_t flags) in posix_acl_from_mode()
415 static int posix_acl_create_masq(struct posix_acl *acl, umode_t *mode_p) in posix_acl_create_masq()
419 umode_t mode = *mode_p; in posix_acl_create_masq()
472 static int __posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in __posix_acl_chmod_masq()
518 __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p) in __posix_acl_create()
536 __posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in __posix_acl_chmod()
554 posix_acl_chmod(struct inode *inode, umode_t mode) in posix_acl_chmod()
581 posix_acl_create(struct inode *dir, umode_t *mode, in posix_acl_create()
[all …]
Dopen.c546 static int chmod_common(const struct path *path, umode_t mode) in chmod_common()
575 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
588 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE3() argument
606 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument
934 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
1016 struct file *file_open_name(struct filename *name, int flags, umode_t mode) in file_open_name()
1034 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open()
1048 const char *filename, int flags, umode_t mode) in file_open_root()
1078 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open()
1106 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) in SYSCALL_DEFINE3() argument
[all …]
Dattr.c175 umode_t mode = attr->ia_mode; in setattr_copy()
208 umode_t mode = inode->i_mode; in notify_change2()
236 umode_t amode = attr->ia_mode; in notify_change2()
/fs/udf/
Dudf_sb.h52 #define UDF_INVALID_MODE ((umode_t)-1)
133 umode_t s_umask;
136 umode_t s_fmode;
137 umode_t s_dmode;
/fs/ramfs/
Dinode.c42 umode_t mode;
62 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
102 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
116 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir()
124 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
/fs/configfs/
Dconfigfs_internal.h54 umode_t s_mode;
82 extern struct inode * configfs_new_inode(umode_t mode, struct configfs_dirent *, struct super_block…
83 extern int configfs_create(struct dentry *, umode_t mode, void (*init)(struct inode *));
89 void *, umode_t, int, struct configfs_fragment *);
Dinode.c102 umode_t mode = iattr->ia_mode; in configfs_setattr()
112 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr()
129 struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, in configfs_new_inode()
181 int configfs_create(struct dentry * dentry, umode_t mode, void (*init)(struct inode *)) in configfs_create()
/fs/cifs/
Dcifsfs.h65 extern int cifs_create(struct inode *, struct dentry *, umode_t,
68 struct file *, unsigned, umode_t,
74 extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
75 extern int cifs_mkdir(struct inode *, struct dentry *, umode_t);
Dcifs_fs_sb.h67 umode_t mnt_file_mode;
68 umode_t mnt_dir_mode;
/fs/isofs/
Disofs.h57 umode_t s_fmode;
58 umode_t s_dmode;
64 #define ISOFS_INVALID_MODE ((umode_t) -1)
/fs/overlayfs/
Doverlayfs.h98 umode_t mode, bool debug) in ovl_do_create()
107 umode_t mode, bool debug) in ovl_do_mkdir()
116 umode_t mode, dev_t dev, bool debug) in ovl_do_mknod()
176 static inline struct dentry *ovl_do_tmpfile(struct dentry *dentry, umode_t mode) in ovl_do_tmpfile()
293 struct inode *ovl_new_inode(struct super_block *sb, umode_t mode, dev_t rdev);
311 umode_t mode;
/fs/minix/
Dnamei.c40 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
58 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
70 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
116 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
/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()
385 struct dentry *dentry, umode_t omode) in v9fs_vfs_mkdir_dotl()
392 umode_t mode; in v9fs_vfs_mkdir_dotl()
619 umode_t mode; in v9fs_stat2inode_dotl()
818 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_mknod_dotl()
824 umode_t mode; in v9fs_vfs_mknod_dotl()
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()
370 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) in v9fs_get_inode()
513 umode_t umode; in v9fs_qid_iget()
727 v9fs_vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in v9fs_vfs_create()
753 static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir()
849 struct file *file, unsigned flags, umode_t mode, in v9fs_vfs_atomic_open()
1169 umode_t mode; in v9fs_stat2inode()
1380 v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in v9fs_vfs_mknod()
Dv9fs_vfs.h62 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t);
64 struct inode *inode, umode_t mode, dev_t);
/fs/proc/
Dgeneric.c342 umode_t mode, in __proc_create()
411 struct proc_dir_entry *proc_mkdir_data(const char *name, umode_t mode, in proc_mkdir_data()
435 struct proc_dir_entry *proc_mkdir_mode(const char *name, umode_t mode, in proc_mkdir_mode()
451 umode_t mode = S_IFDIR | S_IRUGO | S_IXUGO; in proc_create_mount_point()
470 struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, in proc_create_data()
504 struct proc_dir_entry *proc_create(const char *name, umode_t mode, in proc_create()
/fs/hfs/
Dhfs_fs.h150 umode_t s_file_umask; /* The umask applied to the
152 umode_t s_dir_umask; /* The umask applied to the
204 extern struct inode *hfs_new_inode(struct inode *, const struct qstr *, umode_t);
/fs/affs/
Daffs.h93 umode_t s_mode; /* mode to override */
143 extern umode_t affs_prot_to_mode(u32 prot);
170 extern int affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool);
171 extern int affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
/fs/f2fs/
Dacl.c210 umode_t mode = inode->i_mode; in __f2fs_set_acl()
278 static int f2fs_acl_create_masq(struct posix_acl *acl, umode_t *mode_p) in f2fs_acl_create_masq()
282 umode_t mode = *mode_p; in f2fs_acl_create_masq()
332 static int f2fs_acl_create(struct inode *dir, umode_t *mode, in f2fs_acl_create()
/fs/ntfs/
Dvolume.h52 umode_t fmask; /* The mask for file permissions. */
53 umode_t dmask; /* The mask for directory
/fs/ext2/
Dnamei.c96 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
121 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
141 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
238 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
/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()

123456789