/fs/f2fs/ |
D | super.c | 219 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root() 226 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root() 317 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options() 325 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options() 329 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options() 333 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options() 337 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options() 338 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options() 531 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options() 816 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options() [all …]
|
D | xattr.c | 33 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get() 55 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set() 72 return test_opt(sbi, XATTR_USER); in f2fs_xattr_user_list()
|
D | segment.c | 175 if (test_opt(sbi, LFS)) in f2fs_need_SSR() 546 if (test_opt(sbi, DATA_FLUSH)) { in f2fs_balance_fs_bg() 573 trace_f2fs_issue_flush(bdev, test_opt(sbi, NOBARRIER), in __submit_flush_wait() 574 test_opt(sbi, FLUSH_MERGE), ret); in __submit_flush_wait() 640 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush() 643 if (!test_opt(sbi, FLUSH_MERGE)) { in f2fs_issue_flush() 721 if (!test_opt(sbi, FLUSH_MERGE)) in f2fs_create_flush_cmd_control() 1926 bool need_align = test_opt(sbi, LFS) && __is_large_section(sbi); in f2fs_clear_prefree_segments() 1958 if (!test_opt(sbi, LFS) || !__is_large_section(sbi)) { in f2fs_clear_prefree_segments() 2462 if (test_opt(sbi, NOHEAP) && in __get_next_segno() [all …]
|
D | gc.c | 105 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() 731 bool lfs_mode = test_opt(fio.sbi, LFS); in move_data_block()
|
D | namei.c | 88 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() 287 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
|
D | f2fs.h | 108 #define test_opt(sbi, option) (F2FS_OPTION(sbi).opt & F2FS_MOUNT_##option) macro 1682 if (test_opt(sbi, FASTBOOT)) in __get_cp_reason() 1720 if (!test_opt(sbi, RESERVE_ROOT)) in __allow_reserved_blocks() 2721 if (!test_opt(sbi, EXTENT_CACHE) || in f2fs_may_extent_tree() 3585 return (test_opt(sbi, DISCARD) && f2fs_hw_support_discard(sbi)) || in f2fs_realtime_discard_enable() 3632 return (test_opt(sbi, LFS) && (rw == WRITE) && in allow_outplace_dio() 3652 if (test_opt(sbi, LFS) && (rw == WRITE) && in f2fs_force_buffered_io()
|
D | data.c | 303 if (test_opt(sbi, LFS) && current->plug) in __submit_bio() 429 if (!test_opt(sbi, NOBARRIER)) in __f2fs_submit_merged_write() 1079 if (test_opt(sbi, LFS) && flag == F2FS_GET_BLOCK_DIO && in f2fs_map_blocks() 1134 if (test_opt(sbi, LFS) && flag == F2FS_GET_BLOCK_DIO && in f2fs_map_blocks() 1810 if (test_opt(sbi, LFS)) in f2fs_should_update_outplace()
|
/fs/ext4/ |
D | ext4_jbd2.h | 92 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ 96 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ 101 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\ 413 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in ext4_inode_journal_mode() 415 !test_opt(inode->i_sb, DELALLOC))) { in ext4_inode_journal_mode() 421 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode() 423 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode() 454 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
|
D | xattr_user.c | 18 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()
|
D | super.c | 434 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error() 441 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error() 450 if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error() 666 if (test_opt(sb, ERRORS_PANIC)) { in __ext4_abort() 762 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error() 1895 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt() 1984 if (test_opt(sb, PRJQUOTA) && !ext4_has_feature_project(sb)) { in parse_options() 1992 if (test_opt(sb, USRQUOTA) && usr_qf_name) in parse_options() 1995 if (test_opt(sb, GRPQUOTA) && grp_qf_name) in parse_options() 1998 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options() [all …]
|
D | block_validity.c | 149 if (!test_opt(sb, BLOCK_VALIDITY)) { in ext4_setup_system_zone() 175 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
|
D | ext4_jbd2.c | 203 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()
|
D | fsync.c | 123 if (test_opt(inode->i_sb, BARRIER)) in ext4_sync_file()
|
D | resize.c | 141 if (test_opt(sb, DEBUG)) in verify_group_input() 366 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables() 797 if (test_opt(sb, DEBUG)) in add_new_gdb() 1443 if (test_opt(sb, DEBUG)) in ext4_update_super() 1585 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd() 1728 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check() 1759 if (test_opt(sb, DEBUG)) in ext4_group_extend()
|
D | ioctl.c | 340 if (test_opt(inode->i_sb, DAX)) { in ext4_ioctl_setflags() 873 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl() 964 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl() 988 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in ext4_ioctl()
|
D | inode.c | 3312 test_opt(inode->i_sb, DELALLOC)) { in ext4_bmap() 3986 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops() 4443 if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC)) in ext4_truncate() 4688 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode) && in ext4_set_inode_flags() 4823 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_iget() 5162 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_do_update_inode() 6179 if (test_opt(inode->i_sb, DELALLOC) && in ext4_page_mkwrite()
|
/fs/ext2/ |
D | xattr_user.c | 17 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()
|
D | super.c | 73 if (test_opt(sb, ERRORS_PANIC)) in ext2_error() 75 if (test_opt(sb, ERRORS_RO)) { in ext2_error() 255 if (test_opt(sb, MINIX_DF)) in ext2_show_options() 257 if (test_opt(sb, GRPID)) in ext2_show_options() 259 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options() 271 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options() 279 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options() 281 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options() 283 if (test_opt(sb, NO_UID32)) in ext2_show_options() 285 if (test_opt(sb, DEBUG)) in ext2_show_options() [all …]
|
D | namei.c | 110 if (test_opt(inode->i_sb, NOBH)) { in ext2_create() 128 if (test_opt(inode->i_sb, NOBH)) { in ext2_tmpfile() 187 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink() 256 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
|
D | ioctl.c | 116 if (test_opt(inode->i_sb, RESERVATION) in ext2_ioctl() 125 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl()
|
D | inode.c | 1296 } else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize() 1380 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags() 1413 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget() 1477 if (test_opt(inode->i_sb, NOBH)) { in ext2_iget() 1487 if (test_opt(inode->i_sb, NOBH)) in ext2_iget() 1500 if (test_opt(inode->i_sb, NOBH)) in ext2_iget() 1545 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
|
D | ialloc.c | 455 if (test_opt(sb, OLDALLOC)) in ext2_new_inode() 551 if (test_opt(sb, GRPID)) { in ext2_new_inode()
|
D | ext2.h | 402 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ macro
|
/fs/qnx6/ |
D | qnx6.h | 71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
|
D | dir.c | 96 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()
|