Home
last modified time | relevance | path

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

12

/fs/ext2/
Dacl.c151 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_get_acl()
202 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_set_acl()
253 if (test_opt(dir->i_sb, POSIX_ACL)) { in ext2_init_acl()
261 if (test_opt(inode->i_sb, POSIX_ACL) && acl) { in ext2_init_acl()
300 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext2_acl_chmod()
324 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_list_acl_access()
337 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_list_acl_default()
353 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext2_xattr_get_acl()
376 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.c74 if (test_opt(sb, ERRORS_PANIC)) in ext2_error()
76 if (test_opt(sb, ERRORS_RO)) { in ext2_error()
229 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
231 if (test_opt(sb, GRPID)) in ext2_show_options()
233 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
245 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
253 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
255 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
257 if (test_opt(sb, NO_UID32)) in ext2_show_options()
259 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.c1204 else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1335 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1388 } else if (test_opt(inode->i_sb, NOBH)) { in ext2_iget()
1398 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1409 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1455 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()
/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.c393 if (!test_opt(sb, ERRORS_CONT)) { in ext4_handle_error()
400 if (test_opt(sb, ERRORS_RO)) { in ext4_handle_error()
409 if (test_opt(sb, ERRORS_PANIC)) in ext4_handle_error()
600 if (test_opt(sb, ERRORS_PANIC)) in __ext4_abort()
668 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
1616 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
1689 (test_opt(sb, USRQUOTA) || test_opt(sb, GRPQUOTA))) { in parse_options()
1695 if (test_opt(sb, USRQUOTA) && sbi->s_qf_names[USRQUOTA]) in parse_options()
1698 if (test_opt(sb, GRPQUOTA) && sbi->s_qf_names[GRPQUOTA]) in parse_options()
1701 if (test_opt(sb, GRPQUOTA) || test_opt(sb, USRQUOTA)) { in parse_options()
[all …]
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()
Dext4_jbd2.c192 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
205 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
Dresize.c99 if (test_opt(sb, DEBUG)) in verify_group_input()
322 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
756 if (test_opt(sb, DEBUG)) in add_new_gdb()
1400 if (test_opt(sb, DEBUG)) in ext4_update_super()
1539 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1684 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1715 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dioctl.c501 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
593 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl()
/fs/ext3/
Dsuper.c167 if (!test_opt (sb, ERRORS_CONT)) { in ext3_handle_error()
174 if (test_opt (sb, ERRORS_RO)) { in ext3_handle_error()
180 if (test_opt(sb, ERRORS_PANIC)) in ext3_handle_error()
285 if (test_opt(sb, ERRORS_PANIC)) in ext3_abort()
568 if (test_opt(sb, USRQUOTA)) in ext3_show_quota_options()
571 if (test_opt(sb, GRPQUOTA)) in ext3_show_quota_options()
605 if (test_opt(sb, MINIX_DF)) in ext3_show_options()
607 if (test_opt(sb, GRPID)) in ext3_show_options()
609 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT3_DEFM_BSDGROUPS)) in ext3_show_options()
621 if (test_opt(sb, ERRORS_RO)) { in ext3_show_options()
[all …]
Dacl.c148 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext3_get_acl()
255 if (test_opt(dir->i_sb, POSIX_ACL)) { in ext3_init_acl()
263 if (test_opt(inode->i_sb, POSIX_ACL) && acl) { in ext3_init_acl()
308 if (!test_opt(inode->i_sb, POSIX_ACL)) in ext3_acl_chmod()
343 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_list_acl_access()
356 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_list_acl_default()
372 if (!test_opt(dentry->d_sb, POSIX_ACL)) in ext3_xattr_get_acl()
397 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
1174 #define EXT3_QUOTA_TRANS_BLOCKS(sb) (test_opt(sb, QUOTA) ? 2 : 0)
1177 #define EXT3_QUOTA_INIT_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_INIT_ALLOC*\
1179 #define EXT3_QUOTA_DEL_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_DEL_ALLOC*\
1297 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA) in ext3_should_journal_data()
1310 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_ORDERED_DATA) in ext3_should_order_data()
1321 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()
/fs/f2fs/
Dacl.c176 if (!test_opt(sbi, POSIX_ACL)) in f2fs_get_acl()
217 if (!test_opt(sbi, POSIX_ACL)) in f2fs_set_acl()
268 if (test_opt(sbi, POSIX_ACL)) { in f2fs_init_acl()
277 if (test_opt(sbi, POSIX_ACL) && acl) { in f2fs_init_acl()
302 if (!test_opt(sbi, POSIX_ACL)) in f2fs_acl_chmod()
326 if (!test_opt(sbi, POSIX_ACL)) in f2fs_xattr_list_acl()
347 if (!test_opt(sbi, POSIX_ACL)) in f2fs_xattr_get_acl()
371 if (!test_opt(sbi, POSIX_ACL)) in f2fs_xattr_set_acl()
Dsuper.c217 if (test_opt(sbi, BG_GC)) in f2fs_show_options()
221 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
223 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
225 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
228 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
234 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
239 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
586 (test_opt(sbi, POSIX_ACL) ? MS_POSIXACL : 0); in f2fs_fill_super()
685 if (!test_opt(sbi, DISABLE_ROLL_FORWARD)) { in f2fs_fill_super()
701 if (test_opt(sbi, DISCARD)) { in f2fs_fill_super()
Dxattr.c35 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_list()
66 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
89 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
/fs/qnx6/
Dqnx6.h70 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro

12