Home
last modified time | relevance | path

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

123456789

/fs/debugfs/
Dfile.c381 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
436 struct dentry *debugfs_create_u8(const char *name, umode_t mode, in debugfs_create_u8()
481 struct dentry *debugfs_create_u16(const char *name, umode_t mode, in debugfs_create_u16()
526 struct dentry *debugfs_create_u32(const char *name, umode_t mode, in debugfs_create_u32()
572 struct dentry *debugfs_create_u64(const char *name, umode_t mode, in debugfs_create_u64()
620 struct dentry *debugfs_create_ulong(const char *name, umode_t mode, in debugfs_create_ulong()
666 struct dentry *debugfs_create_x8(const char *name, umode_t mode, in debugfs_create_x8()
684 struct dentry *debugfs_create_x16(const char *name, umode_t mode, in debugfs_create_x16()
702 struct dentry *debugfs_create_x32(const char *name, umode_t mode, in debugfs_create_x32()
720 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) in bad_inode_atomic_open()
143 umode_t mode) in bad_inode_tmpfile()
Dopen.c556 static int chmod_common(const struct path *path, umode_t mode) in chmod_common()
585 int ksys_fchmod(unsigned int fd, umode_t mode) in ksys_fchmod()
598 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
603 int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat()
622 umode_t, mode) in SYSCALL_DEFINE3() argument
627 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument
970 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
1052 struct file *file_open_name(struct filename *name, int flags, umode_t mode) in file_open_name()
1070 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open()
1084 const char *filename, int flags, umode_t mode) in file_open_root()
[all …]
Dposix_acl.c279 posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p) in posix_acl_equiv_mode()
282 umode_t mode = 0; in posix_acl_equiv_mode()
325 posix_acl_from_mode(umode_t mode, gfp_t flags) in posix_acl_from_mode()
416 static int posix_acl_create_masq(struct posix_acl *acl, umode_t *mode_p) in posix_acl_create_masq()
420 umode_t mode = *mode_p; in posix_acl_create_masq()
473 static int __posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in __posix_acl_chmod_masq()
519 __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p) in __posix_acl_create()
537 __posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in __posix_acl_chmod()
555 posix_acl_chmod(struct inode *inode, umode_t mode) in posix_acl_chmod()
582 posix_acl_create(struct inode *dir, umode_t *mode, in posix_acl_create()
[all …]
Dinternal.h65 long do_mknodat(int dfd, const char __user *filename, umode_t mode,
67 long do_mkdirat(int dfd, const char __user *pathname, umode_t mode);
116 umode_t mode;
128 int do_fchmodat(int dfd, const char __user *filename, umode_t mode);
Dfs_types.c77 unsigned char fs_umode_to_ftype(umode_t mode) in fs_umode_to_ftype()
101 unsigned char fs_umode_to_dtype(umode_t mode) in fs_umode_to_dtype()
/fs/udf/
Dudf_sb.h51 #define UDF_INVALID_MODE ((umode_t)-1)
126 umode_t s_umask;
129 umode_t s_fmode;
130 umode_t s_dmode;
/fs/configfs/
Dconfigfs_internal.h40 umode_t s_mode;
68 extern struct inode * configfs_new_inode(umode_t mode, struct configfs_dirent *, struct super_block…
69 extern struct inode *configfs_create(struct dentry *, umode_t mode);
75 void *, umode_t, int, struct configfs_fragment *);
Dinode.c88 umode_t mode = iattr->ia_mode; in configfs_setattr()
98 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr()
115 struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, in configfs_new_inode()
167 struct inode *configfs_create(struct dentry *dentry, umode_t mode) in configfs_create()
/fs/ramfs/
Dinode.c44 umode_t mode;
64 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
104 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
118 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir()
126 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
/fs/cifs/
Dcifsfs.h65 extern int cifs_create(struct inode *, struct dentry *, umode_t,
68 struct file *, unsigned, umode_t);
73 extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
74 extern int cifs_mkdir(struct inode *, struct dentry *, umode_t);
Dcifs_fs_sb.h73 umode_t mnt_file_mode;
74 umode_t mnt_dir_mode;
/fs/proc/
Dgeneric.c377 umode_t mode, in __proc_create()
462 struct proc_dir_entry *proc_mkdir_data(const char *name, umode_t mode, in proc_mkdir_data()
484 struct proc_dir_entry *proc_mkdir_mode(const char *name, umode_t mode, in proc_mkdir_mode()
500 umode_t mode = S_IFDIR | S_IRUGO | S_IXUGO; in proc_create_mount_point()
517 struct proc_dir_entry *proc_create_reg(const char *name, umode_t mode, in proc_create_reg()
537 struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, in proc_create_data()
553 struct proc_dir_entry *proc_create(const char *name, umode_t mode, in proc_create()
586 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode, in proc_create_seq_private()
616 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode, in proc_create_single_data()
Dinternal.h60 umode_t mode;
124 void task_dump_owner(struct task_struct *task, umode_t mode,
158 extern struct inode *proc_pid_make_inode(struct super_block *, struct task_struct *, umode_t);
174 struct proc_dir_entry *proc_create_reg(const char *name, umode_t mode,
Dproc_net.c101 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode, in proc_create_net_data()
143 struct proc_dir_entry *proc_create_net_data_write(const char *name, umode_t mode, in proc_create_net_data_write()
194 struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode, in proc_create_net_single()
235 struct proc_dir_entry *proc_create_net_single_write(const char *name, umode_t mode, in proc_create_net_single_write()
/fs/isofs/
Disofs.h57 umode_t s_fmode;
58 umode_t s_dmode;
64 #define ISOFS_INVALID_MODE ((umode_t) -1)
/fs/minix/
Dnamei.c36 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
54 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
66 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
112 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.c36 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
221 v9fs_vfs_create_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_create_dotl()
229 struct file *file, unsigned flags, umode_t omode) in v9fs_vfs_atomic_open_dotl()
233 umode_t mode; in v9fs_vfs_atomic_open_dotl()
369 struct dentry *dentry, umode_t omode) in v9fs_vfs_mkdir_dotl()
376 umode_t mode; in v9fs_vfs_mkdir_dotl()
603 umode_t mode; in v9fs_stat2inode_dotl()
802 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_mknod_dotl()
808 umode_t mode; in v9fs_vfs_mknod_dotl()
Dvfs_inode.c49 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) in unixmode2p9mode()
110 static umode_t p9mode2unixmode(struct v9fs_session_info *v9ses, in p9mode2unixmode()
251 struct inode *inode, umode_t mode, dev_t rdev) in v9fs_init_inode()
349 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) in v9fs_get_inode()
492 umode_t umode; in v9fs_qid_iget()
724 v9fs_vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in v9fs_vfs_create()
750 static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir()
841 struct file *file, unsigned flags, umode_t mode) in v9fs_vfs_atomic_open()
1160 umode_t mode; in v9fs_stat2inode()
1371 v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in v9fs_vfs_mknod()
/fs/overlayfs/
Doverlayfs.h114 umode_t mode) in ovl_do_create()
123 umode_t mode) in ovl_do_mkdir()
131 umode_t mode, dev_t dev) in ovl_do_mknod()
186 static inline struct dentry *ovl_do_tmpfile(struct dentry *dentry, umode_t mode) in ovl_do_tmpfile()
383 struct inode *ovl_new_inode(struct super_block *sb, umode_t mode, dev_t rdev);
414 umode_t mode;
/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/ext2/
Dnamei.c95 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
113 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
126 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
222 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()

123456789