Lines Matching refs:fc
3410 static int shmem_parse_one(struct fs_context *fc, struct fs_parameter *param) in shmem_parse_one() argument
3412 struct shmem_options *ctx = fc->fs_private; in shmem_parse_one()
3418 opt = fs_parse(fc, &shmem_fs_parameters, param, &result); in shmem_parse_one()
3482 return invalf(fc, "tmpfs: Unsupported parameter '%s'", param->key); in shmem_parse_one()
3484 return invalf(fc, "tmpfs: Bad value for '%s'", param->key); in shmem_parse_one()
3487 static int shmem_parse_options(struct fs_context *fc, void *data) in shmem_parse_options() argument
3492 int err = security_sb_eat_lsm_opts(options, &fc->security); in shmem_parse_options()
3523 err = vfs_parse_fs_string(fc, this_char, value, len); in shmem_parse_options()
3538 static int shmem_reconfigure(struct fs_context *fc) in shmem_reconfigure() argument
3540 struct shmem_options *ctx = fc->fs_private; in shmem_reconfigure()
3541 struct shmem_sb_info *sbinfo = SHMEM_SB(fc->root->d_sb); in shmem_reconfigure()
3590 return invalf(fc, "tmpfs: %s", err); in shmem_reconfigure()
3631 static int shmem_fill_super(struct super_block *sb, struct fs_context *fc) in shmem_fill_super() argument
3633 struct shmem_options *ctx = fc->fs_private; in shmem_fill_super()
3709 static int shmem_get_tree(struct fs_context *fc) in shmem_get_tree() argument
3711 return get_tree_nodev(fc, shmem_fill_super); in shmem_get_tree()
3714 static void shmem_free_fc(struct fs_context *fc) in shmem_free_fc() argument
3716 struct shmem_options *ctx = fc->fs_private; in shmem_free_fc()
3870 int shmem_init_fs_context(struct fs_context *fc) in shmem_init_fs_context() argument
3882 fc->fs_private = ctx; in shmem_init_fs_context()
3883 fc->ops = &shmem_fs_context_ops; in shmem_init_fs_context()