/linux/scripts/kconfig/tests/ |
H A D | conftest.py | 228 def _read_and_compare(self, compare, expected): argument 238 def _contains(self, attr, expected): argument 243 def _matches(self, attr, expected): argument 247 def config_contains(self, expected): argument 255 config_matches(self, expected) global() argument 263 stdout_contains(self, expected) global() argument 271 stdout_matches(self, expected) global() argument 279 stderr_contains(self, expected) global() argument 287 stderr_matches(self, expected) global() argument [all...] |
/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 512 #define ASSERT_EQ(expected, seen) \ argument 523 ASSERT_NE(expected,seen) global() argument 534 ASSERT_LT(expected,seen) global() argument 545 ASSERT_LE(expected,seen) global() argument 556 ASSERT_GT(expected,seen) global() argument 567 ASSERT_GE(expected,seen) global() argument 608 ASSERT_STREQ(expected,seen) global() argument 619 ASSERT_STRNE(expected,seen) global() argument 630 EXPECT_EQ(expected,seen) global() argument 641 EXPECT_NE(expected,seen) global() argument 652 EXPECT_LT(expected,seen) global() argument 663 EXPECT_LE(expected,seen) global() argument 674 EXPECT_GT(expected,seen) global() argument 685 EXPECT_GE(expected,seen) global() argument 726 EXPECT_STREQ(expected,seen) global() argument 737 EXPECT_STRNE(expected,seen) global() argument [all...] |
/linux/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 14 int test_and_compare_child(long provided, long expected, int inherit, int xtheadvector) in test_and_compare_child() argument 130 long flag, expected; in TEST() local 150 long flag, expected; in TEST() local 170 long flag, expected; in TEST() local 189 long flag, expected; TEST() local [all...] |
/linux/mm/damon/tests/ |
H A D | vaddr-kunit.h | 132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions() argument 172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local 194 unsigned long expected[] in damon_test_apply_three_regions2() local 218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, damon_test_apply_three_regions3() local 243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; damon_test_apply_three_regions4() local [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_helpers.h | 24 static inline void __assert_mprog_count(int target, int expected, int ifindex) in __assert_mprog_count() argument 35 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count() argument 40 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex() argument
|
H A D | fib_lookup.c | 285 static void assert_src_ip(struct bpf_fib_lookup *params, const char *expected) in assert_src_ip() argument 290 static void assert_dst_ip(struct bpf_fib_lookup *params, const char *expected) in assert_dst_ip() argument 357 char expected[18], actual[18]; in test_fib_lookup() local [all...] |
/linux/lib/ |
H A D | globtest.c | 16 bool expected; member 19 static bool __pure __init test(char const *pat, char const *str, bool expected) in test() argument 144 bool expected = *p++ & 1; in glob_init() local
|
H A D | dhry_1.c | 227 #define dhry_assert_int_eq(val, expected) \ in dhry() argument 234 #define dhry_assert_char_eq(val, expected) \ in dhry() argument 241 #define dhry_assert_string_eq(val, expected) \ in dhry() argument [all...] |
H A D | percpu_test.c | 6 #define CHECK(native, pcp, expected) \ argument [all...] |
/linux/drivers/firewire/ |
H A D | packet-serdes-test.c | 276 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_quadlet_request() local 315 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_block_request() local 355 static const u32 expected[ASYNC_HEADER_QUADLET_COUN in test_async_header_write_response() local 390 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_read_quadlet_request() local 425 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_read_quadlet_response() local 464 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_read_block_request() local 504 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_read_block_response() local 544 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_lock_request() local 584 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { test_async_header_lock_response() local 624 const u32 expected = 0x00d08dec; test_isoc_header() local 649 const u32 expected[] = {0x80458c80}; test_phy_packet_self_id_zero_case0() local 704 const u32 expected[] = {0x817fcc5e}; test_phy_packet_self_id_zero_case1() local 759 const u32 expected[] = { test_phy_packet_self_id_zero_and_one() local 839 const u32 expected = 0x02800000; test_phy_packet_phy_config_force_root_node() local 866 const u32 expected = 0x034f0000; test_phy_packet_phy_config_gap_count_optimization() local [all...] |
H A D | ohci-serdes-test.c | 15 const u32 expected = 0x803d0594; in test_self_id_count_register_deserialization() local 45 static const __le32 expected[] = { in test_at_data_serdes() local 78 static const __le32 expected[] = { test_it_data_serdes() local [all...] |
/linux/tools/perf/tests/ |
H A D | hists_cumulate.c | 190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() argument 282 struct result expected[] = { in test1() local 380 struct result expected[] = { test2() local 484 struct result expected[] = { test3() local 604 struct result expected[] = { test4() local [all...] |
H A D | cpumap.c | 159 static int __test__cpu_map_merge(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_merge() argument 207 static int __test__cpu_map_intersect(const char *lhs, const char *rhs, int nr, const char *expected) in __test__cpu_map_intersect() argument
|
/linux/fs/squashfs/ |
H A D | file.c | 427 static int squashfs_readpage_fragment(struct folio *folio, int expected) in squashfs_readpage_fragment() argument 447 static int squashfs_readpage_sparse(struct folio *folio, int expected) in squashfs_readpage_sparse() argument 459 int expected = index == file_end ? in squashfs_read_folio() local 497 unsigned int pages, unsigned int expected, loff_t start) in squashfs_readahead_fragment() argument 589 unsigned int expected; squashfs_readahead() local [all...] |
H A D | file_cache.c | 21 int squashfs_readpage_block(struct folio *folio, u64 block, int bsize, int expected) in squashfs_readpage_block() argument
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_modes_test.c | 76 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local 134 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local [all...] |
H A D | drm_dp_mst_helper_test.c | 19 const int expected; member 74 fixed20_12 expected; member [all...] |
H A D | drm_plane_helper_test.c | 86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq() local 105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq() local
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_migrate.c | 76 u64 retval, expected = 0; in test_copy() local 191 u64 retval, expected; in xe_migrate_sanity_test() local 496 u64 expected, retval; test_migrate() local 583 u64 expected, retval; test_clear() local [all...] |
/linux/tools/testing/selftests/clone3/ |
H A D | clone3.c | 112 static bool test_clone3(uint64_t flags, size_t size, int expected, in test_clone3() argument 168 int expected; member [all...] |
/linux/drivers/md/dm-vdo/ |
H A D | data-vio.h | 366 thread_id_t expected = data_vio->hash_zone->thread_id; in assert_data_vio_in_hash_zone() local 397 thread_id_t expected = data_vio->logical.zone->thread_id; in assert_data_vio_in_logical_zone() local 425 thread_id_t expected = data_vio->allocation.zone->thread_id; in assert_data_vio_in_allocated_zone() local 455 thread_id_t expected in assert_data_vio_in_duplicate_zone() local 485 thread_id_t expected = data_vio->mapped.zone->thread_id; assert_data_vio_in_mapped_zone() local 502 thread_id_t expected = data_vio->new_mapped.zone->thread_id; assert_data_vio_in_new_mapped_zone() local [all...] |
/linux/lib/tests/ |
H A D | usercopy_kunit.c | 96 int expected = is_zeroed(kmem + start, len); in usercopy_test_check_nonzero_user() local 108 char *umem_src = NULL, *expected = NULL; in usercopy_test_copy_struct_from_user() local [all...] |
/linux/drivers/iio/test/ |
H A D | iio-test-gts.c | 378 static const int expected[] = {0, 50000, 0, 100000, 0, 200000, 0, 400000}; in test_iio_gts_chk_times() local 391 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_all() local 428 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_t200() local [all...] |
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | reg_access_test.c | 18 uint64_t val, expected; in reg_access() local
|
/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-read-hwpoison.c | 71 off_t offset, size_t expected) in seek_read_hugepage_filemap() argument 108 size_t wr_chunk_size, size_t expected) in read_hugepage_filemap() argument
|