Home
last modified time | relevance | path

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

1234567891011

/fs/
Dopen.c238 int vfs_fallocate(struct file *file, int mode, loff_t offset, loff_t len) in vfs_fallocate()
335 int ksys_fallocate(int fd, int mode, loff_t offset, loff_t len) in ksys_fallocate()
347 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
357 long do_faccessat(int dfd, const char __user *filename, int mode) in do_faccessat()
454 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
459 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
556 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()
[all …]
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.c282 umode_t mode = 0; in posix_acl_equiv_mode() local
325 posix_acl_from_mode(umode_t mode, gfp_t flags) in posix_acl_from_mode()
420 umode_t mode = *mode_p; in posix_acl_create_masq() local
473 static int __posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in __posix_acl_chmod_masq()
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()
647 umode_t mode = inode->i_mode; in posix_acl_update_mode() local
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()
143 umode_t mode) in bad_inode_tmpfile()
Dattr.c199 umode_t mode = attr->ia_mode; in setattr_copy() local
232 umode_t mode = inode->i_mode; in notify_change2() local
/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/configfs/
Dinode.c88 umode_t mode = iattr->ia_mode; in configfs_setattr() local
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; member
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/xfs/scrub/
Dinode.c73 uint16_t mode, in xchk_inode_extsize()
95 uint16_t mode, in xchk_inode_cowextsize()
114 uint16_t mode, in xchk_inode_flags()
160 uint16_t mode, in xchk_inode_flags2()
211 uint16_t mode; in xchk_dinode() local
/fs/9p/
Dvfs_inode.c49 static u32 unixmode2p9mode(struct v9fs_session_info *v9ses, umode_t mode) in unixmode2p9mode()
87 int mode = stat->mode; in p9mode2perm() local
114 u32 mode = stat->mode; in p9mode2unixmode() local
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()
643 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create()
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() local
[all …]
/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() local
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()
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/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/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()
/fs/xfs/
Dxfs_iops.c91 int mode) in xfs_dentry_mode_to_name()
125 umode_t mode, in xfs_generic_create()
219 umode_t mode, in xfs_vn_mknod()
229 umode_t mode, in xfs_vn_create()
239 umode_t mode) in xfs_vn_mkdir()
366 umode_t mode; in xfs_vn_symlink() local
569 umode_t mode = iattr->ia_mode; in xfs_setattr_mode() local
1128 umode_t mode) in xfs_vn_tmpfile()
/fs/orangefs/
Dnamei.c20 umode_t mode, in orangefs_create()
227 int mode = 0755; in orangefs_symlink() local
306 static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in orangefs_mkdir()
/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 umode_t mode, dev_t rdev) in hfsplus_mknod()
520 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfsplus_create()
526 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfsplus_mkdir()
/fs/efivarfs/
Dinode.c16 const struct inode *dir, int mode, in efivarfs_get_inode()
69 umode_t mode, bool excl) in efivarfs_create()
/fs/ufs/
Dnamei.c72 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
88 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
167 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
/fs/crypto/
Dkeysetup.c69 fscrypt_allocate_skcipher(struct fscrypt_mode *mode, const u8 *raw_key, in fscrypt_allocate_skcipher()
162 struct fscrypt_mode *mode = ci->ci_mode; in setup_per_mode_key() local
430 struct fscrypt_mode *mode; in fscrypt_get_encryption_info() local
/fs/sysv/
Dnamei.c44 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
63 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
111 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
/fs/f2fs/
Dnamei.c25 static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode) in f2fs_new_inode()
265 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create()
662 static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_mkdir()
716 umode_t mode, dev_t rdev) in f2fs_mknod()
759 umode_t mode, struct inode **whiteout) in __f2fs_tmpfile()
818 static int f2fs_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_tmpfile()
Dacl.c210 umode_t mode = inode->i_mode; in __f2fs_set_acl() local
282 umode_t mode = *mode_p; in f2fs_acl_create_masq() local
332 static int f2fs_acl_create(struct inode *dir, umode_t *mode, in f2fs_acl_create()
/fs/ubifs/
Ddir.c47 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags()
77 umode_t mode) in ubifs_new_inode()
279 static int ubifs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ubifs_create()
349 umode_t mode, struct inode **whiteout) in do_tmpfile()
441 umode_t mode) in ubifs_tmpfile()
941 static int ubifs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ubifs_mkdir()
1013 umode_t mode, dev_t rdev) in ubifs_mknod()

1234567891011