Home
last modified time | relevance | path

Searched refs:fs_context (Results 1 – 25 of 151) sorted by relevance

1234567

/linux/include/linux/
H A Dfs_context.h90 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 Dmount.h21 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 Dfs_context.c47 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 Dfsopen.c50 struct fs_context *fc = file->private_data; in fscontext_read()
75 struct fs_context *fc = file->private_data; in fscontext_release()
92 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd()
103 static int fscontext_alloc_log(struct fs_context *fc) in fscontext_alloc_log()
123 struct fs_context *fc; in SYSCALL_DEFINE2()
165 struct fs_context *fc; in SYSCALL_DEFINE3()
217 static int vfs_cmd_create(struct fs_context *fc, bool exclusive) in vfs_cmd_create()
251 static int vfs_cmd_reconfigure(struct fs_context *fc) in vfs_cmd_reconfigure()
283 static int vfs_fsconfig_locked(struct fs_context *fc, int cmd, in vfs_fsconfig_locked()
357 struct fs_context *fc; in SYSCALL_DEFINE5()
H A Dsuper.c694 bool mount_capable(struct fs_context *fc) in mount_capable()
734 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument
735 int (*test)(struct super_block *, struct fs_context *), in sget_fc() argument
736 int (*set)(struct super_block *, struct fs_context *)) in sget_fc()
1019 int reconfigure_super(struct fs_context *fc) in reconfigure_super()
1114 struct fs_context *fc; in do_emergency_remount_callback()
1298 int set_anon_super_fc(struct super_block *sb, struct fs_context *fc) in set_anon_super_fc()
1304 static int test_keyed_super(struct super_block *sb, struct fs_context *fc) in test_keyed_super()
1309 static int test_single_super(struct super_block *s, struct fs_context *fc) in test_single_super()
1314 static int vfs_get_super(struct fs_context *fc, in vfs_get_super()
[all …]
/linux/drivers/mtd/
H A Dmtdsuper.c25 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()
/linux/fs/proc/
H A Droot.c60 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()
245 static int proc_fill_super(struct super_block *s, struct fs_context *fc) in proc_fill_super()
299 static int proc_reconfigure(struct fs_context *fc) in proc_reconfigure()
310 static int proc_get_tree(struct fs_context *fc) in proc_get_tree()
315 static void proc_fs_context_free(struct fs_context *fc) in proc_fs_context_free()
330 static int proc_init_fs_context(struct fs_context *fc) in proc_init_fs_context()
/linux/fs/coda/
H A Dinode.c92 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/jffs2/
H A Dsuper.c189 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 Dsuper.c40 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()
601 static void afs_free_fc(struct fs_context *fc) in afs_free_fc()
[all …]
/linux/kernel/cgroup/
H A Dcgroup-internal.h60 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);
298 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param);
299 int cgroup1_get_tree(struct fs_context *fc);
300 int cgroup1_reconfigure(struct fs_context *ctx);
/linux/drivers/xen/xenfs/
H A Dsuper.c47 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 Dinode.c155 static int autofs_parse_fd(struct fs_context *fc, struct autofs_sb_info *sbi, in autofs_parse_fd()
192 static int autofs_parse_param(struct fs_context *fc, struct fs_parameter *param) in autofs_parse_param()
267 static int autofs_validate_protocol(struct fs_context *fc) in autofs_validate_protocol()
301 static int autofs_fill_super(struct super_block *s, struct fs_context *fc) in autofs_fill_super()
366 static int autofs_get_tree(struct fs_context *fc) in autofs_get_tree()
381 static void autofs_free_fc(struct fs_context *fc) in autofs_free_fc()
403 int autofs_init_fs_context(struct fs_context *fc) in autofs_init_fs_context()
/linux/fs/vboxsf/
H A Dsuper.c54 static int vboxsf_parse_param(struct fs_context *fc, struct fs_parameter *param) in vboxsf_parse_param()
111 static int vboxsf_fill_super(struct super_block *sb, struct fs_context *fc) in vboxsf_fill_super()
376 static int vboxsf_parse_monolithic(struct fs_context *fc, void *data) in vboxsf_parse_monolithic()
386 static int vboxsf_get_tree(struct fs_context *fc) in vboxsf_get_tree()
397 static int vboxsf_reconfigure(struct fs_context *fc) in vboxsf_reconfigure()
410 static void vboxsf_free_fc(struct fs_context *fc) in vboxsf_free_fc()
426 static int vboxsf_init_fs_context(struct fs_context *fc) in vboxsf_init_fs_context()
/linux/fs/sysfs/
H A Dmount.c26 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()
/linux/fs/freevxfs/
H A Dvxfs_super.c94 static int vxfs_reconfigure(struct fs_context *fc) in vxfs_reconfigure()
125 static int vxfs_try_sb_magic(struct super_block *sbp, struct fs_context *fc, in vxfs_try_sb_magic()
184 static int vxfs_fill_super(struct super_block *sbp, struct fs_context *fc) in vxfs_fill_super()
287 static int vxfs_get_tree(struct fs_context *fc) in vxfs_get_tree()
297 static int vxfs_init_fs_context(struct fs_context *fc) in vxfs_init_fs_context()
/linux/fs/overlayfs/
H A Dparams.c186 static int ovl_parse_monolithic(struct fs_context *fc, void *data) in ovl_parse_monolithic()
276 static int ovl_mount_dir_check(struct fs_context *fc, const struct path *path, in ovl_mount_dir_check()
325 static int ovl_ctx_realloc_lower(struct fs_context *fc) in ovl_ctx_realloc_lower()
345 static void ovl_add_layer(struct fs_context *fc, enum ovl_opt layer, in ovl_add_layer()
411 static int ovl_do_parse_layer(struct fs_context *fc, const char *layer_name, in ovl_do_parse_layer()
437 static int ovl_parse_layer(struct fs_context *fc, struct fs_parameter *param, in ovl_parse_layer()
501 static int ovl_parse_param_lowerdir(const char *name, struct fs_context *fc) in ovl_parse_param_lowerdir()
593 static int ovl_parse_param(struct fs_context *fc, struct fs_parameter *param) in ovl_parse_param()
706 static int ovl_get_tree(struct fs_context *fc) in ovl_get_tree()
720 static void ovl_free(struct fs_context *fc) in ovl_free()
[all …]
/linux/fs/ramfs/
H A Dinode.c229 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/include/linux/mtd/
H A Dsuper.h17 extern int get_tree_mtd(struct fs_context *fc,
19 struct fs_context *fc));
/linux/fs/devpts/
H A Dinode.c221 static int devpts_parse_param(struct fs_context *fc, struct fs_parameter *param) in devpts_parse_param()
259 static int mknod_ptmx(struct super_block *sb, struct fs_context *fc) in mknod_ptmx()
307 static int devpts_reconfigure(struct fs_context *fc) in devpts_reconfigure()
360 static int devpts_fill_super(struct super_block *s, struct fs_context *fc) in devpts_fill_super()
399 static int devpts_get_tree(struct fs_context *fc) in devpts_get_tree()
404 static void devpts_free_fc(struct fs_context *fc) in devpts_free_fc()
419 static int devpts_init_fs_context(struct fs_context *fc) in devpts_init_fs_context()
/linux/fs/efs/
H A Dsuper.c23 static int efs_init_fs_context(struct fs_context *fc);
240 static int efs_fill_super(struct super_block *s, struct fs_context *fc) in efs_fill_super()
320 static int efs_get_tree(struct fs_context *fc) in efs_get_tree()
325 static int efs_reconfigure(struct fs_context *fc) in efs_reconfigure()
341 static int efs_init_fs_context(struct fs_context *fc) in efs_init_fs_context()
/linux/fs/configfs/
H A Dmount.c63 static int configfs_fill_super(struct super_block *sb, struct fs_context *fc) in configfs_fill_super()
100 static int configfs_get_tree(struct fs_context *fc) in configfs_get_tree()
109 static int configfs_init_fs_context(struct fs_context *fc) in configfs_init_fs_context()
/linux/fs/smb/client/
H A Dfs_context.c216 cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_security_flavors()
264 cifs_parse_upcall_target(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_upcall_target()
296 cifs_parse_cache_flavor(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_cache_flavor()
346 static int parse_reparse_flavor(struct fs_context *fc, char *value, in parse_reparse_flavor()
383 static int parse_symlink_flavor(struct fs_context *fc, char *value, in parse_symlink_flavor()
469 cifs_parse_smb_version(struct fs_context *fc, char *value, struct smb3_fs_context *ctx, bool is_smb… in cifs_parse_smb_version()
713 static int smb3_handle_conflicting_options(struct fs_context *fc) in smb3_handle_conflicting_options()
754 static void smb3_fs_context_free(struct fs_context *fc);
755 static int smb3_fs_context_parse_param(struct fs_context *fc,
757 static int smb3_fs_context_parse_monolithic(struct fs_context *fc,
[all …]
/linux/fs/nfs/
H A Dnfs4super.c143 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()
/linux/fs/adfs/
H A Dsuper.c130 static int adfs_parse_param(struct fs_context *fc, struct fs_parameter *param) in adfs_parse_param()
162 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()
417 static int adfs_get_tree(struct fs_context *fc) in adfs_get_tree()
422 static void adfs_free_fc(struct fs_context *fc) in adfs_free_fc()
436 static int adfs_init_fs_context(struct fs_context *fc) in adfs_init_fs_context()

1234567