Symbol: mount_opt
fs/btrfs/disk-io.c
3486
if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) {
fs/btrfs/fs.h
1159
#define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
fs/btrfs/fs.h
1166
if (unlikely(fs_info->mount_opt & BTRFS_MOUNT_FULL_RO_MASK))
fs/btrfs/fs.h
584
unsigned long long mount_opt;
fs/btrfs/ref-verify.c
1022
btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
fs/btrfs/ref-verify.c
882
btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
fs/btrfs/ref-verify.c
987
btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
fs/btrfs/super.c
1263
(!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) ||
fs/btrfs/super.c
1283
(!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || sb_rdonly(fs_info->sb))) {
fs/btrfs/super.c
1415
fs_info->mount_opt = ctx->mount_opt;
fs/btrfs/super.c
1426
ctx->mount_opt = fs_info->mount_opt;
fs/btrfs/super.c
1433
if ((!old_ctx || !btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \
fs/btrfs/super.c
1434
btrfs_raw_test_opt(fs_info->mount_opt, opt)) \
fs/btrfs/super.c
1440
if ((old_ctx && btrfs_raw_test_opt(old_ctx->mount_opt, opt)) && \
fs/btrfs/super.c
1441
!btrfs_raw_test_opt(fs_info->mount_opt, opt)) \
fs/btrfs/super.c
1488
(!btrfs_raw_test_opt(old->mount_opt, FORCE_COMPRESS) &&
fs/btrfs/super.c
1489
btrfs_raw_test_opt(info->mount_opt, FORCE_COMPRESS)))) {
fs/btrfs/super.c
1518
ctx->mount_opt = old_ctx.mount_opt;
fs/btrfs/super.c
1523
if (!btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) {
fs/btrfs/super.c
1533
btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags);
fs/btrfs/super.c
1544
btrfs_set_opt(fs_info->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
1545
btrfs_clear_opt(fs_info->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
1548
btrfs_clear_opt(fs_info->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
1549
btrfs_set_opt(fs_info->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
1571
btrfs_remount_cleanup(fs_info, old_ctx.mount_opt);
fs/btrfs/super.c
1578
btrfs_remount_cleanup(fs_info, old_ctx.mount_opt);
fs/btrfs/super.c
2512
btrfs_set_opt(fs_info->mount_opt, DEGRADED);
fs/btrfs/super.c
288
btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS);
fs/btrfs/super.c
293
btrfs_set_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
294
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
295
btrfs_clear_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
302
btrfs_set_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
303
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
304
btrfs_clear_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
313
btrfs_set_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
314
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
315
btrfs_clear_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
322
btrfs_set_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
323
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
324
btrfs_clear_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
329
btrfs_clear_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
330
btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS);
fs/btrfs/super.c
354
btrfs_set_opt(ctx->mount_opt, DEGRADED);
fs/btrfs/super.c
388
btrfs_set_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
390
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
391
btrfs_clear_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
396
btrfs_clear_opt(ctx->mount_opt, COMPRESS);
fs/btrfs/super.c
397
btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS);
fs/btrfs/super.c
398
btrfs_set_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
399
btrfs_set_opt(ctx->mount_opt, NODATASUM);
fs/btrfs/super.c
401
btrfs_clear_opt(ctx->mount_opt, NODATACOW);
fs/btrfs/super.c
406
btrfs_set_opt(ctx->mount_opt, FORCE_COMPRESS);
fs/btrfs/super.c
415
btrfs_set_opt(ctx->mount_opt, NOSSD);
fs/btrfs/super.c
416
btrfs_clear_opt(ctx->mount_opt, SSD);
fs/btrfs/super.c
417
btrfs_clear_opt(ctx->mount_opt, SSD_SPREAD);
fs/btrfs/super.c
419
btrfs_set_opt(ctx->mount_opt, SSD);
fs/btrfs/super.c
420
btrfs_clear_opt(ctx->mount_opt, NOSSD);
fs/btrfs/super.c
425
btrfs_clear_opt(ctx->mount_opt, SSD_SPREAD);
fs/btrfs/super.c
427
btrfs_set_opt(ctx->mount_opt, SSD);
fs/btrfs/super.c
428
btrfs_set_opt(ctx->mount_opt, SSD_SPREAD);
fs/btrfs/super.c
429
btrfs_clear_opt(ctx->mount_opt, NOSSD);
fs/btrfs/super.c
434
btrfs_set_opt(ctx->mount_opt, NOBARRIER);
fs/btrfs/super.c
436
btrfs_clear_opt(ctx->mount_opt, NOBARRIER);
fs/btrfs/super.c
471
btrfs_set_opt(ctx->mount_opt, NOTREELOG);
fs/btrfs/super.c
473
btrfs_clear_opt(ctx->mount_opt, NOTREELOG);
fs/btrfs/super.c
478
btrfs_set_opt(ctx->mount_opt, NOLOGREPLAY);
fs/btrfs/super.c
482
btrfs_clear_opt(ctx->mount_opt, FLUSHONCOMMIT);
fs/btrfs/super.c
484
btrfs_set_opt(ctx->mount_opt, FLUSHONCOMMIT);
fs/btrfs/super.c
491
btrfs_clear_opt(ctx->mount_opt, DISCARD_SYNC);
fs/btrfs/super.c
492
btrfs_clear_opt(ctx->mount_opt, DISCARD_ASYNC);
fs/btrfs/super.c
493
btrfs_set_opt(ctx->mount_opt, NODISCARD);
fs/btrfs/super.c
495
btrfs_set_opt(ctx->mount_opt, DISCARD_SYNC);
fs/btrfs/super.c
496
btrfs_clear_opt(ctx->mount_opt, DISCARD_ASYNC);
fs/btrfs/super.c
502
btrfs_clear_opt(ctx->mount_opt, DISCARD_ASYNC);
fs/btrfs/super.c
503
btrfs_set_opt(ctx->mount_opt, DISCARD_SYNC);
fs/btrfs/super.c
506
btrfs_clear_opt(ctx->mount_opt, DISCARD_SYNC);
fs/btrfs/super.c
507
btrfs_set_opt(ctx->mount_opt, DISCARD_ASYNC);
fs/btrfs/super.c
514
btrfs_clear_opt(ctx->mount_opt, NODISCARD);
fs/btrfs/super.c
518
btrfs_set_opt(ctx->mount_opt, NOSPACECACHE);
fs/btrfs/super.c
519
btrfs_clear_opt(ctx->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
520
btrfs_clear_opt(ctx->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
522
btrfs_clear_opt(ctx->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
523
btrfs_set_opt(ctx->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
529
btrfs_set_opt(ctx->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
530
btrfs_clear_opt(ctx->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
533
btrfs_clear_opt(ctx->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
534
btrfs_set_opt(ctx->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
543
btrfs_set_opt(ctx->mount_opt, RESCAN_UUID_TREE);
fs/btrfs/super.c
546
btrfs_set_opt(ctx->mount_opt, CLEAR_CACHE);
fs/btrfs/super.c
549
btrfs_set_opt(ctx->mount_opt, USER_SUBVOL_RM_ALLOWED);
fs/btrfs/super.c
553
btrfs_clear_opt(ctx->mount_opt, ENOSPC_DEBUG);
fs/btrfs/super.c
555
btrfs_set_opt(ctx->mount_opt, ENOSPC_DEBUG);
fs/btrfs/super.c
559
btrfs_clear_opt(ctx->mount_opt, AUTO_DEFRAG);
fs/btrfs/super.c
561
btrfs_set_opt(ctx->mount_opt, AUTO_DEFRAG);
fs/btrfs/super.c
566
btrfs_set_opt(ctx->mount_opt, USEBACKUPROOT);
fs/btrfs/super.c
569
btrfs_set_opt(ctx->mount_opt, CLEAR_CACHE);
fs/btrfs/super.c
572
btrfs_set_opt(ctx->mount_opt, SKIP_BALANCE);
fs/btrfs/super.c
577
btrfs_set_opt(ctx->mount_opt, PANIC_ON_FATAL_ERROR);
fs/btrfs/super.c
580
btrfs_clear_opt(ctx->mount_opt, PANIC_ON_FATAL_ERROR);
fs/btrfs/super.c
600
btrfs_set_opt(ctx->mount_opt, USEBACKUPROOT);
fs/btrfs/super.c
603
btrfs_set_opt(ctx->mount_opt, NOLOGREPLAY);
fs/btrfs/super.c
606
btrfs_set_opt(ctx->mount_opt, IGNOREBADROOTS);
fs/btrfs/super.c
609
btrfs_set_opt(ctx->mount_opt, IGNOREDATACSUMS);
fs/btrfs/super.c
612
btrfs_set_opt(ctx->mount_opt, IGNOREMETACSUMS);
fs/btrfs/super.c
615
btrfs_set_opt(ctx->mount_opt, IGNORESUPERFLAGS);
fs/btrfs/super.c
618
btrfs_set_opt(ctx->mount_opt, IGNOREDATACSUMS);
fs/btrfs/super.c
619
btrfs_set_opt(ctx->mount_opt, IGNOREMETACSUMS);
fs/btrfs/super.c
620
btrfs_set_opt(ctx->mount_opt, IGNORESUPERFLAGS);
fs/btrfs/super.c
621
btrfs_set_opt(ctx->mount_opt, IGNOREBADROOTS);
fs/btrfs/super.c
622
btrfs_set_opt(ctx->mount_opt, NOLOGREPLAY);
fs/btrfs/super.c
634
btrfs_set_opt(ctx->mount_opt, FRAGMENT_DATA);
fs/btrfs/super.c
635
btrfs_set_opt(ctx->mount_opt, FRAGMENT_METADATA);
fs/btrfs/super.c
638
btrfs_set_opt(ctx->mount_opt, FRAGMENT_METADATA);
fs/btrfs/super.c
641
btrfs_set_opt(ctx->mount_opt, FRAGMENT_DATA);
fs/btrfs/super.c
650
btrfs_set_opt(ctx->mount_opt, REF_VERIFY);
fs/btrfs/super.c
653
btrfs_set_opt(ctx->mount_opt, REF_TRACKER);
fs/btrfs/super.c
671
btrfs_clear_opt(fs_info->mount_opt, USEBACKUPROOT);
fs/btrfs/super.c
672
btrfs_clear_opt(fs_info->mount_opt, CLEAR_CACHE);
fs/btrfs/super.c
673
btrfs_clear_opt(fs_info->mount_opt, NOSPACECACHE);
fs/btrfs/super.c
677
unsigned long long mount_opt, unsigned long long opt,
fs/btrfs/super.c
680
if (mount_opt & opt) {
fs/btrfs/super.c
689
unsigned long long *mount_opt,
fs/btrfs/super.c
695
(check_ro_option(info, *mount_opt, BTRFS_MOUNT_NOLOGREPLAY, "nologreplay") ||
fs/btrfs/super.c
696
check_ro_option(info, *mount_opt, BTRFS_MOUNT_IGNOREBADROOTS, "ignorebadroots") ||
fs/btrfs/super.c
697
check_ro_option(info, *mount_opt, BTRFS_MOUNT_IGNOREDATACSUMS, "ignoredatacsums") ||
fs/btrfs/super.c
698
check_ro_option(info, *mount_opt, BTRFS_MOUNT_IGNOREMETACSUMS, "ignoremetacsums") ||
fs/btrfs/super.c
699
check_ro_option(info, *mount_opt, BTRFS_MOUNT_IGNORESUPERFLAGS, "ignoresuperflags")))
fs/btrfs/super.c
703
!btrfs_raw_test_opt(*mount_opt, FREE_SPACE_TREE) &&
fs/btrfs/super.c
704
!btrfs_raw_test_opt(*mount_opt, CLEAR_CACHE)) {
fs/btrfs/super.c
709
!btrfs_raw_test_opt(*mount_opt, FREE_SPACE_TREE)) {
fs/btrfs/super.c
714
if (btrfs_check_mountopts_zoned(info, mount_opt))
fs/btrfs/super.c
718
if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) {
fs/btrfs/super.c
745
btrfs_clear_opt(fs_info->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
746
btrfs_set_opt(fs_info->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
774
btrfs_set_opt(fs_info->mount_opt, FREE_SPACE_TREE);
fs/btrfs/super.c
776
btrfs_set_opt(fs_info->mount_opt, SPACE_CACHE);
fs/btrfs/super.c
783
btrfs_set_opt(fs_info->mount_opt, SSD);
fs/btrfs/super.c
799
btrfs_set_opt(fs_info->mount_opt, DISCARD_ASYNC);
fs/btrfs/super.c
87
unsigned long long mount_opt;
fs/btrfs/super.h
14
unsigned long long *mount_opt,
fs/btrfs/tests/zoned-tests.c
85
btrfs_set_opt(fs_info->mount_opt, DEGRADED);
fs/btrfs/tests/zoned-tests.c
87
btrfs_clear_opt(fs_info->mount_opt, DEGRADED);
fs/btrfs/zoned.c
793
ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt);
fs/btrfs/zoned.c
802
unsigned long long *mount_opt)
fs/btrfs/zoned.c
811
if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) {
fs/btrfs/zoned.c
816
if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) {
fs/btrfs/zoned.c
821
if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) {
fs/btrfs/zoned.c
824
btrfs_clear_opt(*mount_opt, DISCARD_ASYNC);
fs/btrfs/zoned.h
146
unsigned long long *mount_opt)
fs/btrfs/zoned.h
62
unsigned long long *mount_opt);
fs/erofs/internal.h
160
#define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
fs/erofs/internal.h
161
#define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
fs/erofs/internal.h
162
#define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
fs/erofs/internal.h
63
unsigned int mount_opt;
fs/ext4/super.c
1881
int mount_opt;
fs/ext4/super.c
2164
EXT4_SET_CTX(mount_opt);
fs/ext4/super.c
2165
EXT4_CLEAR_CTX(mount_opt);
fs/ext4/super.c
2166
EXT4_TEST_CTX(mount_opt);
fs/ext4/super.c
2191
if (m->mount_opt & EXT4_MOUNT_DELALLOC) {
fs/ext4/super.c
2193
} else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) {
fs/ext4/super.c
2403
ctx_set_mount_opt(ctx, m->mount_opt);
fs/ext4/super.c
2405
ctx_clear_mount_opt(ctx, m->mount_opt);
fs/ext4/super.c
2451
ctx_set_mount_opt2(ctx, m->mount_opt);
fs/ext4/super.c
2453
ctx_clear_mount_opt2(ctx, m->mount_opt);
fs/ext4/super.c
2456
ctx_set_mount_opt(ctx, m->mount_opt);
fs/ext4/super.c
2458
ctx_clear_mount_opt(ctx, m->mount_opt);
fs/ext4/super.c
2983
unsigned int mount_opt, def_mount_opt;
fs/ext4/super.c
2990
mount_opt = sbi->s_mount_opt2;
fs/ext4/super.c
2993
mount_opt = sbi->s_mount_opt;
fs/ext4/super.c
2997
if (!nodefs && !(m->mount_opt & (mount_opt ^ def_mount_opt)))
fs/ext4/super.c
3001
(mount_opt & m->mount_opt) != m->mount_opt) ||
fs/ext4/super.c
3002
(!want_set && (mount_opt & m->mount_opt)))
fs/f2fs/f2fs.h
150
#define F2FS_OPTION(sbi) ((sbi)->mount_opt)
fs/f2fs/f2fs.h
1879
struct f2fs_mount_info mount_opt; /* mount options */
fs/f2fs/super.c
2818
org_mount_opt = sbi->mount_opt;
fs/f2fs/super.c
3088
sbi->mount_opt = org_mount_opt;
fs/ocfs2/super.c
1005
osb->s_mount_opt = parsed_options->mount_opt;
fs/ocfs2/super.c
1208
mopt->mount_opt = OCFS2_MOUNT_NOINTR;
fs/ocfs2/super.c
1239
tmp = options->mount_opt & (OCFS2_MOUNT_HB_LOCAL |
fs/ocfs2/super.c
1247
if (options->mount_opt & OCFS2_MOUNT_USRQUOTA &&
fs/ocfs2/super.c
1254
if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA &&
fs/ocfs2/super.c
1261
if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL &&
fs/ocfs2/super.c
1268
if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL |
fs/ocfs2/super.c
1271
options->mount_opt |= OCFS2_MOUNT_POSIX_ACL;
fs/ocfs2/super.c
1273
options->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL;
fs/ocfs2/super.c
1293
mopt->mount_opt |= result.uint_32;
fs/ocfs2/super.c
1297
mopt->mount_opt |= OCFS2_MOUNT_BARRIER;
fs/ocfs2/super.c
1299
mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER;
fs/ocfs2/super.c
1303
mopt->mount_opt |= OCFS2_MOUNT_NOINTR;
fs/ocfs2/super.c
1305
mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR;
fs/ocfs2/super.c
1308
mopt->mount_opt &= ~(OCFS2_MOUNT_ERRORS_CONT |
fs/ocfs2/super.c
1311
mopt->mount_opt |= result.uint_32;
fs/ocfs2/super.c
1314
mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK;
fs/ocfs2/super.c
1315
mopt->mount_opt |= result.uint_32;
fs/ocfs2/super.c
1319
mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR;
fs/ocfs2/super.c
1321
mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR;
fs/ocfs2/super.c
1349
mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS;
fs/ocfs2/super.c
1371
mopt->mount_opt |= OCFS2_MOUNT_INODE64;
fs/ocfs2/super.c
1374
mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA;
fs/ocfs2/super.c
1377
mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA;
fs/ocfs2/super.c
1380
mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED;
fs/ocfs2/super.c
1381
mopt->mount_opt |= result.uint_32;
fs/ocfs2/super.c
1385
mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL;
fs/ocfs2/super.c
1386
mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL;
fs/ocfs2/super.c
1388
mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL;
fs/ocfs2/super.c
1389
mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL;
fs/ocfs2/super.c
1407
mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT;
fs/ocfs2/super.c
625
if ((osb->s_mount_opt & tmp) != (parsed_options->mount_opt & tmp)) {
fs/ocfs2/super.c
632
(parsed_options->mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) {
fs/ocfs2/super.c
641
(parsed_options->mount_opt & OCFS2_MOUNT_INODE64)) {
fs/ocfs2/super.c
708
osb->s_mount_opt = parsed_options->mount_opt;
fs/ocfs2/super.c
76
unsigned long mount_opt;
tools/testing/selftests/landlock/fs_test.c
1667
ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2));
tools/testing/selftests/landlock/fs_test.c
1690
ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2));
tools/testing/selftests/landlock/fs_test.c
1764
ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2));
tools/testing/selftests/landlock/fs_test.c
308
ASSERT_EQ(0, mount_opt(mnt, TMP_DIR))
tools/testing/selftests/landlock/fs_test.c
376
ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2));
tools/testing/selftests/landlock/fs_test.c
6595
ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE));
tools/testing/selftests/landlock/fs_test.c
6605
ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE));
tools/testing/selftests/landlock/fs_test.c
7203
ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR));