Home
last modified time | relevance | path

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

12345678

/fs/debugfs/
Dfile.c95 struct dentry *debugfs_create_u8(const char *name, mode_t mode, in debugfs_create_u8()
138 struct dentry *debugfs_create_u16(const char *name, mode_t mode, in debugfs_create_u16()
181 struct dentry *debugfs_create_u32(const char *name, mode_t mode, in debugfs_create_u32()
225 struct dentry *debugfs_create_u64(const char *name, mode_t mode, in debugfs_create_u64()
256 struct dentry *debugfs_create_x8(const char *name, mode_t mode, in debugfs_create_x8()
273 struct dentry *debugfs_create_x16(const char *name, mode_t mode, in debugfs_create_x16()
290 struct dentry *debugfs_create_x32(const char *name, mode_t mode, in debugfs_create_x32()
321 struct dentry *debugfs_create_size_t(const char *name, mode_t mode, in debugfs_create_size_t()
401 struct dentry *debugfs_create_bool(const char *name, mode_t mode, in debugfs_create_bool()
445 struct dentry *debugfs_create_blob(const char *name, mode_t mode, in debugfs_create_blob()
Dinode.c34 static struct inode *debugfs_get_inode(struct super_block *sb, int mode, dev_t dev) in debugfs_get_inode()
66 int mode, dev_t dev) in debugfs_mknod()
83 static int debugfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in debugfs_mkdir()
96 static int debugfs_link(struct inode *dir, struct dentry *dentry, int mode) in debugfs_link()
102 static int debugfs_create(struct inode *dir, struct dentry *dentry, int mode) in debugfs_create()
139 static int debugfs_create_by_name(const char *name, mode_t mode, in debugfs_create_by_name()
209 struct dentry *debugfs_create_file(const char *name, mode_t mode, in debugfs_create_file()
/fs/configfs/
Dinode.c107 umode_t mode = iattr->ia_mode; in configfs_setattr() local
117 static inline void set_default_inode_attr(struct inode * inode, mode_t mode) in set_default_inode_attr()
133 struct inode * configfs_new_inode(mode_t mode, struct configfs_dirent * sd) in configfs_new_inode()
153 int configfs_create(struct dentry * dentry, int mode, int (*init)(struct inode *)) in configfs_create()
/fs/
Dposix_acl.c150 mode_t mode = 0; in posix_acl_equiv_mode() local
186 posix_acl_from_mode(mode_t mode, gfp_t flags) in posix_acl_from_mode()
282 mode_t mode = *mode_p; in posix_acl_create_masq() local
336 posix_acl_chmod_masq(struct posix_acl *acl, mode_t mode) in posix_acl_chmod_masq()
Dattr.c91 umode_t mode = attr->ia_mode; in inode_setattr() local
106 mode_t mode = inode->i_mode; in notify_change() local
Dopen.c438 asmlinkage long SyS_fallocate(long fd, long mode, loff_t offset, loff_t len) in SyS_fallocate()
450 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
520 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
597 SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode) in SYSCALL_DEFINE2() argument
631 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) in SYSCALL_DEFINE3() argument
660 SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode) in SYSCALL_DEFINE2() argument
1027 long do_sys_open(int dfd, const char __user *filename, int flags, int mode) in do_sys_open()
1049 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, int, mode) in SYSCALL_DEFINE3() argument
1063 int, mode) in SYSCALL_DEFINE4() argument
1082 SYSCALL_DEFINE2(creat, const char __user *, pathname, int, mode) in SYSCALL_DEFINE2() argument
Dgeneric_acl.c89 mode_t mode; in generic_acl_set() local
134 mode_t mode = inode->i_mode; in generic_acl_init() local
Dnamei.c185 umode_t mode = inode->i_mode; in generic_permission() local
244 umode_t mode = inode->i_mode; in inode_permission() local
433 umode_t mode = inode->i_mode; in exec_permission_lite() local
1458 int vfs_create(struct inode *dir, struct dentry *dentry, int mode, in vfs_create()
1569 int flag, int mode) in __open_namei_create()
1631 int open_flag, int mode) in do_filp_open()
1861 struct file *filp_open(const char *filename, int flags, int mode) in filp_open()
1920 int vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) in vfs_mknod()
1948 static int may_mknod(mode_t mode) in may_mknod()
1965 SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
[all …]
Dblock_dev.c846 struct block_device *open_by_devnum(dev_t dev, fmode_t mode) in open_by_devnum()
989 static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_get()
1119 int blkdev_get(struct block_device *bdev, fmode_t mode) in blkdev_get()
1168 static int __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_put()
1208 int blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put()
1225 fmode_t mode = file->f_mode; in block_ioctl() local
1346 struct block_device *open_bdev_exclusive(const char *path, fmode_t mode, void *holder) in open_bdev_exclusive()
1382 void close_bdev_exclusive(struct block_device *bdev, fmode_t mode) in close_bdev_exclusive()
/fs/ramfs/
Dinode.c52 struct inode *ramfs_get_inode(struct super_block *sb, int mode, dev_t dev) in ramfs_get_inode()
93 ramfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) in ramfs_mknod()
112 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, int mode) in ramfs_mkdir()
120 static int ramfs_create(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *nd) in ramfs_create()
/fs/9p/
Dvfs_inode.c56 static int unixmode2p9mode(struct v9fs_session_info *v9ses, int mode) in unixmode2p9mode()
96 static int p9mode2unixmode(struct v9fs_session_info *v9ses, int mode) in p9mode2unixmode()
208 struct inode *v9fs_get_inode(struct super_block *sb, int mode) in v9fs_get_inode()
413 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create()
499 v9fs_vfs_create(struct inode *dir, struct dentry *dentry, int mode, in v9fs_vfs_create()
555 static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in v9fs_vfs_mkdir()
1042 int mode, const char *extension) in v9fs_vfs_mkspecial()
1132 v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t rdev) in v9fs_vfs_mknod()
/fs/gfs2/
Dacl.c36 int *remove, mode_t *mode) in gfs2_acl_validate_set()
173 static int munge_mode(struct gfs2_inode *ip, mode_t mode) in munge_mode()
203 mode_t mode = ip->i_inode.i_mode; in gfs2_acl_create() local
Dinode.c136 umode_t mode = inode->i_mode; in gfs2_set_iop() local
667 unsigned int mode) in create_ok()
698 static void munge_mode_uid_gid(struct gfs2_inode *dip, unsigned int *mode, in munge_mode_uid_gid()
759 const struct gfs2_inum_host *inum, unsigned int mode, in init_dinode()
818 unsigned int mode, const struct gfs2_inum_host *inum, in make_dinode()
973 unsigned int mode, dev_t dev) in gfs2_createi()
/fs/hostfs/
Dhostfs_user.c100 int mode = 0; in access_file() local
115 int mode = 0, fd; in open_file() local
218 int mode, fd; in file_create() local
340 int do_mkdir(const char *file, int mode) in do_mkdir()
360 int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor) in do_mknod()
/fs/minix/
Dnamei.c41 static int minix_mknod(struct inode * dir, struct dentry *dentry, int mode, dev_t rdev) in minix_mknod()
60 static int minix_create(struct inode * dir, struct dentry *dentry, int mode, in minix_create()
110 static int minix_mkdir(struct inode * dir, struct dentry *dentry, int mode) in minix_mkdir()
/fs/ufs/
Dnamei.c80 static int ufs_create (struct inode * dir, struct dentry * dentry, int mode, in ufs_create()
103 static int ufs_mknod (struct inode * dir, struct dentry *dentry, int mode, dev_t rdev) in ufs_mknod()
188 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, int mode) in ufs_mkdir()
/fs/sysv/
Dnamei.c64 static int sysv_mknod(struct inode * dir, struct dentry * dentry, int mode, dev_t rdev) in sysv_mknod()
83 static int sysv_create(struct inode * dir, struct dentry * dentry, int mode, struct nameidata *nd) in sysv_create()
134 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, int mode) in sysv_mkdir()
/fs/sysfs/
Dinode.c97 umode_t mode = iattr->ia_mode; in sysfs_setattr() local
107 static inline void set_default_inode_attr(struct inode * inode, mode_t mode) in set_default_inode_attr()
/fs/ocfs2/dlm/
Ddlmfs.c335 int mode = S_IFDIR | 0755; in dlmfs_get_root_inode() local
357 int mode) in dlmfs_get_inode()
421 int mode) in dlmfs_mkdir()
470 int mode, in dlmfs_create()
/fs/ext2/
Dnamei.c92 static int ext2_create (struct inode * dir, struct dentry * dentry, int mode, struct nameidata *nd) in ext2_create()
114 static int ext2_mknod (struct inode * dir, struct dentry *dentry, int mode, dev_t rdev) in ext2_mknod()
203 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, int mode) in ext2_mkdir()
/fs/xfs/linux-2.6/
Dxfs_iops.c200 int mode, in xfs_vn_mknod()
281 int mode, in xfs_vn_create()
291 int mode) in xfs_vn_mkdir()
416 mode_t mode; in xfs_vn_symlink() local
619 int mode, in xfs_vn_fallocate()
/fs/ubifs/
Ddir.c59 static int inherit_flags(const struct inode *dir, int mode) in inherit_flags()
89 int mode) in ubifs_new_inode()
261 static int ubifs_create(struct inode *dir, struct dentry *dentry, int mode, in ubifs_create()
719 static int ubifs_mkdir(struct inode *dir, struct dentry *dentry, int mode) in ubifs_mkdir()
776 int mode, dev_t rdev) in ubifs_mknod()
/fs/xfs/
Dxfs_acl.c326 mode_t mode, in xfs_acl_iaccess()
654 mode_t mode, in xfs_acl_inherit()
797 mode_t mode, in xfs_acl_sync_mode()
841 mode_t mode, in xfs_acl_filter_mode()
/fs/hfsplus/
Ddir.c238 static int hfsplus_create(struct inode *dir, struct dentry *dentry, int mode, in hfsplus_create()
366 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, int mode) in hfsplus_mkdir()
437 int mode, dev_t rdev) in hfsplus_mknod()
/fs/cifs/
Ddir.c133 struct super_block *sb, int mode, int oflags, in cifs_posix_open()
218 cifs_create(struct inode *inode, struct dentry *direntry, int mode, in cifs_create()
457 int cifs_mknod(struct inode *inode, struct dentry *direntry, int mode, in cifs_mknod()

12345678