Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tcp_hdr_options.c72 static void write_test_option(const struct bpf_test_option *test_opt, in write_test_option() argument
77 data[offset++] = test_opt->flags; in write_test_option()
78 if (TEST_OPTION_FLAGS(test_opt->flags, OPTION_MAX_DELACK_MS)) 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()
104 write_opt.regular.len = option_total_len(test_opt->flags); in store_option()
[all …]
/kernel/linux/linux-5.10/fs/ext4/
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()
39 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_hurd_set()
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()
38 if (!test_opt(inode->i_sb, XATTR_USER)) in ext4_xattr_user_set()
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()
267 test_opt(inode->i_sb, DATA_FLAGS)); in __ext4_forget()
280 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA || in __ext4_forget()
Dext4_jbd2.h89 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
93 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
98 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((test_opt(sb, QUOTA) ||\
477 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_free_data_revoke_credits()
499 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock()
508 if (!test_opt(inode->i_sb, DELALLOC)) in ext4_should_dioread_nolock()
Dsuper.c638 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT); in ext4_handle_error()
641 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error()
669 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) { in ext4_handle_error()
984 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error()
985 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error()
2310 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
2350 (test_opt(sb, DATA_FLAGS) == in handle_mount_opt()
2449 if (test_opt(sb, PRJQUOTA) && !ext4_has_feature_project(sb)) { in parse_options()
2457 if (test_opt(sb, USRQUOTA) && usr_qf_name) in parse_options()
2460 if (test_opt(sb, GRPQUOTA) && grp_qf_name) in parse_options()
[all …]
Dfsync.c98 if (test_opt(inode->i_sb, BARRIER)) in ext4_fsync_nojournal()
Dresize.c156 if (test_opt(sb, DEBUG)) in verify_group_input()
391 if (test_opt(sb, DEBUG)) { in ext4_alloc_group_tables()
818 if (test_opt(sb, DEBUG)) in add_new_gdb()
1472 if (test_opt(sb, DEBUG)) in ext4_update_super()
1616 if (!test_opt(sb, INIT_INODE_TABLE)) in ext4_setup_next_flex_gd()
1762 if (test_opt(sb, DEBUG)) in ext4_group_extend_no_check()
1793 if (test_opt(sb, DEBUG)) in ext4_group_extend()
Dioctl.c306 test_opt(inode->i_sb, DAX_ALWAYS)) in ext4_dax_dontcache()
770 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl_group_add()
1096 test_opt(sb, INIT_INODE_TABLE)) in __ext4_ioctl()
1120 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in __ext4_ioctl()
Dblock_validity.c264 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
/kernel/linux/linux-5.10/fs/ext2/
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()
37 if (!test_opt(inode->i_sb, XATTR_USER)) in ext2_xattr_user_set()
Dsuper.c75 if (test_opt(sb, ERRORS_PANIC)) in ext2_error()
77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { in ext2_error()
251 if (test_opt(sb, MINIX_DF)) in ext2_show_options()
253 if (test_opt(sb, GRPID)) in ext2_show_options()
255 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options()
267 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options()
275 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options()
277 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options()
279 if (test_opt(sb, NO_UID32)) in ext2_show_options()
281 if (test_opt(sb, DEBUG)) in ext2_show_options()
[all …]
Dioctl.c108 if (test_opt(inode->i_sb, RESERVATION) in ext2_ioctl()
117 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl()
Dinode.c1299 } else if (test_opt(inode->i_sb, NOBH)) in ext2_setsize()
1383 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags()
1393 else if (test_opt(inode->i_sb, NOBH)) in ext2_set_file_ops()
1428 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget()
1494 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1507 if (test_opt(inode->i_sb, NOBH)) in ext2_iget()
1552 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
Dnamei.c178 if (test_opt(inode->i_sb, NOBH)) in ext2_symlink()
246 if (test_opt(inode->i_sb, NOBH)) in ext2_mkdir()
Dialloc.c452 if (test_opt(sb, OLDALLOC)) in ext2_new_inode()
549 if (test_opt(sb, GRPID)) { in ext2_new_inode()
/kernel/linux/linux-5.10/fs/f2fs/
Dsuper.c291 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
297 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
436 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
443 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
447 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
451 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
455 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
456 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
686 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1054 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
[all …]
Dxattr.c53 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_get()
75 if (!test_opt(sbi, XATTR_USER)) in f2fs_xattr_generic_set()
92 return test_opt(sbi, XATTR_USER); in f2fs_xattr_user_list()
Dnamei.c91 if (test_opt(sbi, INLINE_XATTR)) in f2fs_new_inode()
127 if (test_opt(sbi, INLINE_DATA) && f2fs_may_inline_data(inode)) in f2fs_new_inode()
351 if (!test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_create()
Dsegment.c603 if (test_opt(sbi, GC_MERGE) && sbi->gc_thread && in f2fs_balance_fs()
656 if (test_opt(sbi, DATA_FLUSH) && from_bg) { in f2fs_balance_fs_bg()
686 trace_f2fs_issue_flush(bdev, test_opt(sbi, NOBARRIER), in __submit_flush_wait()
687 test_opt(sbi, FLUSH_MERGE), ret); in __submit_flush_wait()
753 if (test_opt(sbi, NOBARRIER)) in f2fs_issue_flush()
756 if (!test_opt(sbi, FLUSH_MERGE)) { in f2fs_issue_flush()
835 if (!test_opt(sbi, FLUSH_MERGE)) in f2fs_create_flush_cmd_control()
874 if (test_opt(sbi, NOBARRIER)) in f2fs_flush_device_cache()
2730 if (test_opt(sbi, NOHEAP) && in __get_next_segno()
2761 if (test_opt(sbi, NOHEAP)) in new_curseg()
/kernel/linux/linux-5.10/fs/erofs/
Dsuper.c369 if (test_opt(ctx, POSIX_ACL)) in erofs_fc_fill_super()
419 if (test_opt(ctx, POSIX_ACL)) in erofs_fc_reconfigure()
575 if (test_opt(ctx, XATTR_USER)) in erofs_show_options()
581 if (test_opt(ctx, POSIX_ACL)) in erofs_show_options()
Dinternal.h108 #define test_opt(ctx, option) ((ctx)->mount_opt & EROFS_MOUNT_##option) macro
Dxattr.c433 return test_opt(&EROFS_SB(dentry->d_sb)->ctx, XATTR_USER); in erofs_xattr_user_list()
480 if (!test_opt(&sbi->ctx, XATTR_USER)) in erofs_xattr_generic_get()
/kernel/linux/linux-5.10/fs/qnx6/
Dqnx6.h71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
Ddir.c96 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()

12