Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/fs/
Dopen.c229 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate()
326 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate()
338 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
397 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat()
469 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
474 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
480 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
566 int chmod_common(const struct path *path, umode_t mode) in chmod_common()
596 int vfs_fchmod(struct file *file, umode_t mode) in vfs_fchmod()
602 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
[all …]
Dattr.c39 umode_t mode = inode->i_mode; in setattr_should_drop_sgid() local
70 umode_t mode = inode->i_mode; in setattr_should_drop_suidgid() local
322 umode_t mode = attr->ia_mode; in setattr_copy() local
393 umode_t mode = inode->i_mode; in notify_change() local
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()
Dposix_acl.c294 umode_t mode = 0; in posix_acl_equiv_mode() local
337 posix_acl_from_mode(umode_t mode, gfp_t flags) in posix_acl_from_mode()
443 umode_t mode = *mode_p; in posix_acl_create_masq() local
496 static int __posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in __posix_acl_chmod_masq()
560 __posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in __posix_acl_chmod()
592 umode_t mode) in posix_acl_chmod()
619 posix_acl_create(struct inode *dir, umode_t *mode, in posix_acl_create()
695 umode_t mode = inode->i_mode; in posix_acl_update_mode() local
Dbad_inode.c32 umode_t mode, bool excl) in bad_inode_create()
62 struct dentry *dentry, umode_t mode) in bad_inode_mkdir()
73 struct dentry *dentry, umode_t mode, dev_t rdev) in bad_inode_mknod()
151 umode_t mode) in bad_inode_tmpfile()
/fs/debugfs/
Dfile.c420 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
466 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8()
502 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16()
538 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32()
575 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64()
614 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong()
659 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8()
677 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16()
695 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32()
713 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x64()
[all …]
/fs/ramfs/
Dinode.c44 umode_t mode; member
57 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
98 struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
113 struct dentry *dentry, umode_t mode) in ramfs_mkdir()
122 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
148 struct inode *dir, struct dentry *dentry, umode_t mode) in ramfs_tmpfile()
/fs/configfs/
Dinode.c78 umode_t mode = iattr->ia_mode; in configfs_setattr() local
88 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr()
105 struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, in configfs_new_inode()
157 struct inode *configfs_create(struct dentry *dentry, umode_t mode) in configfs_create()
/fs/xfs/scrub/
Dinode.c72 uint16_t mode, in xchk_inode_extsize()
108 uint16_t mode, in xchk_inode_cowextsize()
127 uint16_t mode, in xchk_inode_flags()
172 uint16_t mode, in xchk_inode_flags2()
237 uint16_t mode; in xchk_dinode() local
/fs/proc/
Dgeneric.c394 umode_t mode, in __proc_create()
482 struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode, in _proc_mkdir()
504 struct proc_dir_entry *proc_mkdir_data(const char *name, umode_t mode, in proc_mkdir_data()
511 struct proc_dir_entry *proc_mkdir_mode(const char *name, umode_t mode, in proc_mkdir_mode()
527 umode_t mode = S_IFDIR | S_IRUGO | S_IXUGO; in proc_create_mount_point() local
541 struct proc_dir_entry *proc_create_reg(const char *name, umode_t mode, in proc_create_reg()
567 struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, in proc_create_data()
582 struct proc_dir_entry *proc_create(const char *name, umode_t mode, in proc_create()
616 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode, in proc_create_seq_private()
647 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode, in proc_create_single_data()
Dproc_net.c104 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode, in proc_create_net_data()
146 struct proc_dir_entry *proc_create_net_data_write(const char *name, umode_t mode, in proc_create_net_data_write()
197 struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode, in proc_create_net_single()
238 struct proc_dir_entry *proc_create_net_single_write(const char *name, umode_t mode, in proc_create_net_single_write()
/fs/9p/
Dvfs_inode.c49 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) in unixmode2p9mode()
88 int mode = stat->mode; in p9mode2perm() local
115 u32 mode = stat->mode; in p9mode2unixmode() local
252 struct inode *inode, umode_t mode, dev_t rdev) in v9fs_init_inode()
351 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) in v9fs_get_inode()
599 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create()
685 struct dentry *dentry, umode_t mode, bool excl) in v9fs_vfs_create()
712 struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir()
804 struct file *file, unsigned int flags, umode_t mode) in v9fs_vfs_atomic_open()
1151 umode_t mode; in v9fs_stat2inode() local
[all …]
/fs/minix/
Dnamei.c37 struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
56 struct dentry *dentry, umode_t mode) in minix_tmpfile()
69 struct dentry *dentry, umode_t mode, bool excl) in minix_create()
115 struct dentry *dentry, umode_t mode) in minix_mkdir()
/fs/ceph/
Dutil.c57 int mode; in ceph_flags_to_mode() local
84 int ceph_caps_for_mode(int mode) in ceph_caps_for_mode()
/fs/f2fs/
Dacl.c211 umode_t mode = inode->i_mode; in f2fs_acl_update_mode() local
237 umode_t mode = inode->i_mode; in __f2fs_set_acl() local
311 umode_t mode = *mode_p; in f2fs_acl_create_masq() local
361 static int f2fs_acl_create(struct inode *dir, umode_t *mode, in f2fs_acl_create()
/fs/vboxsf/
Ddir.c59 static unsigned int vboxsf_get_d_type(u32 mode) in vboxsf_get_d_type()
256 umode_t mode, bool is_dir, bool excl, u64 *handle_ret) in vboxsf_dir_create()
299 umode_t mode, bool excl) in vboxsf_dir_mkfile()
306 umode_t mode) in vboxsf_dir_mkdir()
312 struct file *file, unsigned int flags, umode_t mode) in vboxsf_dir_atomic_open()
/fs/ext2/
Dnamei.c104 umode_t mode, bool excl) in ext2_create()
123 struct dentry *dentry, umode_t mode) in ext2_tmpfile()
137 struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
232 struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
/fs/xfs/libxfs/
Dxfs_inode_buf.c340 mode_t mode = be16_to_cpu(dip->di_mode); in xfs_dinode_verify_fork() local
423 uint16_t mode; in xfs_dinode_verify() local
595 uint16_t mode, in xfs_inode_validate_extsize()
685 uint16_t mode, in xfs_inode_validate_cowextsize()
/fs/hostfs/
Dhostfs_user.c57 int mode = 0; in access_file() local
72 int mode = 0, fd; in open_file() local
184 int file_create(char *name, int mode) in file_create()
297 int do_mkdir(const char *file, int mode) in do_mkdir()
317 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod()
/fs/hfsplus/
Ddir.c225 u16 mode; in hfsplus_readdir() local
480 struct dentry *dentry, umode_t mode, dev_t rdev) in hfsplus_mknod()
521 struct dentry *dentry, umode_t mode, bool excl) in hfsplus_create()
527 struct dentry *dentry, umode_t mode) in hfsplus_mkdir()
/fs/orangefs/
Dnamei.c21 umode_t mode, in orangefs_create()
229 int mode = 0755; in orangefs_symlink() local
309 struct dentry *dentry, umode_t mode) in orangefs_mkdir()
/fs/xfs/
Dxfs_iops.c100 int mode) in xfs_dentry_mode_to_name()
166 umode_t mode, in xfs_generic_create()
261 umode_t mode, in xfs_vn_mknod()
272 umode_t mode, in xfs_vn_create()
283 umode_t mode) in xfs_vn_mkdir()
412 umode_t mode; in xfs_vn_symlink() local
1103 umode_t mode) in xfs_vn_tmpfile()
/fs/ubifs/
Ddir.c47 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags()
78 umode_t mode, bool is_xattr) in ubifs_new_inode()
287 struct dentry *dentry, umode_t mode, bool excl) in ubifs_create()
358 umode_t mode = S_IFCHR | WHITEOUT_MODE; in create_whiteout() local
424 struct dentry *dentry, umode_t mode) in ubifs_tmpfile()
977 struct dentry *dentry, umode_t mode) in ubifs_mkdir()
1050 struct dentry *dentry, umode_t mode, dev_t rdev) in ubifs_mknod()
/fs/sysv/
Dnamei.c45 struct dentry *dentry, umode_t mode, dev_t rdev) in sysv_mknod()
65 struct dentry *dentry, umode_t mode, bool excl) in sysv_create()
114 struct dentry *dentry, umode_t mode) in sysv_mkdir()
/fs/ufs/
Dnamei.c73 struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
90 struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
170 struct dentry * dentry, umode_t mode) in ufs_mkdir()

12345678910>>...12