Lines Matching defs:mnt_opts
356 static void selinux_free_mnt_opts(void *mnt_opts)
358 struct selinux_mnt_opts *opts = mnt_opts;
599 void *mnt_opts,
606 struct selinux_mnt_opts *opts = mnt_opts;
949 static int selinux_add_opt(int token, const char *s, void **mnt_opts)
951 struct selinux_mnt_opts *opts = *mnt_opts;
964 *mnt_opts = opts;
994 *mnt_opts = NULL;
1001 void **mnt_opts)
1023 rc = selinux_add_opt(token, val, mnt_opts);
1031 if (*mnt_opts) {
1032 selinux_free_mnt_opts(*mnt_opts);
1033 *mnt_opts = NULL;
2604 static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts)
2634 rc = selinux_add_opt(token, arg, mnt_opts);
2657 if (*mnt_opts) {
2658 selinux_free_mnt_opts(*mnt_opts);
2659 *mnt_opts = NULL;
2664 static int selinux_sb_remount(struct super_block *sb, void *mnt_opts)
2666 struct selinux_mnt_opts *opts = mnt_opts;