Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 3 of 3) sorted by relevance

/security/selinux/
Dhooks.c499 struct security_mnt_opts *opts) in selinux_get_mnt_opts() argument
507 security_init_mnt_opts(opts); in selinux_get_mnt_opts()
522 opts->num_mnt_opts++; in selinux_get_mnt_opts()
527 opts->num_mnt_opts++; in selinux_get_mnt_opts()
529 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()
530 if (!opts->mnt_opts) { in selinux_get_mnt_opts()
535 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()
536 if (!opts->mnt_opts_flags) { in selinux_get_mnt_opts()
546 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
547 opts->mnt_opts_flags[i++] = FSCONTEXT_MNT; in selinux_get_mnt_opts()
[all …]
/security/
Dcapability.c114 struct security_mnt_opts *opts, in cap_sb_set_mnt_opts() argument
119 if (unlikely(opts->num_mnt_opts)) in cap_sb_set_mnt_opts()
130 static int cap_sb_parse_opts_str(char *options, struct security_mnt_opts *opts) in cap_sb_parse_opts_str() argument
Dsecurity.c317 struct security_mnt_opts *opts, in security_sb_set_mnt_opts() argument
321 return security_ops->sb_set_mnt_opts(sb, opts, kern_flags, in security_sb_set_mnt_opts()
333 int security_sb_parse_opts_str(char *options, struct security_mnt_opts *opts) in security_sb_parse_opts_str() argument
335 return security_ops->sb_parse_opts_str(options, opts); in security_sb_parse_opts_str()