/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 def config_matches(self, expected): argument 263 def stdout_contains(self, expected): argument 271 def stdout_matches(self, expected): argument 279 def stderr_contains(self, expected): argument 287 def stderr_matches(self, expected): argument
|
/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 530 #define ASSERT_EQ(expected, seen) \ argument 541 #define ASSERT_NE(expected, seen) \ argument 552 #define ASSERT_LT(expected, seen) \ argument 563 #define ASSERT_LE(expected, seen) \ argument 574 #define ASSERT_GT(expected, seen) \ argument 585 #define ASSERT_GE(expected, seen) \ argument 626 #define ASSERT_STREQ(expected, seen) \ argument 637 #define ASSERT_STRNE(expected, seen) \ argument 648 #define EXPECT_EQ(expected, seen) \ argument 659 #define EXPECT_NE(expected, seen) \ argument [all …]
|
/linux/mm/damon/ |
H A D | vaddr-test.h | 132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions() 172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local 194 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local 218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local 243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 29 const u8 expected[TEST_BUF_SIZE]; member 34 const u8 expected[TEST_BUF_SIZE]; member 39 const u16 expected[TEST_BUF_SIZE]; member 45 const u16 expected[TEST_BUF_SIZE]; member 50 const u16 expected[TEST_BUF_SIZE]; member 55 const u16 expected[TEST_BUF_SIZE]; member 60 const u8 expected[TEST_BUF_SIZE]; member 65 const u32 expected[TEST_BUF_SIZE]; member 70 const u32 expected[TEST_BUF_SIZE]; member 75 const u32 expected[TEST_BUF_SIZE]; member [all …]
|
H A D | drm_modes_test.c | 72 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_ntsc_480i_inlined() local 119 struct drm_display_mode *expected, *mode; in drm_test_modes_analog_tv_pal_576i_inlined() local
|
H A D | drm_dp_mst_helper_test.c | 19 const int expected; member 74 fixed20_12 expected; member
|
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/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() 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
|
H A D | test_user_copy.c | 94 int expected = is_zeroed(kmem + start, len); in test_check_nonzero_user() local 109 char *umem_src = NULL, *expected = NULL; in test_copy_struct_from_user() local
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_helpers.h | 52 static inline void __assert_mprog_count(int target, int expected, int ifindex) in __assert_mprog_count() 63 static inline void assert_mprog_count(int target, int expected) in assert_mprog_count() 68 static inline void assert_mprog_count_ifindex(int ifindex, int target, int expected) in assert_mprog_count_ifindex()
|
H A D | fib_lookup.c | 285 static void assert_src_ip(struct bpf_fib_lookup *params, const char *expected) in assert_src_ip() 290 static void assert_dst_ip(struct bpf_fib_lookup *params, const char *expected) in assert_dst_ip() 357 char expected[18], actual[18]; in test_fib_lookup() local
|
/linux/drivers/firewire/ |
H A D | packet-serdes-test.c | 192 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_quadlet_request() local 231 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_block_request() local 271 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_write_response() local 306 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_request() local 341 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_quadlet_response() local 380 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_request() local 420 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_read_block_response() local 460 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_request() local 500 static const u32 expected[ASYNC_HEADER_QUADLET_COUNT] = { in test_async_header_lock_response() local 540 const u32 expected = 0x00d08dec; in test_isoc_header() local
|
/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() 282 struct result expected[] = { in test1() local 380 struct result expected[] = { in test2() local 484 struct result expected[] = { in test3() local 604 struct result expected[] = { in test4() local
|
/linux/fs/squashfs/ |
H A D | file.c | 422 static int squashfs_readpage_fragment(struct page *page, int expected) in squashfs_readpage_fragment() 442 static int squashfs_readpage_sparse(struct page *page, int expected) in squashfs_readpage_sparse() 455 int expected = index == file_end ? in squashfs_read_folio() local 501 unsigned int pages, unsigned int expected) in squashfs_readahead_fragment() 561 unsigned int expected; in squashfs_readahead() local
|
H A D | file_cache.c | 21 int squashfs_readpage_block(struct page *page, u64 block, int bsize, int expected) in squashfs_readpage_block()
|
/linux/tools/testing/selftests/riscv/vector/ |
H A D | vstate_prctl.c | 51 int test_and_compare_child(long provided, long expected, int inherit) in test_and_compare_child() 76 long flag, expected; in main() local
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 237 #define ASSERT_EQ(actual, expected, name) ({ \ argument 248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument 259 #define ASSERT_LT(actual, expected, name) ({ \ argument 270 #define ASSERT_LE(actual, expected, name) ({ \ argument 281 #define ASSERT_GT(actual, expected, name) ({ \ argument 292 #define ASSERT_GE(actual, expected, name) ({ \ argument 303 #define ASSERT_STREQ(actual, expected, name) ({ \ argument 314 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
|
/linux/drivers/misc/lkdtm/ |
H A D | cfi.c | 80 void set_return_addr_unchecked(unsigned long *expected, unsigned long *addr) in set_return_addr_unchecked() 96 void set_return_addr(unsigned long *expected, unsigned long *addr) in set_return_addr()
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_migrate.c | 106 u64 retval, expected = 0; in test_copy() local 217 u64 retval, expected; in test_pt_update() local 270 u64 retval, expected; in xe_migrate_sanity_test() local
|
/linux/drivers/md/dm-vdo/ |
H A D | data-vio.h | 371 thread_id_t expected = data_vio->hash_zone->thread_id; in assert_data_vio_in_hash_zone() local 402 thread_id_t expected = data_vio->logical.zone->thread_id; in assert_data_vio_in_logical_zone() local 430 thread_id_t expected = data_vio->allocation.zone->thread_id; in assert_data_vio_in_allocated_zone() local 460 thread_id_t expected = data_vio->duplicate.zone->thread_id; in assert_data_vio_in_duplicate_zone() local 490 thread_id_t expected = data_vio->mapped.zone->thread_id; in assert_data_vio_in_mapped_zone() local 507 thread_id_t expected = data_vio->new_mapped.zone->thread_id; in assert_data_vio_in_new_mapped_zone() local
|
/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() 168 int expected; member
|
/linux/drivers/iio/test/ |
H A D | iio-test-gts.c | 376 static const int expected[] = {0, 50000, 0, 100000, 0, 200000, 0, 400000}; in test_iio_gts_chk_times() local 389 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_all() local 426 int expected[ARRAY_SIZE(gains) * 2]; in test_iio_gts_chk_scales_t200() 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() 108 size_t wr_chunk_size, size_t expected) in read_hugepage_filemap()
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | reg_access_test.c | 18 uint64_t val, expected; in reg_access() local
|