Home
last modified time | relevance | path

Searched refs:test (Results 1 – 18 of 18) sorted by relevance

/fs/unicode/
Dutf8-selftest.c36 #define test(cond) _test(cond, __func__, __LINE__, "") macro
182 test((utf8len(data, nfdi_test_data[i].str) == nlen)); in check_utf8_nfdi()
183 test((utf8nlen(data, nfdi_test_data[i].str, len) == nlen)); in check_utf8_nfdi()
195 test((j == nlen)); in check_utf8_nfdi()
218 test((utf8len(data, nfdicf_test_data[i].str) == nlen)); in check_utf8_nfdicf()
219 test((utf8nlen(data, nfdicf_test_data[i].str, len) == nlen)); in check_utf8_nfdicf()
231 test((j == nlen)); in check_utf8_nfdicf()
272 test(utf8version_is_supported(7, 0, 0)); in check_supported_versions()
275 test(utf8version_is_supported(9, 0, 0)); in check_supported_versions()
278 test(utf8version_is_supported(latest_maj, latest_min, latest_rev)); in check_supported_versions()
[all …]
/fs/ext4/
Dinode-test.c83 static time64_t get_32bit_time(const struct timestamp_expectation * const test) in get_32bit_time() argument
85 if (test->msb_set) { in get_32bit_time()
86 if (test->lower_bound) in get_32bit_time()
92 if (test->lower_bound) in get_32bit_time()
102 static void inode_test_xtimestamp_decoding(struct kunit *test) in inode_test_xtimestamp_decoding() argument
243 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding()
251 KUNIT_EXPECT_EQ_MSG(test, in inode_test_xtimestamp_decoding()
DKconfig113 running KUnit test harness and are not for inclusion into a production
Dnamei.c209 #define assert(test) J_ASSERT(test) argument
/fs/btrfs/tests/
Dextent-map-tests.c457 struct rmap_test_vector *test) in test_rmap_block() argument
471 map = kmalloc(map_lookup_size(test->num_stripes), GFP_KERNEL); in test_rmap_block()
481 em->len = test->data_stripe_size * test->num_data_stripes; in test_rmap_block()
483 em->orig_block_len = test->data_stripe_size; in test_rmap_block()
486 map->num_stripes = test->num_stripes; in test_rmap_block()
488 map->type = test->raid_type; in test_rmap_block()
499 map->stripes[i].physical = test->data_stripe_phys_start[i]; in test_rmap_block()
512 if (ret || (out_ndaddrs == 0 && test->expected_mapped_addr)) { in test_rmap_block()
514 test->expected_mapped_addr); in test_rmap_block()
523 if (out_ndaddrs != test->expected_mapped_addr) { in test_rmap_block()
[all …]
/fs/jffs2/
DTODO16 - test, test, test
/fs/btrfs/
Dordered-data.c65 struct rb_node *test; in __tree_search() local
85 test = rb_next(prev); in __tree_search()
86 if (!test) in __tree_search()
88 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
93 prev = test; in __tree_search()
99 test = rb_prev(prev); in __tree_search()
100 if (!test) in __tree_search()
102 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
104 prev = test; in __tree_search()
Dioctl.c2095 struct btrfs_key test; in key_in_sk() local
2098 test.objectid = sk->min_objectid; in key_in_sk()
2099 test.type = sk->min_type; in key_in_sk()
2100 test.offset = sk->min_offset; in key_in_sk()
2102 ret = btrfs_comp_cpu_keys(key, &test); in key_in_sk()
2106 test.objectid = sk->max_objectid; in key_in_sk()
2107 test.type = sk->max_type; in key_in_sk()
2108 test.offset = sk->max_offset; in key_in_sk()
2110 ret = btrfs_comp_cpu_keys(key, &test); in key_in_sk()
2127 struct btrfs_key test; in copy_to_sk() local
[all …]
DKconfig69 during the run of a regression test, say N
/fs/
Dinode.c817 int (*test)(struct inode *, void *), in find_inode()
826 if (!test(inode, data)) in find_inode()
1116 int (*test)(struct inode *, void *), in inode_insert5()
1125 old = find_inode(inode->i_sb, head, test, data); in inode_insert5()
1185 int (*test)(struct inode *, void *), in iget5_locked()
1188 struct inode *inode = ilookup5(sb, hashval, test, data); in iget5_locked()
1195 inode = inode_insert5(new, hashval, test, set, data); in iget5_locked()
1372 int (*test)(struct inode *, void *), void *data) in ilookup5_nowait()
1378 inode = find_inode(sb, head, test, data); in ilookup5_nowait()
1403 int (*test)(struct inode *, void *), void *data) in ilookup5()
[all …]
Dsuper.c513 int (*test)(struct super_block *, struct fs_context *), in sget_fc()
523 if (test) { in sget_fc()
525 if (test(old, fc)) in sget_fc()
578 int (*test)(struct super_block *,void *), in sget()
597 if (test) { in sget()
599 if (!test(old, data)) in sget()
1177 int (*test)(struct super_block *, struct fs_context *); in vfs_get_super() local
1184 test = test_single_super; in vfs_get_super()
1187 test = test_keyed_super; in vfs_get_super()
1190 test = NULL; in vfs_get_super()
[all …]
/fs/9p/
Dvfs_inode_dotl.c107 int (*test)(struct inode *, void *); in v9fs_qid_iget_dotl() local
110 test = v9fs_test_new_inode_dotl; in v9fs_qid_iget_dotl()
112 test = v9fs_test_inode_dotl; in v9fs_qid_iget_dotl()
115 inode = iget5_locked(sb, i_ino, test, v9fs_set_inode_dotl, st); in v9fs_qid_iget_dotl()
Dvfs_inode.c442 int (*test)(struct inode *, void *); in v9fs_qid_iget() local
445 test = v9fs_test_new_inode; in v9fs_qid_iget()
447 test = v9fs_test_inode; in v9fs_qid_iget()
450 inode = iget5_locked(sb, i_ino, test, v9fs_set_inode, st); in v9fs_qid_iget()
/fs/autofs/
Ddev-ioctl.c184 int test(const struct path *path, void *data), in find_autofs_mount()
196 if (test(&path, data)) { in find_autofs_mount()
/fs/sysv/
Dsuper.c275 int (*test)(struct sysv_sb_info *, struct buffer_head *); member
380 size = flavours[i].test(SYSV_SB(sb), bh); in sysv_fill_super()
/fs/befs/
DChangeLog132 * Added test for "impossible" condition of empty internal nodes in
151 the page size in linux, which is 4k i386. Oops. Added a test for
/fs/cramfs/
DREADME98 default mkcramfs doesn't test for & create holes, since cramfs in
/fs/affs/
DChanges213 - Changed name type to unsigned char; the test for