Lines Matching refs:s_mount_opt
313 if (sbi->s_mount_opt & EXT2_MOUNT_USRQUOTA) in ext2_show_options()
316 if (sbi->s_mount_opt & EXT2_MOUNT_GRPQUOTA) in ext2_show_options()
321 if (sbi->s_mount_opt & EXT2_MOUNT_XIP) in ext2_show_options()
323 if (sbi->s_mount_opt & EXT2_MOUNT_DAX) in ext2_show_options()
505 clear_opt (opts->s_mount_opt, MINIX_DF); in parse_options()
508 set_opt (opts->s_mount_opt, MINIX_DF); in parse_options()
511 set_opt (opts->s_mount_opt, GRPID); in parse_options()
514 clear_opt (opts->s_mount_opt, GRPID); in parse_options()
542 clear_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
543 clear_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
544 set_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
547 clear_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
548 clear_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
549 set_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
552 clear_opt (opts->s_mount_opt, ERRORS_RO); in parse_options()
553 clear_opt (opts->s_mount_opt, ERRORS_PANIC); in parse_options()
554 set_opt (opts->s_mount_opt, ERRORS_CONT); in parse_options()
557 set_opt (opts->s_mount_opt, NO_UID32); in parse_options()
563 clear_opt (opts->s_mount_opt, CHECK); in parse_options()
566 set_opt (opts->s_mount_opt, DEBUG); in parse_options()
569 set_opt (opts->s_mount_opt, OLDALLOC); in parse_options()
572 clear_opt (opts->s_mount_opt, OLDALLOC); in parse_options()
575 set_opt (opts->s_mount_opt, NOBH); in parse_options()
579 set_opt (opts->s_mount_opt, XATTR_USER); in parse_options()
582 clear_opt (opts->s_mount_opt, XATTR_USER); in parse_options()
593 set_opt(opts->s_mount_opt, POSIX_ACL); in parse_options()
596 clear_opt(opts->s_mount_opt, POSIX_ACL); in parse_options()
607 set_opt(opts->s_mount_opt, XIP); in parse_options()
613 set_opt(opts->s_mount_opt, DAX); in parse_options()
622 set_opt(opts->s_mount_opt, USRQUOTA); in parse_options()
626 set_opt(opts->s_mount_opt, GRPQUOTA); in parse_options()
638 set_opt(opts->s_mount_opt, RESERVATION); in parse_options()
642 clear_opt(opts->s_mount_opt, RESERVATION); in parse_options()
701 sbi->s_mount_opt); in ext2_setup_super()
901 set_opt(opts.s_mount_opt, DEBUG); in ext2_fill_super()
903 set_opt(opts.s_mount_opt, GRPID); in ext2_fill_super()
905 set_opt(opts.s_mount_opt, NO_UID32); in ext2_fill_super()
908 set_opt(opts.s_mount_opt, XATTR_USER); in ext2_fill_super()
912 set_opt(opts.s_mount_opt, POSIX_ACL); in ext2_fill_super()
916 set_opt(opts.s_mount_opt, ERRORS_PANIC); in ext2_fill_super()
918 set_opt(opts.s_mount_opt, ERRORS_CONT); in ext2_fill_super()
920 set_opt(opts.s_mount_opt, ERRORS_RO); in ext2_fill_super()
925 set_opt(opts.s_mount_opt, RESERVATION); in ext2_fill_super()
930 sbi->s_mount_opt = opts.s_mount_opt; in ext2_fill_super()
935 ((EXT2_SB(sb)->s_mount_opt & EXT2_MOUNT_POSIX_ACL) ? in ext2_fill_super()
967 if (sbi->s_mount_opt & EXT2_MOUNT_DAX) { in ext2_fill_super()
971 sbi->s_mount_opt &= ~EXT2_MOUNT_DAX; in ext2_fill_super()
1337 new_opts.s_mount_opt = sbi->s_mount_opt; in ext2_remount()
1347 if ((sbi->s_mount_opt ^ new_opts.s_mount_opt) & EXT2_MOUNT_DAX) { in ext2_remount()
1350 new_opts.s_mount_opt ^= EXT2_MOUNT_DAX; in ext2_remount()
1400 sbi->s_mount_opt = new_opts.s_mount_opt; in ext2_remount()
1404 ((sbi->s_mount_opt & EXT2_MOUNT_POSIX_ACL) ? SB_POSIXACL : 0); in ext2_remount()