Searched refs:num_mnt_opts (Results 1 – 5 of 5) sorted by relevance
636 int num_mnt_opts = 0; in smack_parse_opts_str() local639 opts->num_mnt_opts = 0; in smack_parse_opts_str()707 opts->mnt_opts[num_mnt_opts] = fsdefault; in smack_parse_opts_str()708 opts->mnt_opts_flags[num_mnt_opts++] = FSDEFAULT_MNT; in smack_parse_opts_str()711 opts->mnt_opts[num_mnt_opts] = fsfloor; in smack_parse_opts_str()712 opts->mnt_opts_flags[num_mnt_opts++] = FSFLOOR_MNT; in smack_parse_opts_str()715 opts->mnt_opts[num_mnt_opts] = fshat; in smack_parse_opts_str()716 opts->mnt_opts_flags[num_mnt_opts++] = FSHAT_MNT; in smack_parse_opts_str()719 opts->mnt_opts[num_mnt_opts] = fsroot; in smack_parse_opts_str()720 opts->mnt_opts_flags[num_mnt_opts++] = FSROOT_MNT; in smack_parse_opts_str()[all …]
526 opts->num_mnt_opts++; in selinux_get_mnt_opts()531 opts->num_mnt_opts++; in selinux_get_mnt_opts()533 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()539 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()582 BUG_ON(i != opts->num_mnt_opts); in selinux_get_mnt_opts()630 int num_opts = opts->num_mnt_opts; in selinux_set_mnt_opts()932 int rc, num_mnt_opts = 0; in selinux_parse_opts_str() local934 opts->num_mnt_opts = 0; in selinux_parse_opts_str()1020 opts->mnt_opts[num_mnt_opts] = fscontext; in selinux_parse_opts_str()1021 opts->mnt_opts_flags[num_mnt_opts++] = FSCONTEXT_MNT; in selinux_parse_opts_str()[all …]
158 int num_mnt_opts; member165 opts->num_mnt_opts = 0; in security_init_mnt_opts()172 for (i = 0; i < opts->num_mnt_opts; i++) in security_free_mnt_opts()178 opts->num_mnt_opts = 0; in security_free_mnt_opts()
1409 if (!fs_info->security_opts.num_mnt_opts) { in setup_security_options()
327 opts->num_mnt_opts ? -EOPNOTSUPP : 0, sb, in security_sb_set_mnt_opts()