/openbmc/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); 120 int (*get_tree)(struct fs_context *fc); 121 int (*reconfigure)(struct fs_context *fc); 135 extern struct fs_context *vfs_dup_fs_context(struct fs_context *fc); 152 struct fs_context *fc)); 155 struct fs_context *fc)); 158 struct fs_context *fc), 162 struct fs_context *fc); [all …]
|
H A D | mount.h | 21 struct fs_context; 98 extern struct vfsmount *fc_mount(struct fs_context *fc); 99 extern struct vfsmount *vfs_create_mount(struct fs_context *fc);
|
/openbmc/linux/fs/ |
H A D | fs_context.c | 281 int (*init_fs_context)(struct fs_context *); in alloc_fs_context() 282 struct fs_context *fc; in alloc_fs_context() 357 struct fs_context *fc; in fs_context_for_submount() 374 void fc_drop_locked(struct fs_context *fc) in fc_drop_locked() 388 struct fs_context *vfs_dup_fs_context(struct fs_context *src_fc) in vfs_dup_fs_context() 390 struct fs_context *fc; in vfs_dup_fs_context() 488 static void put_fc_log(struct fs_context *fc) in put_fc_log() 508 void put_fs_context(struct fs_context *fc) in put_fs_context() 550 static int legacy_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) in legacy_fs_context_dup() 735 void vfs_clean_context(struct fs_context *fc) in vfs_clean_context() [all …]
|
H A 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() 212 static int vfs_cmd_create(struct fs_context *fc, bool exclusive) in vfs_cmd_create() 250 static int vfs_cmd_reconfigure(struct fs_context *fc) in vfs_cmd_reconfigure() 282 static int vfs_fsconfig_locked(struct fs_context *fc, int cmd, in vfs_fsconfig_locked() 356 struct fs_context *fc; in SYSCALL_DEFINE5()
|
H A D | internal.h | 16 struct fs_context; 47 extern int parse_monolithic_mount_data(struct fs_context *, void *); 48 extern void vfs_clean_context(struct fs_context *fc); 49 extern int finish_clean_context(struct fs_context *fc); 111 extern int reconfigure_super(struct fs_context *); 115 extern bool mount_capable(struct fs_context *);
|
H A D | super.c | 735 bool mount_capable(struct fs_context *fc) in mount_capable() 1187 struct fs_context *fc; in do_emergency_remount_callback() 1336 struct fs_context *fc)) in vfs_get_super() 1363 struct fs_context *fc)) in get_tree_nodev() 1371 struct fs_context *fc)) in get_tree_single() 1379 struct fs_context *fc), in get_tree_keyed() 1490 struct fs_context *fc) in setup_bdev_super() 1551 int get_tree_bdev(struct fs_context *fc, in get_tree_bdev() argument 1553 struct fs_context *)) in get_tree_bdev() 1693 struct fs_context *fc; in reconfigure_single() [all …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdsuper.c | 25 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument 28 struct fs_context *)) in mtd_get_sb() 76 static int mtd_get_sb_by_nr(struct fs_context *fc, int mtdnr, in mtd_get_sb_by_nr() argument 78 struct fs_context *)) in mtd_get_sb_by_nr() 96 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() 98 struct fs_context *fc)) in get_tree_mtd()
|
/openbmc/linux/fs/proc/ |
H A D | root.c | 58 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() 89 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() 112 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() 146 struct fs_context *fc, in proc_apply_options() 159 static int proc_fill_super(struct super_block *s, struct fs_context *fc) in proc_fill_super() 213 static int proc_reconfigure(struct fs_context *fc) in proc_reconfigure() 224 static int proc_get_tree(struct fs_context *fc) in proc_get_tree() 229 static void proc_fs_context_free(struct fs_context *fc) in proc_fs_context_free() 244 static int proc_init_fs_context(struct fs_context *fc) in proc_init_fs_context()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | mount_api.rst | 67 struct fs_context { 86 The fs_context fields are as follows: 212 void (*free)(struct fs_context *fc); 213 int (*dup)(struct fs_context *fc, struct fs_context *src_fc); 217 int (*get_tree)(struct fs_context *fc); 226 void (*free)(struct fs_context *fc); 234 int (*dup)(struct fs_context *fc, struct fs_context *src_fc); 277 int (*get_tree)(struct fs_context *fc); 330 struct fs_context *src_fc); 447 struct fs_context *vfs_dup_fs_context(struct fs_context *src_fc); [all …]
|
/openbmc/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()
|
/openbmc/linux/include/linux/mtd/ |
H A D | super.h | 17 extern int get_tree_mtd(struct fs_context *fc, 19 struct fs_context *fc));
|
/openbmc/linux/fs/jffs2/ |
H A D | super.c | 188 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param) in jffs2_parse_param() 216 static inline void jffs2_update_mount_opts(struct fs_context *fc) in jffs2_update_mount_opts() 233 static int jffs2_reconfigure(struct fs_context *fc) in jffs2_reconfigure() 258 static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc) in jffs2_fill_super() 292 static int jffs2_get_tree(struct fs_context *fc) in jffs2_get_tree() 297 static void jffs2_free_fc(struct fs_context *fc) in jffs2_free_fc() 309 static int jffs2_init_fs_context(struct fs_context *fc) in jffs2_init_fs_context()
|
/openbmc/linux/kernel/cgroup/ |
H A D | cgroup-internal.h | 60 static inline struct cgroup_fs_context *cgroup_fc2context(struct fs_context *fc) in cgroup_fc2context() 238 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);
|
/openbmc/linux/fs/sysfs/ |
H A 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()
|
/openbmc/linux/fs/afs/ |
H A D | super.c | 40 static int afs_init_fs_context(struct fs_context *fc); 225 static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param) in afs_parse_source() 319 static int afs_parse_param(struct fs_context *fc, struct fs_parameter *param) in afs_parse_param() 356 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() 506 static struct afs_super_info *afs_alloc_sbi(struct fs_context *fc) in afs_alloc_sbi() 558 static int afs_get_tree(struct fs_context *fc) in afs_get_tree() 611 static void afs_free_fc(struct fs_context *fc) in afs_free_fc() [all …]
|
/openbmc/linux/fs/ramfs/ |
H A D | inode.c | 200 static int ramfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in ramfs_parse_param() 231 static int ramfs_fill_super(struct super_block *sb, struct fs_context *fc) in ramfs_fill_super() 251 static int ramfs_get_tree(struct fs_context *fc) in ramfs_get_tree() 256 static void ramfs_free_fc(struct fs_context *fc) in ramfs_free_fc() 267 int ramfs_init_fs_context(struct fs_context *fc) in ramfs_init_fs_context()
|
/openbmc/linux/fs/vboxsf/ |
H A 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() 385 static int vboxsf_parse_monolithic(struct fs_context *fc, void *data) in vboxsf_parse_monolithic() 395 static int vboxsf_get_tree(struct fs_context *fc) in vboxsf_get_tree() 406 static int vboxsf_reconfigure(struct fs_context *fc) in vboxsf_reconfigure() 419 static void vboxsf_free_fc(struct fs_context *fc) in vboxsf_free_fc() 435 static int vboxsf_init_fs_context(struct fs_context *fc) in vboxsf_init_fs_context()
|
/openbmc/linux/fs/configfs/ |
H A D | mount.c | 63 static int configfs_fill_super(struct super_block *sb, struct fs_context *fc) in configfs_fill_super() 99 static int configfs_get_tree(struct fs_context *fc) in configfs_get_tree() 108 static int configfs_init_fs_context(struct fs_context *fc) in configfs_init_fs_context()
|
/openbmc/linux/fs/overlayfs/ |
H A D | params.c | 188 static int ovl_parse_monolithic(struct fs_context *fc, void *data) in ovl_parse_monolithic() 278 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check() 320 static int ovl_ctx_realloc_lower(struct fs_context *fc) in ovl_ctx_realloc_lower() 340 static void ovl_add_layer(struct fs_context *fc, enum ovl_opt layer, in ovl_add_layer() 374 static int ovl_parse_layer(struct fs_context *fc, const char *layer_name, enum ovl_opt layer) in ovl_parse_layer() 436 static int ovl_parse_param_lowerdir(const char *name, struct fs_context *fc) in ovl_parse_param_lowerdir() 522 static int ovl_parse_param(struct fs_context *fc, struct fs_parameter *param) in ovl_parse_param() 612 static int ovl_get_tree(struct fs_context *fc) in ovl_get_tree() 626 static void ovl_free(struct fs_context *fc) in ovl_free() 644 static int ovl_reconfigure(struct fs_context *fc) in ovl_reconfigure() [all …]
|
/openbmc/linux/fs/nfs/ |
H A 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()
|
H A D | fs_context.c | 382 static int nfs_auth_info_add(struct fs_context *fc, in nfs_auth_info_add() 464 static int nfs_parse_xprtsec_policy(struct fs_context *fc, in nfs_parse_xprtsec_policy() 487 static int nfs_parse_version_string(struct fs_context *fc, in nfs_parse_version_string() 951 static int nfs_parse_source(struct fs_context *fc, in nfs_parse_source() 1016 static inline bool is_remount_fc(struct fs_context *fc) in is_remount_fc() 1037 static int nfs23_parse_monolithic(struct fs_context *fc, in nfs23_parse_monolithic() 1272 static int nfs4_parse_monolithic(struct fs_context *fc, in nfs4_parse_monolithic() 1499 static int nfs_get_tree(struct fs_context *fc) in nfs_get_tree() 1518 static int nfs_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) in nfs_fs_context_dup() 1544 static void nfs_fs_context_free(struct fs_context *fc) in nfs_fs_context_free() [all …]
|
H A D | internal.h | 180 static inline struct nfs_fs_context *nfs_fc2context(const struct fs_context *fc) in nfs_fc2context() 225 extern struct nfs_server *nfs_create_server(struct fs_context *); 227 extern struct nfs_server *nfs4_create_server(struct fs_context *); 228 extern struct nfs_server *nfs4_create_referral_server(struct fs_context *); 448 int nfs_try_get_tree(struct fs_context *); 449 int nfs_get_tree_common(struct fs_context *); 481 int nfs_submount(struct fs_context *, struct nfs_server *); 482 int nfs_do_submount(struct fs_context *); 485 extern int nfs_get_root(struct super_block *s, struct fs_context *fc); 511 int nfs_reconfigure(struct fs_context *);
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 619 static void smb3_fs_context_free(struct fs_context *fc); 620 static int smb3_fs_context_parse_param(struct fs_context *fc, 624 static int smb3_get_tree(struct fs_context *fc); 625 static int smb3_reconfigure(struct fs_context *fc); 701 static int smb3_fs_context_validate(struct fs_context *fc) in smb3_fs_context_validate() 774 static int smb3_get_tree_common(struct fs_context *fc) in smb3_get_tree_common() 792 static int smb3_get_tree(struct fs_context *fc) in smb3_get_tree() 805 static void smb3_fs_context_free(struct fs_context *fc) in smb3_fs_context_free() 816 static int smb3_verify_reconfigure_ctx(struct fs_context *fc, in smb3_verify_reconfigure_ctx() 891 static int smb3_reconfigure(struct fs_context *fc) in smb3_reconfigure() [all …]
|
/openbmc/linux/fs/efivarfs/ |
H A D | super.c | 235 static int efivarfs_fill_super(struct super_block *sb, struct fs_context *fc) in efivarfs_fill_super() 274 static int efivarfs_get_tree(struct fs_context *fc) in efivarfs_get_tree() 279 static int efivarfs_reconfigure(struct fs_context *fc) in efivarfs_reconfigure() 294 static int efivarfs_init_fs_context(struct fs_context *fc) in efivarfs_init_fs_context()
|
/openbmc/linux/fs/ceph/ |
H A D | super.c | 260 struct fs_context *fc) in ceph_parse_old_source() 279 struct fs_context *fc) in ceph_parse_new_source() 389 struct fs_context *fc) in ceph_parse_mon_addr() 402 static int ceph_parse_mount_param(struct fs_context *fc, in ceph_parse_mount_param() 1092 struct fs_context *fc, in ceph_apply_test_dummy_encryption() 1127 struct fs_context *fc, in ceph_apply_test_dummy_encryption() 1138 struct fs_context *fc) in ceph_real_mount() 1284 static int ceph_get_tree(struct fs_context *fc) in ceph_get_tree() 1364 static void ceph_free_fc(struct fs_context *fc) in ceph_free_fc() 1375 static int ceph_reconfigure_fc(struct fs_context *fc) in ceph_reconfigure_fc() [all …]
|