/kernel/linux/linux-5.10/include/linux/ |
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 …]
|
D | mount.h | 24 struct fs_context; 97 extern struct vfsmount *fc_mount(struct fs_context *fc); 98 extern struct vfsmount *vfs_create_mount(struct fs_context *fc);
|
D | kernfs.h | 28 struct fs_context; 405 int kernfs_get_tree(struct fs_context *fc); 406 void kernfs_free_fs_context(struct fs_context *fc); 517 static inline int kernfs_get_tree(struct fs_context *fc) in kernfs_get_tree() 520 static inline void kernfs_free_fs_context(struct fs_context *fc) { } in kernfs_free_fs_context()
|
/kernel/linux/linux-5.10/fs/ |
D | fs_context.c | 39 static int legacy_init_fs_context(struct fs_context *fc); 61 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key) in vfs_parse_sb_flag() 94 int vfs_parse_fs_param_source(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param_source() 127 int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param() 166 int vfs_parse_fs_string(struct fs_context *fc, const char *key, in vfs_parse_fs_string() 201 int generic_parse_monolithic(struct fs_context *fc, void *data) in generic_parse_monolithic() 247 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, in alloc_fs_context() 253 int (*init_fs_context)(struct fs_context *); in alloc_fs_context() 254 struct fs_context *fc; in alloc_fs_context() 257 fc = kzalloc(sizeof(struct fs_context), GFP_KERNEL_ACCOUNT); in alloc_fs_context() [all …]
|
D | internal.h | 16 struct fs_context; 66 extern int parse_monolithic_mount_data(struct fs_context *, void *); 67 extern void vfs_clean_context(struct fs_context *fc); 68 extern int finish_clean_context(struct fs_context *fc); 116 extern int reconfigure_super(struct fs_context *); 119 extern bool mount_capable(struct fs_context *);
|
D | super.c | 486 bool mount_capable(struct fs_context *fc) in mount_capable() 512 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument 513 int (*test)(struct super_block *, struct fs_context *), in sget_fc() argument 514 int (*set)(struct super_block *, struct fs_context *)) in sget_fc() 904 int reconfigure_super(struct fs_context *fc) in reconfigure_super() 996 struct fs_context *fc; in do_emergency_remount_callback() 1122 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc) in set_anon_super_fc() 1128 static int test_keyed_super(struct super_block *sb, struct fs_context *fc) in test_keyed_super() 1133 static int test_single_super(struct super_block *s, struct fs_context *fc) in test_single_super() 1163 int vfs_get_super(struct fs_context *fc, in vfs_get_super() [all …]
|
D | fsopen.c | 27 struct fs_context *fc = file->private_data; in fscontext_read() 69 struct fs_context *fc = file->private_data; in fscontext_release() 87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() 98 static int fscontext_alloc_log(struct fs_context *fc) in fscontext_alloc_log() 118 struct fs_context *fc; in SYSCALL_DEFINE2() 160 struct fs_context *fc; in SYSCALL_DEFINE3() 216 static int vfs_fsconfig_locked(struct fs_context *fc, int cmd, in vfs_fsconfig_locked() 321 struct fs_context *fc; in SYSCALL_DEFINE5()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdsuper.c | 25 static int mtd_test_super(struct super_block *sb, struct fs_context *fc) in mtd_test_super() 45 static int mtd_set_super(struct super_block *sb, struct fs_context *fc) in mtd_set_super() 56 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument 59 struct fs_context *)) in mtd_get_sb() 98 static int mtd_get_sb_by_nr(struct fs_context *fc, int mtdnr, in mtd_get_sb_by_nr() argument 100 struct fs_context *)) in mtd_get_sb_by_nr() 118 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() 120 struct fs_context *fc)) in get_tree_mtd()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | mount_api.rst | 49 int (*init_fs_context)(struct fs_context *fc); 65 context. This is represented by the fs_context structure:: 67 struct fs_context { 87 The fs_context fields are as follows: 213 void (*free)(struct fs_context *fc); 214 int (*dup)(struct fs_context *fc, struct fs_context *src_fc); 215 int (*parse_param)(struct fs_context *fc, 217 int (*parse_monolithic)(struct fs_context *fc, void *data); 218 int (*get_tree)(struct fs_context *fc); 219 int (*reconfigure)(struct fs_context *fc); [all …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | root.c | 61 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() 92 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() 115 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() 149 struct fs_context *fc, in proc_apply_options() 162 static int proc_fill_super(struct super_block *s, struct fs_context *fc) in proc_fill_super() 216 static int proc_reconfigure(struct fs_context *fc) in proc_reconfigure() 227 static int proc_get_tree(struct fs_context *fc) in proc_get_tree() 232 static void proc_fs_context_free(struct fs_context *fc) in proc_fs_context_free() 247 static int proc_init_fs_context(struct fs_context *fc) in proc_init_fs_context()
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | super.c | 187 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in jffs2_parse_param() 215 static inline void jffs2_update_mount_opts(struct fs_context *fc) in jffs2_update_mount_opts() 232 static int jffs2_reconfigure(struct fs_context *fc) in jffs2_reconfigure() 257 static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc) in jffs2_fill_super() 291 static int jffs2_get_tree(struct fs_context *fc) in jffs2_get_tree() 296 static void jffs2_free_fc(struct fs_context *fc) in jffs2_free_fc() 308 static int jffs2_init_fs_context(struct fs_context *fc) in jffs2_init_fs_context()
|
/kernel/linux/linux-5.10/drivers/xen/xenfs/ |
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()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cgroup-internal.h | 61 static inline struct cgroup_fs_context *cgroup_fc2context(struct fs_context *fc) in cgroup_fc2context() 240 int cgroup_do_get_tree(struct fs_context *fc); 293 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param); 294 int cgroup1_get_tree(struct fs_context *fc); 295 int cgroup1_reconfigure(struct fs_context *ctx);
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | super.h | 17 extern int get_tree_mtd(struct fs_context *fc, 19 struct fs_context *fc));
|
/kernel/linux/linux-5.10/fs/afs/ |
D | super.c | 40 static int afs_init_fs_context(struct fs_context *fc); 224 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() 417 static int afs_test_super(struct super_block *sb, struct fs_context *fc) in afs_test_super() 429 static int afs_dynroot_test_super(struct super_block *sb, struct fs_context *fc) in afs_dynroot_test_super() 437 static int afs_set_super(struct super_block *sb, struct fs_context *fc) in afs_set_super() 503 static struct afs_super_info *afs_alloc_sbi(struct fs_context *fc) in afs_alloc_sbi() 555 static int afs_get_tree(struct fs_context *fc) in afs_get_tree() 608 static void afs_free_fc(struct fs_context *fc) in afs_free_fc() [all …]
|
/kernel/linux/linux-5.10/fs/sysfs/ |
D | mount.c | 26 static int sysfs_get_tree(struct fs_context *fc) in sysfs_get_tree() 40 static void sysfs_fs_context_free(struct fs_context *fc) in sysfs_fs_context_free() 55 static int sysfs_init_fs_context(struct fs_context *fc) in sysfs_init_fs_context()
|
/kernel/linux/linux-5.10/fs/ramfs/ |
D | inode.c | 189 static int ramfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in ramfs_parse_param() 220 static int ramfs_fill_super(struct super_block *sb, struct fs_context *fc) in ramfs_fill_super() 240 static int ramfs_get_tree(struct fs_context *fc) in ramfs_get_tree() 245 static void ramfs_free_fc(struct fs_context *fc) in ramfs_free_fc() 256 int ramfs_init_fs_context(struct fs_context *fc) in ramfs_init_fs_context()
|
/kernel/linux/linux-5.10/fs/vboxsf/ |
D | super.c | 54 static int vboxsf_parse_param(struct fs_context *fc, struct fs_parameter *param) in vboxsf_parse_param() 119 static int vboxsf_fill_super(struct super_block *sb, struct fs_context *fc) in vboxsf_fill_super() 384 static int vboxsf_parse_monolithic(struct fs_context *fc, void *data) in vboxsf_parse_monolithic() 394 static int vboxsf_get_tree(struct fs_context *fc) in vboxsf_get_tree() 405 static int vboxsf_reconfigure(struct fs_context *fc) in vboxsf_reconfigure() 418 static void vboxsf_free_fc(struct fs_context *fc) in vboxsf_free_fc() 434 static int vboxsf_init_fs_context(struct fs_context *fc) in vboxsf_init_fs_context()
|
/kernel/linux/linux-5.10/fs/configfs/ |
D | mount.c | 65 static int configfs_fill_super(struct super_block *sb, struct fs_context *fc) in configfs_fill_super() 101 static int configfs_get_tree(struct fs_context *fc) in configfs_get_tree() 110 static int configfs_init_fs_context(struct fs_context *fc) in configfs_init_fs_context()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4super.c | 143 struct fs_context *fc, in do_nfs4_mount() 148 struct fs_context *root_fc; in do_nfs4_mount() 216 int nfs4_try_get_tree(struct fs_context *fc) in nfs4_try_get_tree() 241 int nfs4_get_referral_tree(struct fs_context *fc) in nfs4_get_referral_tree()
|
D | internal.h | 179 static inline struct nfs_fs_context *nfs_fc2context(const struct fs_context *fc) in nfs_fc2context() 224 extern struct nfs_server *nfs_create_server(struct fs_context *); 225 extern struct nfs_server *nfs4_create_server(struct fs_context *); 226 extern struct nfs_server *nfs4_create_referral_server(struct fs_context *); 434 int nfs_try_get_tree(struct fs_context *); 435 int nfs_get_tree_common(struct fs_context *); 465 int nfs_submount(struct fs_context *, struct nfs_server *); 466 int nfs_do_submount(struct fs_context *); 469 extern int nfs_get_root(struct super_block *s, struct fs_context *fc); 489 int nfs_reconfigure(struct fs_context *);
|
D | fs_context.c | 312 static int nfs_auth_info_add(struct fs_context *fc, in nfs_auth_info_add() 335 static int nfs_parse_security_flavors(struct fs_context *fc, in nfs_parse_security_flavors() 394 static int nfs_parse_version_string(struct fs_context *fc, in nfs_parse_version_string() 436 static int nfs_fs_context_parse_param(struct fs_context *fc, in nfs_fs_context_parse_param() 801 static int nfs_parse_source(struct fs_context *fc, in nfs_parse_source() 868 static inline bool is_remount_fc(struct fs_context *fc) in is_remount_fc() 889 static int nfs23_parse_monolithic(struct fs_context *fc, in nfs23_parse_monolithic() 1117 static int nfs4_parse_monolithic(struct fs_context *fc, in nfs4_parse_monolithic() 1216 static int nfs_fs_context_parse_monolithic(struct fs_context *fc, in nfs_fs_context_parse_monolithic() 1233 static int nfs_fs_context_validate(struct fs_context *fc) in nfs_fs_context_validate() [all …]
|
/kernel/linux/linux-5.10/security/ |
D | inode.c | 40 static int securityfs_fill_super(struct super_block *sb, struct fs_context *fc) in securityfs_fill_super() 54 static int securityfs_get_tree(struct fs_context *fc) in securityfs_get_tree() 63 static int securityfs_init_fs_context(struct fs_context *fc) in securityfs_init_fs_context()
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | super.c | 235 static int erofs_fc_parse_param(struct fs_context *fc, in erofs_fc_parse_param() 339 static int erofs_fc_fill_super(struct super_block *sb, struct fs_context *fc) in erofs_fc_fill_super() 406 static int erofs_fc_get_tree(struct fs_context *fc) in erofs_fc_get_tree() 411 static int erofs_fc_reconfigure(struct fs_context *fc) in erofs_fc_reconfigure() 430 static void erofs_fc_free(struct fs_context *fc) in erofs_fc_free() 442 static int erofs_init_fs_context(struct fs_context *fc) in erofs_init_fs_context()
|
/kernel/linux/linux-5.10/fs/kernfs/ |
D | mount.c | 277 static int kernfs_test_super(struct super_block *sb, struct fs_context *fc) in kernfs_test_super() 285 static int kernfs_set_super(struct super_block *sb, struct fs_context *fc) in kernfs_set_super() 315 int kernfs_get_tree(struct fs_context *fc) in kernfs_get_tree() 356 void kernfs_free_fs_context(struct fs_context *fc) in kernfs_free_fs_context()
|