Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
A Dtest_tcp_hdr_options.c77 data[offset++] = test_opt->flags; in write_test_option()
79 data[offset++] = test_opt->max_delack_ms; in write_test_option()
81 if (TEST_OPTION_FLAGS(test_opt->flags, OPTION_RAND)) in write_test_option()
82 data[offset++] = test_opt->rand; in write_test_option()
86 const struct bpf_test_option *test_opt) in store_option() argument
96 write_opt.exprm.len = option_total_len(test_opt->flags); in store_option()
99 write_test_option(test_opt, write_opt.exprm.data); in store_option()
106 write_test_option(test_opt, write_opt.regular.data); in store_option()
131 struct bpf_test_option *test_opt, bool from_syn) in load_option() argument
163 struct bpf_test_option test_opt = {}; in synack_opt_len() local
[all …]
/linux/fs/ext2/
A Dxattr_user.c17 return test_opt(dentry->d_sb, XATTR_USER); in ext2_xattr_user_list()
25 if (!test_opt(inode->i_sb, XATTR_USER)) in ext2_xattr_user_get()
38 if (!test_opt(inode->i_sb, XATTR_USER)) in ext2_xattr_user_set()
A Dsuper.c247 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
249 if (test_opt(sb, GRPID)) in ext2_show_options()
275 if (test_opt(sb, NO_UID32)) in ext2_show_options()
277 if (test_opt(sb, DEBUG)) in ext2_show_options()
279 if (test_opt(sb, OLDALLOC)) in ext2_show_options()
298 if (test_opt(sb, USRQUOTA)) in ext2_show_options()
301 if (test_opt(sb, GRPQUOTA)) in ext2_show_options()
304 if (test_opt(sb, XIP)) in ext2_show_options()
307 if (test_opt(sb, DAX)) in ext2_show_options()
670 if (test_opt (sb, DEBUG)) in ext2_setup_super()
[all …]
A Dioctl.c90 if (test_opt(inode->i_sb, RESERVATION) in ext2_ioctl()
99 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl()
A Dialloc.c443 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
540 if (test_opt(sb, GRPID)) { in ext2_new_inode()
A Dinode.c1362 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags()
1405 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1522 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
/linux/fs/ext4/
A Dxattr_hurd.c18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_hurd_list()
26 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_hurd_get()
40 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_hurd_set()
A Dxattr_user.c18 return test_opt(dentry->d_sb, XATTR_USER); in ext4_xattr_user_list()
26 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_user_get()
39 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_user_set()
A Dext4_jbd2.c17 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in ext4_inode_journal_mode()
19 !test_opt(inode->i_sb, DELALLOC))) { in ext4_inode_journal_mode()
25 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA) in ext4_inode_journal_mode()
27 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA) in ext4_inode_journal_mode()
277 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
290 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
A Dsuper.c2638 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency()
2641 test_opt(sb, GRPQUOTA)); in ext4_check_quota_consistency()
3100 if (test_opt(sb, DEBUG)) in ext4_setup_super()
4972 if (test_opt(sb, DELALLOC)) in ext4_check_journal_data_mode()
5736 if (test_opt(sb, BARRIER)) in ext4_init_journal_params()
6805 if (!test_opt(sb, MINIX_DF)) in ext4_statfs()
6959 if (!test_opt(sb, QUOTA)) in ext4_quota_on()
7081 test_opt(sb, USRQUOTA), in ext4_enable_quotas()
7082 test_opt(sb, GRPQUOTA), in ext4_enable_quotas()
7083 test_opt(sb, PRJQUOTA), in ext4_enable_quotas()
[all …]
A Dext4_jbd2.h480 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_free_data_revoke_credits()
502 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
511 if (!test_opt(inode->i_sb, DELALLOC)) in ext4_should_dioread_nolock()
A Dfsync.c91 if (test_opt(inode->i_sb, BARRIER)) in ext4_fsync_nojournal()
A Dresize.c147 if (test_opt(sb, DEBUG)) in verify_group_input()
402 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
835 if (test_opt(sb, DEBUG)) in add_new_gdb()
1526 if (test_opt(sb, DEBUG)) in ext4_update_super()
1669 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1816 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1846 if (test_opt(sb, DEBUG)) in ext4_group_extend()
A Dorphan.c331 if (test_opt(sb, DEBUG)) in ext4_process_orphan()
352 if (test_opt(sb, DEBUG)) in ext4_process_orphan()
A Dioctl.c556 test_opt(inode->i_sb, DAX_ALWAYS)) in ext4_dax_dontcache()
974 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl_group_add()
1471 test_opt(sb, INIT_INODE_TABLE)) in __ext4_ioctl()
1496 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in __ext4_ioctl()
A Dblock_validity.c264 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
A Dballoc.c707 if (test_opt(sb, DISCARD)) { in ext4_should_retry_alloc()
992 if (test_opt(inode->i_sb, DELALLOC)) in ext4_inode_to_goal_block()
/linux/fs/f2fs/
A Dsuper.c462 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
463 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
1951 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
2008 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
2045 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
2047 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
2049 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
2084 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2820 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2821 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
[all …]
A Dxattr.c54 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
77 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
94 return test_opt(sbi, XATTR_USER); in f2fs_xattr_user_list()
A Dextent_cache.c69 return test_opt(F2FS_I_SB(inode), READ_EXTENT_CACHE) && in __init_may_extent_tree()
72 return test_opt(F2FS_I_SB(inode), AGE_EXTENT_CACHE) && in __init_may_extent_tree()
1001 if (!test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_shrink_read_extent_tree()
1038 if (!test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_shrink_age_extent_tree()
A Dnamei.c286 if (test_opt(sbi, INLINE_XATTR)) in f2fs_new_inode()
316 if (test_opt(sbi, INLINE_DATA) && f2fs_may_inline_data(inode)) in f2fs_new_inode()
319 if (name && !test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_new_inode()
/linux/fs/erofs/
A Dsuper.c640 if (test_opt(&sbi->opt, DAX_ALWAYS)) { in erofs_fc_fill_super()
654 if (test_opt(&sbi->opt, POSIX_ACL)) in erofs_fc_fill_super()
743 if (test_opt(&new_sbi->opt, POSIX_ACL)) in erofs_fc_reconfigure()
950 seq_puts(seq, test_opt(opt, XATTR_USER) ? in erofs_show_options()
953 seq_puts(seq, test_opt(opt, POSIX_ACL) ? ",acl" : ",noacl"); in erofs_show_options()
957 if (test_opt(opt, DAX_ALWAYS)) in erofs_show_options()
959 if (test_opt(opt, DAX_NEVER)) in erofs_show_options()
A Dxattr.c128 return test_opt(&EROFS_SB(dentry->d_sb)->opt, XATTR_USER); in erofs_xattr_user_list()
141 !test_opt(&EROFS_I_SB(inode)->opt, XATTR_USER)) in erofs_xattr_generic_get()
/linux/fs/qnx6/
A Dqnx6.h71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
A Ddir.c99 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()

Completed in 65 milliseconds

12