Searched refs:fc (Results 1 – 7 of 7) sorted by relevance
/security/ |
D | inode.c | 40 static int securityfs_fill_super(struct super_block *sb, struct fs_context *fc) in securityfs_fill_super() argument 54 static int securityfs_get_tree(struct fs_context *fc) in securityfs_get_tree() argument 56 return get_tree_single(fc, securityfs_fill_super); in securityfs_get_tree() 63 static int securityfs_init_fs_context(struct fs_context *fc) in securityfs_init_fs_context() argument 65 fc->ops = &securityfs_context_ops; in securityfs_init_fs_context()
|
D | security.c | 800 int security_fs_context_dup(struct fs_context *fc, struct fs_context *src_fc) in security_fs_context_dup() argument 802 return call_int_hook(fs_context_dup, 0, fc, src_fc); in security_fs_context_dup() 805 int security_fs_context_parse_param(struct fs_context *fc, struct fs_parameter *param) in security_fs_context_parse_param() argument 807 return call_int_hook(fs_context_parse_param, -ENOPARAM, fc, param); in security_fs_context_parse_param()
|
/security/smack/ |
D | smackfs.c | 2826 static int smk_fill_super(struct super_block *sb, struct fs_context *fc) in smk_fill_super() argument 2903 static int smk_get_tree(struct fs_context *fc) in smk_get_tree() argument 2905 return get_tree_single(fc, smk_fill_super); in smk_get_tree() 2916 static int smk_init_fs_context(struct fs_context *fc) in smk_init_fs_context() argument 2918 fc->ops = &smk_context_ops; in smk_init_fs_context()
|
D | smack_lsm.c | 642 static int smack_fs_context_dup(struct fs_context *fc, in smack_fs_context_dup() argument 650 fc->security = kzalloc(sizeof(struct smack_mnt_opts), GFP_KERNEL); in smack_fs_context_dup() 651 if (!fc->security) in smack_fs_context_dup() 653 dst = fc->security; in smack_fs_context_dup() 706 static int smack_fs_context_parse_param(struct fs_context *fc, in smack_fs_context_parse_param() argument 712 opt = fs_parse(fc, &smack_fs_parameters, param, &result); in smack_fs_context_parse_param() 716 rc = smack_add_opt(opt, param->string, &fc->security); in smack_fs_context_parse_param()
|
/security/selinux/ |
D | selinuxfs.c | 1952 static int sel_fill_super(struct super_block *sb, struct fs_context *fc) in sel_fill_super() argument 2076 static int sel_get_tree(struct fs_context *fc) in sel_get_tree() argument 2078 return get_tree_single(fc, sel_fill_super); in sel_get_tree() 2085 static int sel_init_fs_context(struct fs_context *fc) in sel_init_fs_context() argument 2087 fc->ops = &sel_context_ops; in sel_init_fs_context()
|
D | hooks.c | 2781 static int selinux_fs_context_dup(struct fs_context *fc, in selinux_fs_context_dup() argument 2790 fc->security = kzalloc(sizeof(struct selinux_mnt_opts), GFP_KERNEL); in selinux_fs_context_dup() 2791 if (!fc->security) in selinux_fs_context_dup() 2794 opts = fc->security; in selinux_fs_context_dup() 2833 static int selinux_fs_context_parse_param(struct fs_context *fc, in selinux_fs_context_parse_param() argument 2839 opt = fs_parse(fc, &selinux_fs_parameters, param, &result); in selinux_fs_context_parse_param() 2843 rc = selinux_add_opt(opt, param->string, &fc->security); in selinux_fs_context_parse_param()
|
/security/apparmor/ |
D | apparmorfs.c | 136 static int apparmorfs_fill_super(struct super_block *sb, struct fs_context *fc) in apparmorfs_fill_super() argument 149 static int apparmorfs_get_tree(struct fs_context *fc) in apparmorfs_get_tree() argument 151 return get_tree_single(fc, apparmorfs_fill_super); in apparmorfs_get_tree() 158 static int apparmorfs_init_fs_context(struct fs_context *fc) in apparmorfs_init_fs_context() argument 160 fc->ops = &apparmorfs_context_ops; in apparmorfs_init_fs_context()
|