Lines Matching refs:fc

127 static int squashfs_parse_param(struct fs_context *fc, struct fs_parameter *param)  in squashfs_parse_param()  argument
129 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_parse_param()
133 opt = fs_parse(fc, squashfs_fs_parameters, param, &result); in squashfs_parse_param()
153 struct fs_context *fc, in supported_squashfs_filesystem() argument
159 errorf(fc, "Major/Minor mismatch, older Squashfs %d.%d " in supported_squashfs_filesystem()
163 errorf(fc, "Major/Minor mismatch, trying to mount newer " in supported_squashfs_filesystem()
165 errorf(fc, "Please update your kernel"); in supported_squashfs_filesystem()
171 errorf(fc, "Filesystem uses \"%s\" compression. This is not supported", in supported_squashfs_filesystem()
180 static int squashfs_fill_super(struct super_block *sb, struct fs_context *fc) in squashfs_fill_super() argument
182 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_fill_super()
206 errorf(fc, "squashfs: unable to set blocksize\n"); in squashfs_fill_super()
224 errorf(fc, "unable to read squashfs_super_block"); in squashfs_fill_super()
235 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super()
236 errorf(fc, "Can't find a SQUASHFS superblock on %pg", in squashfs_fill_super()
249 fc, in squashfs_fill_super()
273 errorf(fc, "Page size > filesystem block size (%d). This is " in squashfs_fill_super()
333 errorf(fc, "Failed to allocate read_page block"); in squashfs_fill_super()
372 errorf(fc, "unable to read xattr id index table"); in squashfs_fill_super()
385 errorf(fc, "unable to read id index table"); in squashfs_fill_super()
401 errorf(fc, "unable to read inode lookup table"); in squashfs_fill_super()
426 errorf(fc, "unable to read fragment index table"); in squashfs_fill_super()
473 errorf(fc, "squashfs image failed sanity check"); in squashfs_fill_super()
491 static int squashfs_get_tree(struct fs_context *fc) in squashfs_get_tree() argument
493 return get_tree_bdev(fc, squashfs_fill_super); in squashfs_get_tree()
496 static int squashfs_reconfigure(struct fs_context *fc) in squashfs_reconfigure() argument
498 struct super_block *sb = fc->root->d_sb; in squashfs_reconfigure()
500 struct squashfs_mount_opts *opts = fc->fs_private; in squashfs_reconfigure()
502 sync_filesystem(fc->root->d_sb); in squashfs_reconfigure()
503 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
510 static void squashfs_free_fs_context(struct fs_context *fc) in squashfs_free_fs_context() argument
512 kfree(fc->fs_private); in squashfs_free_fs_context()
548 static int squashfs_init_fs_context(struct fs_context *fc) in squashfs_init_fs_context() argument
566 fc->fs_private = opts; in squashfs_init_fs_context()
567 fc->ops = &squashfs_context_ops; in squashfs_init_fs_context()