• Home
  • Raw
  • Download

Lines Matching refs:mode

117 	umode_t mode;  member
1402 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1983 static int synchronous_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in synchronous_wake_function() argument
1985 int ret = default_wake_function(wait, mode, sync, key); in synchronous_wake_function()
2239 umode_t mode, dev_t dev, unsigned long flags) in shmem_get_inode() argument
2251 inode_init_owner(inode, dir, mode); in shmem_get_inode()
2266 switch (mode & S_IFMT) { in shmem_get_inode()
2269 init_special_inode(inode, mode, dev); in shmem_get_inode()
2722 static long shmem_fallocate(struct file *file, int mode, loff_t offset, in shmem_fallocate() argument
2732 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in shmem_fallocate()
2737 if (mode & FALLOC_FL_PUNCH_HOLE) { in shmem_fallocate()
2842 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) in shmem_fallocate()
2879 shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in shmem_mknod() argument
2884 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE); in shmem_mknod()
2908 shmem_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_tmpfile() argument
2913 inode = shmem_get_inode(dir->i_sb, dir, mode, 0, VM_NORESERVE); in shmem_tmpfile()
2931 static int shmem_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_mkdir() argument
2935 if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0))) in shmem_mkdir()
2941 static int shmem_create(struct inode *dir, struct dentry *dentry, umode_t mode, in shmem_create() argument
2944 return shmem_mknod(dir, dentry, mode | S_IFREG, 0); in shmem_create()
3449 ctx->mode = result.uint_32 & 07777; in shmem_parse_one()
3602 if (sbinfo->mode != (0777 | S_ISVTX)) in shmem_show_options()
3603 seq_printf(seq, ",mode=%03ho", sbinfo->mode); in shmem_show_options()
3669 sbinfo->mode = ctx->mode; in shmem_fill_super()
3694 inode = shmem_get_inode(sb, NULL, S_IFDIR | sbinfo->mode, 0, VM_NORESERVE); in shmem_fill_super()
3878 ctx->mode = 0777 | S_ISVTX; in shmem_init_fs_context()
4085 #define shmem_get_inode(sb, dir, mode, dev, flags) ramfs_get_inode(sb, dir, mode, dev) argument