Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ext4/
Dext4_jbd2.h86 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
91 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
96 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
400 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_inode_journal_mode()
403 !test_opt(inode->i_sb, DELALLOC)) in ext4_inode_journal_mode()
405 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
407 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.c21 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_list()
38 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_get()
50 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext4_xattr_user_set()
Dsuper.c383 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
390 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error()
399 if (test_opt(sb, ERRORS_PANIC)) { in ext4_handle_error()
594 if (test_opt(sb, ERRORS_PANIC)) { in __ext4_abort()
666 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1620 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
1698 (test_opt(sb, USRQUOTA) || test_opt(sb, GRPQUOTA))) { in parse_options()
1704 if (test_opt(sb, USRQUOTA) && sbi->s_qf_names[USRQUOTA]) in parse_options()
1707 if (test_opt(sb, GRPQUOTA) && sbi->s_qf_names[GRPQUOTA]) in parse_options()
1710 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()
768 if (test_opt(sb, DEBUG)) in add_new_gdb()
1400 if (test_opt(sb, DEBUG)) in ext4_update_super()
1542 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1687 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1718 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dioctl.c498 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
590 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
Dinode.c2918 test_opt(inode->i_sb, DELALLOC)) { in ext4_bmap()
3356 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops()
3793 if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC)) in ext4_truncate()
4033 if (test_opt(inode->i_sb, DAX)) in ext4_set_inode_flags()
4160 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_iget()
4472 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_do_update_inode()
5224 if (val && test_opt(inode->i_sb, DELALLOC)) { in ext4_change_inode_journal_flag()
5297 if (test_opt(inode->i_sb, DELALLOC) && in ext4_page_mkwrite()
Dmigrate.c642 if (test_opt(inode->i_sb, DELALLOC)) in ext4_ind_migrate()
Dballoc.c870 if (test_opt(inode->i_sb, DELALLOC)) in ext4_inode_to_goal_block()
Dialloc.c752 } else if (test_opt(sb, GRPID)) { in __ext4_new_inode()
Dmballoc.c2778 if (test_opt(sb, DISCARD)) { in ext4_free_data_callback()
2810 if (!test_opt(sb, DISCARD)) in ext4_free_data_callback()
4826 if (test_opt(sb, DISCARD)) { in ext4_free_blocks()
Dext4.h1063 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ macro
Dnamei.c3611 if (new.inode && !test_opt(new.dir->i_sb, NO_AUTO_DA_ALLOC)) in ext4_rename()
/linux-4.1.27/fs/ext2/
Dxattr_user.c20 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_list()
37 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext2_xattr_user_get()
49 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()
232 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
234 if (test_opt(sb, GRPID)) in ext2_show_options()
236 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
248 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
256 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
258 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
260 if (test_opt(sb, NO_UID32)) in ext2_show_options()
262 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.c107 if (test_opt(inode->i_sb, NOBH)) { in ext2_create()
125 if (test_opt(inode->i_sb, NOBH)) { in ext2_tmpfile()
182 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
246 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dinode.c1206 else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1288 if (test_opt(inode->i_sb, DAX)) in ext2_set_inode_flags()
1340 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1390 if (test_opt(inode->i_sb, NOBH)) { in ext2_iget()
1400 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1411 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1457 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.1.27/fs/ext3/
Dxattr_user.c18 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext3_xattr_user_list()
35 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext3_xattr_user_get()
47 if (!test_opt(dentry->d_sb, XATTR_USER)) in ext3_xattr_user_set()
Dsuper.c168 if (!test_opt (sb, ERRORS_CONT)) { in ext3_handle_error()
175 if (test_opt (sb, ERRORS_RO)) { in ext3_handle_error()
186 if (test_opt(sb, ERRORS_PANIC)) in ext3_handle_error()
291 if (test_opt(sb, ERRORS_PANIC)) in ext3_abort()
586 if (test_opt(sb, USRQUOTA)) in ext3_show_quota_options()
589 if (test_opt(sb, GRPQUOTA)) in ext3_show_quota_options()
623 if (test_opt(sb, MINIX_DF)) in ext3_show_options()
625 if (test_opt(sb, GRPID)) in ext3_show_options()
627 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT3_DEFM_BSDGROUPS)) in ext3_show_options()
639 if (test_opt(sb, ERRORS_RO)) { in ext3_show_options()
[all …]
Dext3.h374 #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & \ macro
1180 #define EXT3_QUOTA_TRANS_BLOCKS(sb) (test_opt(sb, QUOTA) ? 2 : 0)
1183 #define EXT3_QUOTA_INIT_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_INIT_ALLOC*\
1185 #define EXT3_QUOTA_DEL_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_DEL_ALLOC*\
1303 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA) in ext3_should_journal_data()
1316 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_ORDERED_DATA) in ext3_should_order_data()
1327 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA) in ext3_should_writeback_data()
Dfsync.c88 if (test_opt(inode->i_sb, BARRIER) && in ext3_sync_file()
Dioctl.c153 if (test_opt(inode->i_sb, RESERVATION) in ext3_ioctl()
163 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext3_ioctl()
Dresize.c40 if (test_opt(sb, DEBUG)) in verify_group_input()
442 if (test_opt(sb, DEBUG)) in add_new_gdb()
1007 if (test_opt(sb, DEBUG)) in ext3_group_extend()
1110 if (test_opt(sb, DEBUG)) in ext3_group_extend()
Dinode.c71 test_opt(inode->i_sb, DATA_FLAGS)); in ext3_forget()
78 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA || in ext3_forget()
2879 if(!(test_opt (inode->i_sb, NO_UID32))) { in ext3_iget()
3058 if(!(test_opt(inode->i_sb, NO_UID32))) { in ext3_do_update_inode()
Dialloc.c468 if (test_opt(sb, GRPID)) { in ext3_new_inode()
Dballoc.c437 if (!test_opt(sb, RESERVATION)) in ext3_init_block_alloc_info()
/linux-4.1.27/fs/f2fs/
Dsuper.c413 if (test_opt(F2FS_SB(sb), INLINE_XATTR)) in f2fs_alloc_inode()
576 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) in f2fs_show_options()
580 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
582 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
584 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
587 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
591 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
595 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
600 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
602 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
[all …]
Dxattr.c37 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_list()
72 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
96 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
Ddata.c123 if (test_opt(sbi, NOBARRIER)) in f2fs_submit_merged_bio()
726 if (!test_opt(F2FS_I_SB(inode), EXTENT_CACHE)) in f2fs_preserve_extent_tree()
779 if (!test_opt(sbi, EXTENT_CACHE)) in f2fs_shrink_extent_tree()
834 if (!test_opt(sbi, EXTENT_CACHE)) in f2fs_destroy_extent_tree()
867 if (test_opt(F2FS_I_SB(inode), EXTENT_CACHE)) in f2fs_init_extent_cache()
881 if (test_opt(F2FS_I_SB(inode), EXTENT_CACHE)) in f2fs_lookup_extent_cache()
900 if (test_opt(F2FS_I_SB(dn->inode), EXTENT_CACHE)) in f2fs_update_extent_cache()
Dsegment.c333 trace_f2fs_issue_flush(sbi->sb, test_opt(sbi, NOBARRIER), in f2fs_issue_flush()
334 test_opt(sbi, FLUSH_MERGE)); in f2fs_issue_flush()
336 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush()
339 if (!test_opt(sbi, FLUSH_MERGE)) in f2fs_issue_flush()
520 if (!force && (!test_opt(sbi, DISCARD) || in add_discard_addrs()
615 if (!test_opt(sbi, DISCARD)) in clear_prefree_segments()
920 if (test_opt(sbi, NOHEAP)) in new_curseg()
2150 if (test_opt(sbi, FLUSH_MERGE) && !f2fs_readonly(sbi->sb)) { in build_segment_manager()
Dnamei.c61 if (test_opt(sbi, INLINE_DENTRY) && S_ISDIR(inode->i_mode)) in f2fs_new_inode()
123 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
Dinline.c18 if (!test_opt(F2FS_I_SB(inode), INLINE_DATA)) in f2fs_may_inline()
Df2fs.h57 #define test_opt(sbi, option) (sbi->mount_opt.opt & F2FS_MOUNT_##option) macro
853 if (test_opt(sbi, FASTBOOT)) in __get_cp_reason()
Dfile.c133 else if (test_opt(sbi, FASTBOOT)) in need_do_checkpoint()
/linux-4.1.27/fs/qnx6/
Dqnx6.h70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
Ddir.c100 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()