Home
last modified time | relevance | path

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

/linux-4.4.14/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()
401 !test_opt(inode->i_sb, DELALLOC)) in ext4_inode_journal_mode()
403 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
405 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode()
437 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.c375 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
382 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error()
391 if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error()
592 if (test_opt(sb, ERRORS_PANIC)) { in __ext4_abort()
685 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1643 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
1724 (test_opt(sb, USRQUOTA) || test_opt(sb, GRPQUOTA))) { in parse_options()
1730 if (test_opt(sb, USRQUOTA) && sbi->s_qf_names[USRQUOTA]) in parse_options()
1733 if (test_opt(sb, GRPQUOTA) && sbi->s_qf_names[GRPQUOTA]) in parse_options()
1736 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
[all …]
Dblock_validity.c148 if (!test_opt(sb, BLOCK_VALIDITY)) { in ext4_setup_system_zone()
174 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
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()
Dresize.c111 if (test_opt(sb, DEBUG)) in verify_group_input()
334 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
767 if (test_opt(sb, DEBUG)) in add_new_gdb()
1397 if (test_opt(sb, DEBUG)) in ext4_update_super()
1538 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1681 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1712 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dioctl.c491 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
582 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
Dinode.c2949 test_opt(inode->i_sb, DELALLOC)) { in ext4_bmap()
3398 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops()
3835 if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC)) in ext4_truncate()
4075 if (test_opt(inode->i_sb, DAX)) in ext4_set_inode_flags()
4201 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_iget()
4516 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_do_update_inode()
5275 if (val && test_opt(inode->i_sb, DELALLOC)) { in ext4_change_inode_journal_flag()
5348 if (test_opt(inode->i_sb, DELALLOC) && in ext4_page_mkwrite()
Dmigrate.c639 if (test_opt(inode->i_sb, DELALLOC)) in ext4_ind_migrate()
Dballoc.c877 if (test_opt(inode->i_sb, DELALLOC)) in ext4_inode_to_goal_block()
Dialloc.c798 } else if (test_opt(sb, GRPID)) { in __ext4_new_inode()
Dmballoc.c2794 if (test_opt(sb, DISCARD)) { in ext4_free_data_callback()
2826 if (!test_opt(sb, DISCARD)) in ext4_free_data_callback()
4850 if (test_opt(sb, DISCARD)) { in ext4_free_blocks()
Dext4.h1102 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ macro
Dnamei.c3543 if (new.inode && !test_opt(new.dir->i_sb, NO_AUTO_DA_ALLOC)) in ext4_rename()
/linux-4.4.14/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()
235 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
237 if (test_opt(sb, GRPID)) in ext2_show_options()
239 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
251 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
259 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
261 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
263 if (test_opt(sb, NO_UID32)) in ext2_show_options()
265 if (test_opt(sb, DEBUG)) in ext2_show_options()
[all …]
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()
Dnamei.c110 if (test_opt(inode->i_sb, NOBH)) { in ext2_create()
128 if (test_opt(inode->i_sb, NOBH)) { in ext2_tmpfile()
186 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
255 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dinode.c1215 else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1299 if (test_opt(inode->i_sb, DAX)) in ext2_set_inode_flags()
1351 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1401 if (test_opt(inode->i_sb, NOBH)) { in ext2_iget()
1411 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1423 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1469 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
Dialloc.c454 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
545 if (test_opt(sb, GRPID)) { in ext2_new_inode()
Dext2.h396 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ macro
Dballoc.c428 if (!test_opt(sb, RESERVATION)) in ext2_init_block_alloc_info()
/linux-4.4.14/fs/f2fs/
Dsuper.c440 if (test_opt(F2FS_SB(sb), INLINE_XATTR)) in f2fs_alloc_inode()
643 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options()
644 if (test_opt(sbi, FORCE_FG_GC)) in f2fs_show_options()
651 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
653 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
655 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
658 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
662 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
666 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
671 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_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.c358 trace_f2fs_issue_flush(sbi->sb, test_opt(sbi, NOBARRIER), in f2fs_issue_flush()
359 test_opt(sbi, FLUSH_MERGE)); in f2fs_issue_flush()
361 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush()
364 if (!test_opt(sbi, FLUSH_MERGE)) { in f2fs_issue_flush()
520 if (test_opt(sbi, DISCARD)) { in discard_next_dnode()
580 if (!test_opt(sbi, DISCARD) || !se->valid_blocks || in add_discard_addrs()
649 if (!test_opt(sbi, DISCARD)) in clear_prefree_segments()
995 if (test_opt(sbi, NOHEAP)) in new_curseg()
2316 if (test_opt(sbi, FLUSH_MERGE) && !f2fs_readonly(sbi->sb)) { in build_segment_manager()
Dinline.c19 if (!test_opt(F2FS_I_SB(inode), INLINE_DATA)) in f2fs_may_inline_data()
39 if (!test_opt(F2FS_I_SB(inode), INLINE_DENTRY)) in f2fs_may_inline_dentry()
Df2fs.h60 #define test_opt(sbi, option) (sbi->mount_opt.opt & F2FS_MOUNT_##option) macro
974 if (test_opt(sbi, FASTBOOT)) in __get_cp_reason()
1607 if (!test_opt(F2FS_I_SB(inode), EXTENT_CACHE) || in f2fs_may_extent_tree()
Dextent_cache.c559 if (!test_opt(sbi, EXTENT_CACHE)) in f2fs_shrink_extent_tree()
Dgc.c81 if (f2fs_gc(sbi, test_opt(sbi, FORCE_FG_GC))) in gc_thread_func()
Dnamei.c137 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
Ddata.c132 if (test_opt(sbi, NOBARRIER)) in f2fs_submit_merged_bio()
Dfile.c145 else if (test_opt(sbi, FASTBOOT)) in need_do_checkpoint()
/linux-4.4.14/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()
Dinode.c325 if (test_opt(s, MMI_FS)) { in qnx6_fill_super()