Searched refs:test_opt (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/fs/ext4/
H A Dxattr_user.c18 return test_opt(dentry->d_sb, XATTR_USER);
26 if (!test_opt(inode->i_sb, XATTR_USER))
39 if (!test_opt(inode->i_sb, XATTR_USER))
H A Dxattr_hurd.c18 return test_opt(dentry->d_sb, XATTR_USER);
26 if (!test_opt(inode->i_sb, XATTR_USER))
40 if (!test_opt(inode->i_sb, XATTR_USER))
H A Dext4_jbd2.c17 test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA ||
19 !test_opt(inode->i_sb, DELALLOC))) {
25 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_ORDERED_DATA)
27 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_WRITEBACK_DATA)
277 test_opt(inode->i_sb, DATA_FLAGS));
290 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA ||
H A Dext4_jbd2.h480 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)
502 if (!test_opt(inode->i_sb, DIOREAD_NOLOCK))
511 if (!test_opt(inode->i_sb, DELALLOC))
H A Dfsync.c91 if (test_opt(inode->i_sb, BARRIER))
H A Dsuper.c713 bool continue_fs = !force_ro && test_opt(sb, ERRORS_CONT);
716 if (test_opt(sb, WARN_ON_ERROR))
744 if (test_opt(sb, ERRORS_PANIC) && !system_going_down()) {
1083 if (test_opt(sb, ERRORS_CONT)) {
1084 if (test_opt(sb, WARN_ON_ERROR))
2669 test_opt(sb, USRQUOTA));
2672 test_opt(sb, GRPQUOTA));
2806 test_opt(sb, DATA_FLAGS)) {
2815 (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA)) {
3004 if (test_opt(s
[all...]
H A Dorphan.c331 if (test_opt(sb, DEBUG))
352 if (test_opt(sb, DEBUG))
H A Dblock_validity.c264 if (test_opt(sb, DEBUG))
H A Dresize.c147 if (test_opt(sb, DEBUG))
400 if (test_opt(sb, DEBUG)) {
833 if (test_opt(sb, DEBUG))
1525 if (test_opt(sb, DEBUG))
1668 if (!test_opt(sb, INIT_INODE_TABLE))
1815 if (test_opt(sb, DEBUG))
1845 if (test_opt(sb, DEBUG))
H A Dioctl.c556 test_opt(inode->i_sb, DAX_ALWAYS))
974 test_opt(sb, INIT_INODE_TABLE))
1472 test_opt(sb, INIT_INODE_TABLE))
1497 if (test_opt(sb, NOLOAD) && ext4_has_feature_journal(sb))
/linux-master/fs/ext2/
H A Dxattr_user.c17 return test_opt(dentry->d_sb, XATTR_USER);
25 if (!test_opt(inode->i_sb, XATTR_USER))
38 if (!test_opt(inode->i_sb, XATTR_USER))
H A Dioctl.c90 if (test_opt(inode->i_sb, RESERVATION)
99 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode))
H A Dsuper.c75 if (test_opt(sb, ERRORS_PANIC))
77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) {
247 if (test_opt(sb, MINIX_DF))
249 if (test_opt(sb, GRPID))
251 if (!test_opt(sb, GRPID) && (def_mount_opts & EXT2_DEFM_BSDGROUPS))
263 if (test_opt(sb, ERRORS_RO)) {
271 if (test_opt(sb, ERRORS_CONT))
273 if (test_opt(sb, ERRORS_PANIC))
275 if (test_opt(sb, NO_UID32))
277 if (test_opt(s
[all...]
H A Dialloc.c443 if (test_opt(sb, OLDALLOC))
540 if (test_opt(sb, GRPID)) {
H A Dinode.c1364 if (test_opt(inode->i_sb, DAX) && S_ISREG(inode->i_mode))
1407 if (!(test_opt (inode->i_sb, NO_UID32))) {
1524 if (!(test_opt(sb, NO_UID32))) {
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c72 static void write_test_option(const struct bpf_test_option *test_opt, argument
77 data[offset++] = test_opt->flags;
78 if (TEST_OPTION_FLAGS(test_opt->flags, OPTION_MAX_DELACK_MS))
79 data[offset++] = test_opt->max_delack_ms;
81 if (TEST_OPTION_FLAGS(test_opt->flags, OPTION_RAND))
82 data[offset++] = test_opt->rand;
86 const struct bpf_test_option *test_opt)
96 write_opt.exprm.len = option_total_len(test_opt->flags);
99 write_test_option(test_opt, write_opt.exprm.data);
104 write_opt.regular.len = option_total_len(test_opt
85 store_option(struct bpf_sock_ops *skops, const struct bpf_test_option *test_opt) argument
130 load_option(struct bpf_sock_ops *skops, struct bpf_test_option *test_opt, bool from_syn) argument
163 struct bpf_test_option test_opt = {}; local
[all...]
/linux-master/fs/f2fs/
H A Dsuper.c333 if (test_opt(sbi, RESERVE_ROOT) &&
339 if (!test_opt(sbi, RESERVE_ROOT) &&
438 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) {
445 if (test_opt(sbi, USRQUOTA) &&
449 if (test_opt(sbi, GRPQUOTA) &&
453 if (test_opt(sbi, PRJQUOTA) &&
457 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) ||
458 test_opt(sbi, PRJQUOTA)) {
838 if (test_opt(sb
[all...]
H A Dextent_cache.c79 return test_opt(F2FS_I_SB(inode), READ_EXTENT_CACHE) &&
82 return test_opt(F2FS_I_SB(inode), AGE_EXTENT_CACHE) &&
1011 if (!test_opt(sbi, READ_EXTENT_CACHE))
1048 if (!test_opt(sbi, AGE_EXTENT_CACHE))
H A Dxattr.c54 if (!test_opt(sbi, XATTR_USER))
77 if (!test_opt(sbi, XATTR_USER))
94 return test_opt(sbi, XATTR_USER);
H A Dnamei.c284 if (test_opt(sbi, INLINE_XATTR))
314 if (test_opt(sbi, INLINE_DATA) && f2fs_may_inline_data(inode))
317 if (name && !test_opt(sbi, DISABLE_EXT_IDENTIFY))
/linux-master/fs/qnx6/
H A Dqnx6.h71 #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ macro
H A Ddir.c96 if (!test_opt(s, MMI_FS) && fs32_to_cpu(sbi, de->de_checksum) !=
/linux-master/fs/erofs/
H A Dsuper.c644 if (test_opt(&sbi->opt, DAX_ALWAYS)) {
658 if (test_opt(&sbi->opt, POSIX_ACL))
728 if (test_opt(&ctx->opt, POSIX_ACL))
951 if (test_opt(opt, XATTR_USER))
957 if (test_opt(opt, POSIX_ACL))
970 if (test_opt(opt, DAX_ALWAYS))
972 if (test_opt(opt, DAX_NEVER))
H A Dxattr.c130 return test_opt(&EROFS_SB(dentry->d_sb)->opt, XATTR_USER);
143 !test_opt(&EROFS_I_SB(inode)->opt, XATTR_USER))
H A Dinternal.h201 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option) macro

Completed in 323 milliseconds

123