Home
last modified time | relevance | path

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

12

/fs/ext4/
Dext4_jbd2.h85 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
89 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
94 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
398 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in ext4_inode_journal_mode()
400 !test_opt(inode->i_sb, DELALLOC))) { in ext4_inode_journal_mode()
406 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
408 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode()
439 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
Dxattr_user.c22 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_list()
40 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_get()
53 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_set()
Dsuper.c376 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
383 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error()
392 if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error()
593 if (test_opt(sb, ERRORS_PANIC)) { in __ext4_abort()
686 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1658 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
1739 (test_opt(sb, USRQUOTA) || test_opt(sb, GRPQUOTA))) { in parse_options()
1745 if (test_opt(sb, USRQUOTA) && sbi->s_qf_names[USRQUOTA]) in parse_options()
1748 if (test_opt(sb, GRPQUOTA) && sbi->s_qf_names[GRPQUOTA]) in parse_options()
1751 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
[all …]
Dext4_jbd2.c198 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
211 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
Dblock_validity.c185 if (!test_opt(sb, BLOCK_VALIDITY)) { in ext4_setup_system_zone()
217 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
Dioctl.c491 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
582 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
611 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in ext4_ioctl()
Dresize.c139 if (test_opt(sb, DEBUG)) in verify_group_input()
362 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
793 if (test_opt(sb, DEBUG)) in add_new_gdb()
1440 if (test_opt(sb, DEBUG)) in ext4_update_super()
1582 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1725 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1756 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dinode.c3036 test_opt(inode->i_sb, DELALLOC)) { in ext4_bmap()
3522 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops()
3974 if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC)) in ext4_truncate()
4215 if (test_opt(inode->i_sb, DAX)) in ext4_set_inode_flags()
4373 if (!(test_opt(inode->i_sb, NO_UID32))) { in __ext4_iget()
4702 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_do_update_inode()
5475 if (val && test_opt(inode->i_sb, DELALLOC)) { in ext4_change_inode_journal_flag()
5553 if (test_opt(inode->i_sb, DELALLOC) && in ext4_page_mkwrite()
Dmigrate.c638 if (test_opt(inode->i_sb, DELALLOC)) in ext4_ind_migrate()
/fs/f2fs/
Dsuper.c213 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
220 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
311 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi->sb)) { in f2fs_check_quota_options()
319 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
323 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
327 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
331 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
332 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
539 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
780 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options()
[all …]
Dxattr.c37 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_list()
68 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
94 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
Dsegment.c178 if (test_opt(sbi, LFS)) in need_SSR()
506 if (test_opt(sbi, DATA_FLUSH)) { in f2fs_balance_fs_bg()
529 trace_f2fs_issue_flush(bdev, test_opt(sbi, NOBARRIER), in __submit_flush_wait()
530 test_opt(sbi, FLUSH_MERGE), ret); in __submit_flush_wait()
596 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush()
599 if (!test_opt(sbi, FLUSH_MERGE)) { in f2fs_issue_flush()
675 if (!test_opt(sbi, FLUSH_MERGE)) in create_flush_cmd_control()
1621 if (!test_opt(sbi, DISCARD) || !se->valid_blocks || in add_discard_addrs()
1713 if (!test_opt(sbi, DISCARD)) in clear_prefree_segments()
1720 if (!test_opt(sbi, LFS) || sbi->segs_per_sec == 1) { in clear_prefree_segments()
[all …]
Dnamei.c90 if (test_opt(sbi, INLINE_XATTR)) in f2fs_new_inode()
93 if (test_opt(sbi, INLINE_DATA) && f2fs_may_inline_data(inode)) in f2fs_new_inode()
281 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
Dgc.c102 if (f2fs_gc(sbi, test_opt(sbi, FORCE_FG_GC), true, NULL_SEGNO)) in gc_thread_func()
203 if (test_opt(sbi, NOHEAP) && in select_policy()
Df2fs.h105 #define test_opt(sbi, option) (F2FS_OPTION(sbi).opt & F2FS_MOUNT_##option) macro
1629 if (test_opt(sbi, FASTBOOT)) in __get_cp_reason()
1679 if (!test_opt(sbi, RESERVE_ROOT)) in __allow_reserved_blocks()
2576 if (!test_opt(F2FS_I_SB(inode), EXTENT_CACHE) || in f2fs_may_extent_tree()
3373 (rw == WRITE && test_opt(F2FS_I_SB(inode), LFS)) || in f2fs_force_buffered_io()
Dcheckpoint.c917 if (type != FILE_INODE || test_opt(sbi, DATA_FLUSH)) in update_dirty_page()
935 if (type == FILE_INODE && !test_opt(sbi, DATA_FLUSH)) in remove_dirty_inode()
/fs/ext2/
Dxattr_user.c21 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_list()
39 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_get()
52 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_set()
Dsuper.c73 if (test_opt(sb, ERRORS_PANIC)) in ext2_error()
75 if (test_opt(sb, ERRORS_RO)) { in ext2_error()
238 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
240 if (test_opt(sb, GRPID)) in ext2_show_options()
242 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
254 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
262 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
264 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
266 if (test_opt(sb, NO_UID32)) in ext2_show_options()
268 if (test_opt(sb, DEBUG)) in ext2_show_options()
[all …]
Dnamei.c109 if (test_opt(inode->i_sb, NOBH)) { in ext2_create()
127 if (test_opt(inode->i_sb, NOBH)) { in ext2_tmpfile()
185 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
254 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dioctl.c116 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()
Dinode.c1205 else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1289 if (test_opt(inode->i_sb, DAX)) in ext2_set_inode_flags()
1341 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1391 if (test_opt(inode->i_sb, NOBH)) { in ext2_iget()
1401 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1413 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1459 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
Dialloc.c455 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
546 if (test_opt(sb, GRPID)) { in ext2_new_inode()
Dext2.h399 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ macro
/fs/qnx6/
Dqnx6.h70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
Ddir.c95 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()

12