Searched refs:num_mnt_opts (Results 1 – 5 of 5) sorted by relevance
634 int num_mnt_opts = 0; in smack_parse_opts_str() local637 opts->num_mnt_opts = 0; in smack_parse_opts_str()703 opts->mnt_opts[num_mnt_opts] = fsdefault; in smack_parse_opts_str()704 opts->mnt_opts_flags[num_mnt_opts++] = FSDEFAULT_MNT; in smack_parse_opts_str()707 opts->mnt_opts[num_mnt_opts] = fsfloor; in smack_parse_opts_str()708 opts->mnt_opts_flags[num_mnt_opts++] = FSFLOOR_MNT; in smack_parse_opts_str()711 opts->mnt_opts[num_mnt_opts] = fshat; in smack_parse_opts_str()712 opts->mnt_opts_flags[num_mnt_opts++] = FSHAT_MNT; in smack_parse_opts_str()715 opts->mnt_opts[num_mnt_opts] = fsroot; in smack_parse_opts_str()716 opts->mnt_opts_flags[num_mnt_opts++] = FSROOT_MNT; in smack_parse_opts_str()[all …]
624 opts->num_mnt_opts++; in selinux_get_mnt_opts()629 opts->num_mnt_opts++; in selinux_get_mnt_opts()631 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()637 opts->mnt_opts_flags = kcalloc(opts->num_mnt_opts, sizeof(int), GFP_ATOMIC); in selinux_get_mnt_opts()685 BUG_ON(i != opts->num_mnt_opts); in selinux_get_mnt_opts()733 int num_opts = opts->num_mnt_opts; in selinux_set_mnt_opts()1090 int rc, num_mnt_opts = 0; in selinux_parse_opts_str() local1092 opts->num_mnt_opts = 0; in selinux_parse_opts_str()1177 opts->mnt_opts[num_mnt_opts] = fscontext; in selinux_parse_opts_str()1178 opts->mnt_opts_flags[num_mnt_opts++] = FSCONTEXT_MNT; in selinux_parse_opts_str()[all …]
188 int num_mnt_opts; member199 opts->num_mnt_opts = 0; in security_init_mnt_opts()206 for (i = 0; i < opts->num_mnt_opts; i++) in security_free_mnt_opts()212 opts->num_mnt_opts = 0; in security_free_mnt_opts()
424 opts->num_mnt_opts ? -EOPNOTSUPP : 0, sb, in security_sb_set_mnt_opts()
1495 if (!fs_info->security_opts.num_mnt_opts) { in setup_security_options()