Home
last modified time | relevance | path

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

12

/fs/ext4/
Dext4_jbd2.h90 #define EXT4_QUOTA_TRANS_BLOCKS(sb) (test_opt(sb, QUOTA) ? 1 : 0)
93 #define EXT4_QUOTA_INIT_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_INIT_ALLOC*\
96 #define EXT4_QUOTA_DEL_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_DEL_ALLOC*\
353 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_inode_journal_mode()
356 !test_opt(inode->i_sb, DELALLOC)) in ext4_inode_journal_mode()
358 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
360 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode()
392 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
Dacl.c142 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext4_get_acl()
251 if (test_opt(dir->i_sb, POSIX_ACL)) { in ext4_init_acl()
259 if (test_opt(inode->i_sb, POSIX_ACL) && acl) { in ext4_init_acl()
305 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext4_acl_chmod()
340 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext4_xattr_list_acl_access()
353 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext4_xattr_list_acl_default()
369 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext4_xattr_get_acl()
394 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext4_xattr_set_acl()
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.c475 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
482 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error()
486 if (test_opt(sb, ERRORS_PANIC)) in ext4_handle_error()
662 if (test_opt(sb, ERRORS_PANIC)) in __ext4_abort()
720 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1556 else if (test_opt(sb, DATA_FLAGS) != in handle_mount_opt()
1628 if (test_opt(sb, USRQUOTA) && sbi->s_qf_names[USRQUOTA]) in parse_options()
1631 if (test_opt(sb, GRPQUOTA) && sbi->s_qf_names[GRPQUOTA]) in parse_options()
1634 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
1654 if (test_opt(sb, DIOREAD_NOLOCK)) { in parse_options()
[all …]
Dext4_jbd2.c49 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
62 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
Dresize.c71 if (test_opt(sb, DEBUG)) in verify_group_input()
290 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
707 if (test_opt(sb, DEBUG)) in add_new_gdb()
1235 if (test_opt(sb, DEBUG)) in ext4_update_super()
1507 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1538 if (test_opt(sb, DEBUG)) in ext4_group_extend()
1618 if (test_opt(sb, DEBUG)) in ext4_resize_fs()
1708 if (test_opt(sb, DEBUG)) in ext4_resize_fs()
Dblock_validity.c149 if (!test_opt(sb, BLOCK_VALIDITY)) { in ext4_setup_system_zone()
175 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
Dinode.c1391 else if (test_opt(inode->i_sb, MBLK_IO_SUBMIT)) in mpage_da_submit_io()
2652 test_opt(inode->i_sb, DELALLOC)) { in ext4_bmap()
3120 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops()
3126 if (test_opt(inode->i_sb, DELALLOC)) in ext4_set_aops()
3420 if (inode->i_size == 0 && !test_opt(inode->i_sb, NO_AUTO_DA_ALLOC)) in ext4_truncate()
3675 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_iget()
3907 if (!(test_opt(inode->i_sb, NO_UID32))) { in ext4_do_update_inode()
4574 if (val && test_opt(inode->i_sb, DELALLOC)) { in ext4_change_inode_journal_flag()
4638 if (test_opt(inode->i_sb, DELALLOC) && in ext4_page_mkwrite()
/fs/ext2/
Dacl.c139 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_get_acl()
190 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_set_acl()
245 if (test_opt(dir->i_sb, POSIX_ACL)) { in ext2_init_acl()
253 if (test_opt(inode->i_sb, POSIX_ACL) && acl) { in ext2_init_acl()
292 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_acl_chmod()
316 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_list_acl_access()
329 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_list_acl_default()
345 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_get_acl()
368 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_set_acl()
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.c72 if (test_opt(sb, ERRORS_PANIC)) in ext2_error()
74 if (test_opt(sb, ERRORS_RO)) { in ext2_error()
225 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
227 if (test_opt(sb, GRPID)) in ext2_show_options()
229 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
239 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
247 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
249 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
251 if (test_opt(sb, NO_UID32)) in ext2_show_options()
253 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.c111 } else if (test_opt(inode->i_sb, NOBH)) { in ext2_create()
166 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
230 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dinode.c1186 else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1315 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1366 } else if (test_opt(inode->i_sb, NOBH)) { in ext2_iget()
1376 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1387 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1433 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
Dialloc.c456 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
548 if (test_opt(sb, GRPID)) { in ext2_new_inode()
/fs/ext3/
Dsuper.c178 if (!test_opt (sb, ERRORS_CONT)) { in ext3_handle_error()
185 if (test_opt (sb, ERRORS_RO)) { in ext3_handle_error()
191 if (test_opt(sb, ERRORS_PANIC)) in ext3_handle_error()
296 if (test_opt(sb, ERRORS_PANIC)) in ext3_abort()
577 if (test_opt(sb, USRQUOTA)) in ext3_show_quota_options()
580 if (test_opt(sb, GRPQUOTA)) in ext3_show_quota_options()
614 if (test_opt(sb, MINIX_DF)) in ext3_show_options()
616 if (test_opt(sb, GRPID)) in ext3_show_options()
618 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT3_DEFM_BSDGROUPS)) in ext3_show_options()
628 if (test_opt(sb, ERRORS_RO)) { in ext3_show_options()
[all …]
Dacl.c136 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext3_get_acl()
247 if (test_opt(dir->i_sb, POSIX_ACL)) { in ext3_init_acl()
255 if (test_opt(inode->i_sb, POSIX_ACL) && acl) { in ext3_init_acl()
300 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext3_acl_chmod()
335 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_list_acl_access()
348 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_list_acl_default()
364 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_get_acl()
389 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext3_xattr_set_acl()
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()
Dext3.h372 #define test_opt(sb, opt) (EXT3_SB(sb)->s_mount_opt & \ macro
1170 #define EXT3_QUOTA_TRANS_BLOCKS(sb) (test_opt(sb, QUOTA) ? 2 : 0)
1173 #define EXT3_QUOTA_INIT_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_INIT_ALLOC*\
1175 #define EXT3_QUOTA_DEL_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_DEL_ALLOC*\
1293 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA) in ext3_should_journal_data()
1306 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_ORDERED_DATA) in ext3_should_order_data()
1317 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA) in ext3_should_writeback_data()
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()
Dfsync.c84 if (test_opt(inode->i_sb, BARRIER) && in ext3_sync_file()
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.c70 test_opt(inode->i_sb, DATA_FLAGS)); in ext3_forget()
77 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA || in ext3_forget()
2913 if(!(test_opt (inode->i_sb, NO_UID32))) { in ext3_iget()
3086 if(!(test_opt(inode->i_sb, NO_UID32))) { in ext3_do_update_inode()
/fs/qnx6/
Dqnx6.h70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
Ddir.c101 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()

12