/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 72 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 in store_option() 131 load_option(struct bpf_sock_ops * skops,struct bpf_test_option * test_opt,bool from_syn) load_option() argument 163 struct bpf_test_option test_opt = {}; synack_opt_len() local [all...] |
/linux/fs/ext4/ |
H A D | xattr_user.c | 18 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()
|
H A D | xattr_hurd.c | 18 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()
|
H A D | super.c | 685 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT); in ext4_handle_error() 688 if (test_opt(sb, WARN_ON_ERROR)) in ext4_handle_error() 717 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) { in ext4_handle_error() 1058 if (test_opt(sb, ERRORS_CONT)) { in __ext4_grp_locked_error() 1059 if (test_opt(sb, WARN_ON_ERROR)) in __ext4_grp_locked_error() 2624 test_opt(sb, USRQUOTA)); in ext4_check_quota_consistency() 2627 test_opt(sb, GRPQUOTA)); in ext4_check_quota_consistency() 2761 test_opt(sb, DATA_FLAGS)) { in ext4_check_opt_consistency() 2777 (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)) { in ext4_check_opt_consistency() 2966 if (test_opt(s in _ext4_show_options() [all...] |
H A D | ext4_jbd2.h | 396 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) in ext4_free_data_revoke_credits() 418 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK)) in ext4_should_dioread_nolock() 427 if (!test_opt(inode->i_sb, DELALLOC)) in ext4_should_dioread_nolock()
|
H A D | fsync.c | 91 if (test_opt(inode->i_sb, BARRIER)) in ext4_fsync_nojournal()
|
H A D | resize.c | 147 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()
|
H A D | orphan.c | 331 if (test_opt(sb, DEBUG)) in ext4_process_orphan() 352 if (test_opt(sb, DEBUG)) in ext4_process_orphan()
|
H A D | ioctl.c | 556 test_opt(inode->i_sb, DAX_ALWAYS)) in ext4_dax_dontcache() 974 test_opt(sb, INIT_INODE_TABLE)) in ext4_ioctl_group_add() 1465 test_opt(sb, INIT_INODE_TABLE)) in __ext4_ioctl() 1490 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb)) in __ext4_ioctl()
|
H A D | block_validity.c | 264 if (test_opt(sb, DEBUG)) in ext4_setup_system_zone()
|
H A D | balloc.c | 707 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/ext2/ |
H A D | xattr_user.c | 17 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()
|
H A D | super.c | 75 if (test_opt(sb, ERRORS_PANIC)) in ext2_error() 77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { in ext2_error() 274 if (test_opt(sb, MINIX_DF)) in ext2_show_options() 276 if (test_opt(sb, GRPID)) in ext2_show_options() 278 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS)) in ext2_show_options() 290 if (test_opt(sb, ERRORS_RO)) { in ext2_show_options() 298 if (test_opt(sb, ERRORS_CONT)) in ext2_show_options() 300 if (test_opt(sb, ERRORS_PANIC)) in ext2_show_options() 302 if (test_opt(sb, NO_UID32)) in ext2_show_options() 304 if (test_opt(s in ext2_show_options() [all...] |
H A D | ioctl.c | 90 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()
|
H A D | inode.c | 1373 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode)) in ext2_set_inode_flags() 1416 if (!(test_opt (inode->i_sb, NO_UID32))) { in ext2_iget() 1533 if (!(test_opt(sb, NO_UID32))) { in __ext2_write_inode()
|
/linux/fs/f2fs/ |
H A D | super.c | 444 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root() 450 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root() 1211 usrquota = test_opt(sbi, USRQUOTA) || in f2fs_check_quota_consistency() 1213 grpquota = test_opt(sbi, GRPQUOTA) || in f2fs_check_quota_consistency() 1215 prjquota = test_opt(sbi, PRJQUOTA) || in f2fs_check_quota_consistency() 1419 if (test_opt(sbi, RESERVE_ROOT) && in f2fs_check_opt_consistency() 1480 if (!ctx_test_opt(ctx, F2FS_MOUNT_INLINE_XATTR) && !test_opt(sbi, INLINE_XATTR)) { in f2fs_check_opt_consistency() 1664 !test_opt(sbi, READ_EXTENT_CACHE)) { in f2fs_sanity_check_options() 2048 if (test_opt(sbi, DISCARD) && !f2fs_hw_support_discard(sbi)) in f2fs_unfreeze() 2252 if (test_opt(sb in f2fs_show_compress_options() [all...] |
H A D | extent_cache.c | 99 return test_opt(F2FS_I_SB(inode), READ_EXTENT_CACHE) && in __init_may_extent_tree() 102 return test_opt(F2FS_I_SB(inode), AGE_EXTENT_CACHE) && in __init_may_extent_tree() 1075 if (!test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_shrink_read_extent_tree() 1112 if (!test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_shrink_age_extent_tree()
|
H A D | namei.c | 286 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()
|
H A D | checkpoint.c | 1043 if (type != FILE_INODE || test_opt(sbi, DATA_FLUSH)) in f2fs_update_dirty_folio() 1060 if (type == FILE_INODE && !test_opt(sbi, DATA_FLUSH)) in f2fs_remove_dirty_inode() 1842 if (!test_opt(sbi, MERGE_CHECKPOINT) || cpc.reason != CP_SYNC || in f2fs_issue_checkpoint()
|
/linux/fs/erofs/ |
H A D | super.c | 177 if (!dif->dax_dev && test_opt(&sbi->opt, DAX_ALWAYS)) { in erofs_init_device() 219 if (test_opt(&sbi->opt, DAX_ALWAYS) && !sbi->dif0.dax_dev) { in erofs_scan_devices() 683 if (test_opt(&sbi->opt, DAX_ALWAYS) && sbi->blkszbits != PAGE_SHIFT) { in erofs_fc_fill_super() 692 if (test_opt(&sbi->opt, POSIX_ACL)) in erofs_fc_fill_super() 784 if (test_opt(&new_sbi->opt, POSIX_ACL)) in erofs_fc_reconfigure() 997 seq_puts(seq, test_opt(opt, XATTR_USER) ? in erofs_show_options() 1000 seq_puts(seq, test_opt(opt, POSIX_ACL) ? ",acl" : ",noacl"); in erofs_show_options() 1004 if (test_opt(opt, DAX_ALWAYS)) in erofs_show_options() 1006 if (test_opt(opt, DAX_NEVER)) in erofs_show_options() 1008 if (erofs_is_fileio_mode(sbi) && test_opt(op in erofs_show_options() [all...] |
H A D | xattr.c | 130 return test_opt(&EROFS_SB(dentry->d_sb)->opt, XATTR_USER); in erofs_xattr_user_list() 143 !test_opt(&EROFS_I_SB(inode)->opt, XATTR_USER)) in erofs_xattr_generic_get()
|
H A D | fileio.c | 59 if (test_opt(&EROFS_SB(rq->sb)->opt, DIRECT_IO) && in erofs_fileio_rq_submit()
|
H A D | internal.h | 183 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option) macro
|
/linux/fs/qnx6/ |
H A D | qnx6.h | 71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
|
H A D | dir.c | 99 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) != in qnx6_dir_longfilename()
|