| /linux/include/linux/ |
| H A D | fs_context.h | 90 struct fs_context { struct 116 void (*free)(struct fs_context *fc); argument 117 int (*dup)(struct fs_context *fc, struct fs_context *src_fc); 118 int (*parse_param)(struct fs_context *fc, struct fs_parameter *param); 119 int (*parse_monolithic)(struct fs_context *fc, void *data); 120 int (*get_tree)(struct fs_context *fc); 121 int (*reconfigure)(struct fs_context *fc); 127 extern struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, 129 extern struct fs_context *fs_context_for_reconfigure(struct dentry *dentry, 132 extern struct fs_context *fs_context_for_submount(struct file_system_type *fs_type, [all …]
|
| H A D | mount.h | 21 struct fs_context; 86 extern struct vfsmount *fc_mount(struct fs_context *fc); 87 extern struct vfsmount *fc_mount_longterm(struct fs_context *fc); 88 extern struct vfsmount *vfs_create_mount(struct fs_context *fc);
|
| /linux/fs/ |
| H A D | fs_context.c | 47 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key) in vfs_parse_sb_flag() 80 int vfs_parse_fs_param_source(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param_source() 113 int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param() 155 int vfs_parse_fs_qstr(struct fs_context *fc, const char *key, in vfs_parse_fs_qstr() 191 int vfs_parse_monolithic_sep(struct fs_context *fc, void *data, in vfs_parse_monolithic_sep() 239 int generic_parse_monolithic(struct fs_context *fc, void *data) in generic_parse_monolithic() 258 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, in alloc_fs_context() 264 struct fs_context *fc; in alloc_fs_context() 267 fc = kzalloc_obj(struct fs_context, GFP_KERNEL_ACCOUNT); in alloc_fs_context() 306 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, in fs_context_for_mount() [all …]
|
| H A D | fsopen.c | 8 #include <linux/fs_context.h> 51 struct fs_context *fc = file->private_data; in fscontext_read() 76 struct fs_context *fc = file->private_data; in fscontext_release() 93 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() 104 static int fscontext_alloc_log(struct fs_context *fc) in fscontext_alloc_log() 124 struct fs_context *fc; in SYSCALL_DEFINE2() 168 struct fs_context *fc; in SYSCALL_DEFINE3() 220 static int vfs_cmd_create(struct fs_context *fc, bool exclusive) in vfs_cmd_create() 254 static int vfs_cmd_reconfigure(struct fs_context *fc) in vfs_cmd_reconfigure() 286 static int vfs_fsconfig_locked(struct fs_context *f in vfs_fsconfig_locked() [all...] |
| H A D | super.c | 40 #include <linux/fs_context.h> 771 bool mount_capable(struct fs_context *fc) in generic_shutdown_super() 811 struct super_block *sget_fc(struct fs_context *fc, 812 int (*test)(struct super_block *, struct fs_context *), 813 int (*set)(struct super_block *, struct fs_context *)) 1036 int reconfigure_super(struct fs_context *fc) in iterate_supers_type() 1131 struct fs_context *fc; in reconfigure_super() 1321 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc) in get_anon_bdev() 1327 static int test_keyed_super(struct super_block *sb, struct fs_context *fc) in get_anon_bdev() 1332 static int test_single_super(struct super_block *s, struct fs_context *f in free_anon_bdev() 839 sget_fc(struct fs_context * fc,int (* test)(struct super_block *,struct fs_context *),int (* set)(struct super_block *,struct fs_context *)) sget_fc() argument 840 sget_fc(struct fs_context * fc,int (* test)(struct super_block *,struct fs_context *),int (* set)(struct super_block *,struct fs_context *)) sget_fc() argument 1388 get_tree_super(struct fs_context * fc,int (* test)(struct super_block *,struct fs_context *),int (* fill_super)(struct super_block * sb,struct fs_context * fc)) get_tree_super() argument 1902 get_tree_bdev(struct fs_context * fc,int (* fill_super)(struct super_block *,struct fs_context *)) get_tree_bdev() argument [all...] |
| H A D | internal.h | 15 struct fs_context; 44 * fs_context.c 46 extern int parse_monolithic_mount_data(struct fs_context *, void *); 47 extern void vfs_clean_context(struct fs_context *fc); 48 extern int finish_clean_context(struct fs_context *fc); 135 extern int reconfigure_super(struct fs_context *); 139 extern bool mount_capable(struct fs_context *);
|
| H A D | failfs.c | 85 static int failfs_fill_super(struct super_block *s, struct fs_context *fc) in failfs_fill_super() 121 static int failfs_get_tree(struct fs_context *fc) in failfs_get_tree() 130 static int failfs_init_fs_context(struct fs_context *fc) in failfs_init_fs_context()
|
| H A D | nullfs.c | 131 static int nullfs_fs_fill_super(struct super_block *s, struct fs_context *fc) in nullfs_fs_fill_super() 164 static int nullfs_fs_get_tree(struct fs_context *fc) in nullfs_fs_get_tree() 173 static int nullfs_init_fs_context(struct fs_context *fc) in nullfs_init_fs_context()
|
| /linux/fs/coda/ |
| H A D | inode.c | 92 static int coda_reconfigure(struct fs_context *fc) in coda_reconfigure() 122 static int coda_set_idx(struct fs_context *fc, struct file *file) in coda_set_idx() 139 static int coda_parse_fd(struct fs_context *fc, struct fs_parameter *param, in coda_parse_fd() 159 static int coda_parse_param(struct fs_context *fc, struct fs_parameter *param) in coda_parse_param() 180 static int coda_parse_monolithic(struct fs_context *fc, void *_data) in coda_parse_monolithic() 199 static int coda_fill_super(struct super_block *sb, struct fs_context *fc) in coda_fill_super() 359 static int coda_get_tree(struct fs_context *fc) in coda_get_tree() 367 static void coda_free_fc(struct fs_context *fc) in coda_free_fc() 380 static int coda_init_fs_context(struct fs_context *fc) in coda_init_fs_context()
|
| /linux/fs/proc/ |
| H A D | root.c | 60 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() 91 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() 115 static int proc_parse_pidns_param(struct fs_context *fc, in proc_parse_pidns_param() 169 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() 227 struct fs_context *fc, in proc_apply_options() 251 static int proc_fill_super(struct super_block *s, struct fs_context *fc) in proc_fill_super() 311 static int proc_reconfigure(struct fs_context *fc) in proc_reconfigure() 321 static int proc_get_tree(struct fs_context *fc) in proc_get_tree() 326 static void proc_fs_context_free(struct fs_context *fc) in proc_fs_context_free() 341 static int proc_init_fs_context(struct fs_context *fc) in proc_init_fs_context()
|
| /linux/fs/jffs2/ |
| H A D | super.c | 189 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in jffs2_parse_param() 217 static inline void jffs2_update_mount_opts(struct fs_context *fc) in jffs2_update_mount_opts() 234 static int jffs2_reconfigure(struct fs_context *fc) in jffs2_reconfigure() 259 static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc) in jffs2_fill_super() 293 static int jffs2_get_tree(struct fs_context *fc) in jffs2_get_tree() 298 static void jffs2_free_fc(struct fs_context *fc) in jffs2_free_fc() 310 static int jffs2_init_fs_context(struct fs_context *fc) in jffs2_init_fs_context()
|
| /linux/fs/afs/ |
| H A D | super.c | 40 static int afs_init_fs_context(struct fs_context *fc); 223 static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param) in afs_parse_source() 318 static int afs_parse_param(struct fs_context *fc, struct fs_parameter *param) in afs_parse_param() 355 static int afs_validate_fc(struct fs_context *fc) in afs_validate_fc() 420 static int afs_test_super(struct super_block *sb, struct fs_context *fc) in afs_test_super() 432 static int afs_dynroot_test_super(struct super_block *sb, struct fs_context *fc) in afs_dynroot_test_super() 440 static int afs_set_super(struct super_block *sb, struct fs_context *fc) in afs_set_super() 500 static struct afs_super_info *afs_alloc_sbi(struct fs_context *fc) in afs_alloc_sbi() 548 static int afs_get_tree(struct fs_context *fc) in afs_get_tree() 602 static void afs_free_fc(struct fs_context *fc) in afs_free_fc() [all …]
|
| /linux/drivers/xen/xenfs/ |
| H A D | super.c | 47 static int xenfs_fill_super(struct super_block *sb, struct fs_context *fc) in xenfs_fill_super() 72 static int xenfs_get_tree(struct fs_context *fc) in xenfs_get_tree() 81 static int xenfs_init_fs_context(struct fs_context *fc) in xenfs_init_fs_context()
|
| /linux/fs/autofs/ |
| H A D | inode.c | 159 static int autofs_parse_fd(struct fs_context *fc, struct autofs_sb_info *sbi, in autofs_parse_fd() 196 static int autofs_parse_param(struct fs_context *fc, struct fs_parameter *param) in autofs_parse_param() 271 static int autofs_validate_protocol(struct fs_context *fc) in autofs_validate_protocol() 305 static int autofs_fill_super(struct super_block *s, struct fs_context *fc) in autofs_fill_super() 372 static int autofs_get_tree(struct fs_context *fc) in autofs_get_tree() 387 static void autofs_free_fc(struct fs_context *fc) in autofs_free_fc() 409 int autofs_init_fs_context(struct fs_context *fc) in autofs_init_fs_context()
|
| /linux/include/linux/mtd/ |
| H A D | super.h | 17 extern int get_tree_mtd(struct fs_context *fc, 19 struct fs_context *fc));
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 229 static int ramfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in ramfs_parse_param() 260 static int ramfs_fill_super(struct super_block *sb, struct fs_context *fc) in ramfs_fill_super() 281 static int ramfs_get_tree(struct fs_context *fc) in ramfs_get_tree() 286 static void ramfs_free_fc(struct fs_context *fc) in ramfs_free_fc() 297 int ramfs_init_fs_context(struct fs_context *fc) in ramfs_init_fs_context()
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 6 #include <linux/fs_context.h> 224 static int ovl_parse_monolithic(struct fs_context *fc, void *data) in ovl_parse_param_split_lowerdirs() 317 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check() 366 static int ovl_ctx_realloc_lower(struct fs_context *fc) 386 static void ovl_add_layer(struct fs_context *fc, enum ovl_opt layer, in ovl_add_layer() 452 static int ovl_do_parse_layer(struct fs_context *fc, const char *layer_name, in ovl_do_parse_layer() 478 static int ovl_parse_layer(struct fs_context *fc, struct fs_parameter *param, in ovl_parse_layer() 542 static int ovl_parse_param_lowerdir(const char *name, struct fs_context *fc) in ovl_parse_param_lowerdir() 634 static int ovl_parse_param(struct fs_context *fc, struct fs_parameter *param) in ovl_parse_param() 745 static int ovl_get_tree(struct fs_context *f [all...] |
| /linux/fs/devpts/ |
| H A D | inode.c | 221 static int devpts_parse_param(struct fs_context *fc, struct fs_parameter *param) in devpts_parse_param() 261 static int mknod_ptmx(struct super_block *sb, struct fs_context *fc) in mknod_ptmx() 309 static int devpts_reconfigure(struct fs_context *fc) in devpts_reconfigure() 362 static int devpts_fill_super(struct super_block *s, struct fs_context *fc) in devpts_fill_super() 401 static int devpts_get_tree(struct fs_context *fc) in devpts_get_tree() 406 static void devpts_free_fc(struct fs_context *fc) in devpts_free_fc() 421 static int devpts_init_fs_context(struct fs_context *fc) in devpts_init_fs_context()
|
| /linux/fs/configfs/ |
| H A D | mount.c | 61 static int configfs_fill_super(struct super_block *sb, struct fs_context *fc) in configfs_fill_super() 98 static int configfs_get_tree(struct fs_context *fc) in configfs_get_tree() 107 static int configfs_init_fs_context(struct fs_context *fc) in configfs_init_fs_context()
|
| /linux/fs/nfs/ |
| H A D | nfs4super.c | 143 struct fs_context *fc, in do_nfs4_mount() 149 struct fs_context *root_fc; in do_nfs4_mount() 218 int nfs4_try_get_tree(struct fs_context *fc) in nfs4_try_get_tree() 243 int nfs4_get_referral_tree(struct fs_context *fc) in nfs4_get_referral_tree()
|
| H A D | internal.h | 7 #include <linux/fs_context.h> 189 static inline struct nfs_fs_context *nfs_fc2context(const struct fs_context *fc) in nfs_fc2context() 234 extern struct nfs_server *nfs_create_server(struct fs_context *); 236 extern struct nfs_server *nfs4_create_server(struct fs_context *); 237 extern struct nfs_server *nfs4_create_referral_server(struct fs_context *); 292 /* fs_context.c */ 522 int nfs_try_get_tree(struct fs_context *); 523 int nfs_get_tree_common(struct fs_context *); 595 int nfs_submount(struct fs_context *, struct nfs_server *); 596 int nfs_do_submount(struct fs_context *); [all...] |
| /linux/fs/adfs/ |
| H A D | super.c | 127 static int adfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in adfs_parse_param() 159 static int adfs_reconfigure(struct fs_context *fc) in adfs_reconfigure() 338 static int adfs_fill_super(struct super_block *sb, struct fs_context *fc) in adfs_fill_super() 411 static int adfs_get_tree(struct fs_context *fc) in adfs_get_tree() 416 static void adfs_free_fc(struct fs_context *fc) in adfs_free_fc() 430 static int adfs_init_fs_context(struct fs_context *fc) in adfs_init_fs_context()
|
| /linux/drivers/base/ |
| H A D | devtmpfs.c | 76 struct fs_context *fc; 79 static void devtmpfs_free(struct fs_context *fc) in devtmpfs_free() 89 static int devtmpfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in devtmpfs_parse_param() 96 static int devtmpfs_parse_monolithic(struct fs_context *fc, void *data) in devtmpfs_parse_monolithic() 105 static int devtmpfs_get_tree(struct fs_context *fc) in devtmpfs_get_tree() 133 static int devtmpfs_init_fs_context(struct fs_context *fc) in devtmpfs_init_fs_context()
|
| /linux/arch/s390/hypfs/ |
| H A D | inode.c | 202 static int hypfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in hypfs_parse_param() 240 static int hypfs_fill_super(struct super_block *sb, struct fs_context *fc) in hypfs_fill_super() 275 static int hypfs_get_tree(struct fs_context *fc) in hypfs_get_tree() 280 static void hypfs_free_fc(struct fs_context *fc) in hypfs_free_fc() 291 static int hypfs_init_fs_context(struct fs_context *fc) in hypfs_init_fs_context()
|
| /linux/fs/squashfs/ |
| H A D | super.c | 127 static int squashfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in squashfs_parse_param() 153 struct fs_context *fc, in supported_squashfs_filesystem() 180 static int squashfs_fill_super(struct super_block *sb, struct fs_context *fc) in squashfs_fill_super() 491 static int squashfs_get_tree(struct fs_context *fc) in squashfs_get_tree() 496 static int squashfs_reconfigure(struct fs_context *fc) in squashfs_reconfigure() 510 static void squashfs_free_fs_context(struct fs_context *fc) in squashfs_free_fs_context() 548 static int squashfs_init_fs_context(struct fs_context *fc) in squashfs_init_fs_context()
|