Lines Matching refs:mnt_opts
533 opts->mnt_opts = kcalloc(opts->num_mnt_opts, sizeof(char *), GFP_ATOMIC); in selinux_get_mnt_opts()
534 if (!opts->mnt_opts) { in selinux_get_mnt_opts()
550 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
557 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
564 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
574 opts->mnt_opts[i] = context; in selinux_get_mnt_opts()
578 opts->mnt_opts[i] = NULL; in selinux_get_mnt_opts()
628 char **mount_options = opts->mnt_opts; in selinux_set_mnt_opts()
1009 opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_ATOMIC); in selinux_parse_opts_str()
1010 if (!opts->mnt_opts) in selinux_parse_opts_str()
1015 kfree(opts->mnt_opts); in selinux_parse_opts_str()
1020 opts->mnt_opts[num_mnt_opts] = fscontext; in selinux_parse_opts_str()
1024 opts->mnt_opts[num_mnt_opts] = context; in selinux_parse_opts_str()
1028 opts->mnt_opts[num_mnt_opts] = rootcontext; in selinux_parse_opts_str()
1032 opts->mnt_opts[num_mnt_opts] = defcontext; in selinux_parse_opts_str()
1083 if (opts->mnt_opts[i]) in selinux_write_opts()
1084 has_comma = strchr(opts->mnt_opts[i], ','); in selinux_write_opts()
1114 seq_escape(m, opts->mnt_opts[i], "\"\n\\"); in selinux_write_opts()
2615 mount_options = opts.mnt_opts; in selinux_sb_remount()