Home
last modified time | relevance | path

Searched refs:test_opt (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.4/fs/ext2/
Dxattr_user.c17 return test_opt(dentry->d_sb, XATTR_USER); in ext2_xattr_user_list()
25 if (!test_opt(inode->i_sb, XATTR_USER)) in ext2_xattr_user_get()
37 if (!test_opt(inode->i_sb, XATTR_USER)) in ext2_xattr_user_set()
Dsuper.c75 if (test_opt(sb, ERRORS_PANIC)) in ext2_error()
77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { in ext2_error()
251 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
253 if (test_opt(sb, GRPID)) in ext2_show_options()
255 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
267 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
275 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
277 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
279 if (test_opt(sb, NO_UID32)) in ext2_show_options()
281 if (test_opt(sb, DEBUG)) in ext2_show_options()
[all …]
Dioctl.c108 if (test_opt(inode->i_sb, RESERVATION) in ext2_ioctl()
117 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl()
Dinode.c1300 } else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1384 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags()
1394 else if (test_opt(inode->i_sb, NOBH)) in ext2_set_file_ops()
1429 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1495 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1508 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1553 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
Dnamei.c172 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
240 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dialloc.c451 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
548 if (test_opt(sb, GRPID)) { in ext2_new_inode()
/Linux-v5.4/fs/ext4/
Dxattr_user.c18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_user_list()
26 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_user_get()
38 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_user_set()
Dext4_jbd2.h89 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
93 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
98 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
410 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in ext4_inode_journal_mode()
412 !test_opt(inode->i_sb, DELALLOC))) { in ext4_inode_journal_mode()
418 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
420 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode()
451 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
Dsuper.c457 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error()
463 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
475 if (test_opt(sb, ERRORS_RO) || system_going_down()) { in ext4_handle_error()
483 } else if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error()
702 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) { in __ext4_abort()
799 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error()
802 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1992 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
2081 if (test_opt(sb, PRJQUOTA) && !ext4_has_feature_project(sb)) { in parse_options()
2089 if (test_opt(sb, USRQUOTA) && usr_qf_name) in parse_options()
[all …]
Dext4_jbd2.c203 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
216 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
Dblock_validity.c262 if (!test_opt(sb, BLOCK_VALIDITY)) { in ext4_setup_system_zone()
310 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
Dfsync.c123 if (test_opt(inode->i_sb, BARRIER)) in ext4_sync_file()
Dresize.c114 if (test_opt(sb, DEBUG)) in verify_group_input()
349 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
794 if (test_opt(sb, DEBUG)) in add_new_gdb()
1435 if (test_opt(sb, DEBUG)) in ext4_update_super()
1578 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1721 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1752 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dioctl.c410 if (test_opt(inode->i_sb, DAX)) { in ext4_ioctl_setflags()
730 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl_group_add()
1092 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
1116 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in ext4_ioctl()
/Linux-v5.4/fs/f2fs/
Dsuper.c262 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
268 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
351 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
358 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
362 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
366 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
370 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
371 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
556 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
840 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options()
[all …]
Dxattr.c34 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
56 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
73 return test_opt(sbi, XATTR_USER); in f2fs_xattr_user_list()
Dsegment.c175 if (test_opt(sbi, LFS)) in f2fs_need_SSR()
533 if (test_opt(sbi, DATA_FLUSH)) { in f2fs_balance_fs_bg()
564 trace_f2fs_issue_flush(bdev, test_opt(sbi, NOBARRIER), in __submit_flush_wait()
565 test_opt(sbi, FLUSH_MERGE), ret); in __submit_flush_wait()
631 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush()
634 if (!test_opt(sbi, FLUSH_MERGE)) { in f2fs_issue_flush()
713 if (!test_opt(sbi, FLUSH_MERGE)) in f2fs_create_flush_cmd_control()
1933 bool need_align = test_opt(sbi, LFS) && __is_large_section(sbi); in f2fs_clear_prefree_segments()
1965 if (!test_opt(sbi, LFS) || !__is_large_section(sbi)) { in f2fs_clear_prefree_segments()
2479 if (test_opt(sbi, NOHEAP) && in __get_next_segno()
[all …]
Dgc.c105 if (f2fs_gc(sbi, test_opt(sbi, FORCE_FG_GC), true, NULL_SEGNO)) in gc_thread_func()
202 if (test_opt(sbi, NOHEAP) && in select_policy()
765 bool lfs_mode = test_opt(fio.sbi, LFS); in move_data_block()
1481 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_resize_fs()
Dnamei.c88 if (test_opt(sbi, INLINE_XATTR)) in f2fs_new_inode()
91 if (test_opt(sbi, INLINE_DATA) && f2fs_may_inline_data(inode)) in f2fs_new_inode()
286 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
Df2fs.h107 #define test_opt(sbi, option) (F2FS_OPTION(sbi).opt & F2FS_MOUNT_##option) macro
1710 if (test_opt(sbi, FASTBOOT)) in __get_cp_reason()
1748 if (!test_opt(sbi, RESERVE_ROOT)) in __allow_reserved_blocks()
2766 if (!test_opt(sbi, EXTENT_CACHE) || in f2fs_may_extent_tree()
3640 return (test_opt(sbi, DISCARD) && f2fs_hw_support_discard(sbi)) || in f2fs_realtime_discard_enable()
3701 return (test_opt(sbi, LFS) && (rw == WRITE) && in allow_outplace_dio()
3721 if (test_opt(sbi, LFS) && (rw == WRITE)) { in f2fs_force_buffered_io()
/Linux-v5.4/fs/erofs/
Dsuper.c390 if (test_opt(sbi, POSIX_ACL)) in erofs_fill_super()
551 if (test_opt(sbi, XATTR_USER)) in erofs_show_options()
557 if (test_opt(sbi, POSIX_ACL)) in erofs_show_options()
588 if (test_opt(sbi, POSIX_ACL)) in erofs_remount()
Dinternal.h102 #define test_opt(sbi, option) ((sbi)->mount_opt & EROFS_MOUNT_##option) macro
Dxattr.c425 return test_opt(EROFS_SB(dentry->d_sb), XATTR_USER); in erofs_xattr_user_list()
472 if (!test_opt(sbi, XATTR_USER)) in erofs_xattr_generic_get()
/Linux-v5.4/fs/qnx6/
Dqnx6.h71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
Ddir.c96 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()

12