Lines Matching refs:opts
468 struct ext2_mount_options *opts) in parse_options() argument
487 clear_opt (opts->s_mount_opt, MINIX_DF); in parse_options()
490 set_opt (opts->s_mount_opt, MINIX_DF); in parse_options()
493 set_opt (opts->s_mount_opt, GRPID); in parse_options()
496 clear_opt (opts->s_mount_opt, GRPID); in parse_options()
507 opts->s_resuid = uid; in parse_options()
517 opts->s_resgid = gid; in parse_options()
524 clear_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
525 clear_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
526 set_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
529 clear_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
530 clear_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
531 set_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
534 clear_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
535 clear_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
536 set_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
539 set_opt (opts->s_mount_opt, NO_UID32); in parse_options()
542 set_opt (opts->s_mount_opt, DEBUG); in parse_options()
545 set_opt (opts->s_mount_opt, OLDALLOC); in parse_options()
548 clear_opt (opts->s_mount_opt, OLDALLOC); in parse_options()
556 set_opt (opts->s_mount_opt, XATTR_USER); in parse_options()
559 clear_opt (opts->s_mount_opt, XATTR_USER); in parse_options()
570 set_opt(opts->s_mount_opt, POSIX_ACL); in parse_options()
573 clear_opt(opts->s_mount_opt, POSIX_ACL); in parse_options()
584 set_opt(opts->s_mount_opt, XIP); in parse_options()
590 set_opt(opts->s_mount_opt, DAX); in parse_options()
599 set_opt(opts->s_mount_opt, USRQUOTA); in parse_options()
603 set_opt(opts->s_mount_opt, GRPQUOTA); in parse_options()
615 set_opt(opts->s_mount_opt, RESERVATION); in parse_options()
619 clear_opt(opts->s_mount_opt, RESERVATION); in parse_options()
821 struct ext2_mount_options opts; in ext2_fill_super() local
880 opts.s_mount_opt = 0; in ext2_fill_super()
884 set_opt(opts.s_mount_opt, DEBUG); in ext2_fill_super()
886 set_opt(opts.s_mount_opt, GRPID); in ext2_fill_super()
888 set_opt(opts.s_mount_opt, NO_UID32); in ext2_fill_super()
891 set_opt(opts.s_mount_opt, XATTR_USER); in ext2_fill_super()
895 set_opt(opts.s_mount_opt, POSIX_ACL); in ext2_fill_super()
899 set_opt(opts.s_mount_opt, ERRORS_PANIC); in ext2_fill_super()
901 set_opt(opts.s_mount_opt, ERRORS_CONT); in ext2_fill_super()
903 set_opt(opts.s_mount_opt, ERRORS_RO); in ext2_fill_super()
905 opts.s_resuid = make_kuid(&init_user_ns, le16_to_cpu(es->s_def_resuid)); in ext2_fill_super()
906 opts.s_resgid = make_kgid(&init_user_ns, le16_to_cpu(es->s_def_resgid)); in ext2_fill_super()
908 set_opt(opts.s_mount_opt, RESERVATION); in ext2_fill_super()
910 if (!parse_options((char *) data, sb, &opts)) in ext2_fill_super()
913 sbi->s_mount_opt = opts.s_mount_opt; in ext2_fill_super()
914 sbi->s_resuid = opts.s_resuid; in ext2_fill_super()
915 sbi->s_resgid = opts.s_resgid; in ext2_fill_super()