/linux-master/tools/perf/tests/ |
H A D | openat-syscall-all-cpus.c | 96 unsigned int expected; local 107 expected = nr_openat_calls + idx; 108 if (perf_counts(evsel->counts, idx, 0)->val != expected) { 109 pr_debug("evsel__read_on_cpu: expected to intercept %d calls on cpu %d, got %" PRIu64 "\n", 110 expected, cpu.cpu, perf_counts(evsel->counts, idx, 0)->val);
|
/linux-master/lib/ |
H A D | dhry_1.c | 227 #define dhry_assert_int_eq(val, expected) \ 228 if (val != expected) \ 229 pr_err("%s: %d (FAIL, expected %d)\n", #val, val, \ 230 expected); \ 234 #define dhry_assert_char_eq(val, expected) \ 235 if (val != expected) \ 236 pr_err("%s: %c (FAIL, expected %c)\n", #val, val, \ 237 expected); \ 241 #define dhry_assert_string_eq(val, expected) \ 242 if (strcmp(val, expected)) \ [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 172 def bpftool_prog_list(expected=None, ns="", exclude_orphaned=True): 180 if expected is not None: 181 if len(progs) != expected: 182 fail(True, "%d BPF programs loaded, expected %d" % 183 (len(progs), expected)) 186 def bpftool_map_list(expected=None, ns=""): 190 if expected is not None: 191 if len(maps) != expected: 192 fail(True, "%d BPF maps loaded, expected %d" % 193 (len(maps), expected)) [all...] |
/linux-master/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-coalesce.sh | 98 # populate the expected settings map 110 expected=${EXPECTED_SETTINGS[@]} 113 check $? "$current" "$expected"
|
H A D | ethtool-ring.sh | 60 # populate the expected settings map 72 expected=${EXPECTED_SETTINGS[@]} 75 check $? "$current" "$expected"
|
/linux-master/include/crypto/internal/ |
H A D | kdf_selftest.h | 19 unsigned char *expected; member in struct:kdf_testvec 61 ret = memcmp(test->expected, buf, test->expectedlen);
|
/linux-master/arch/s390/kernel/ |
H A D | jump_label.c | 33 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, argument 37 unsigned char *ipe = (unsigned char *)expected;
|
/linux-master/tools/testing/selftests/splice/ |
H A D | short_splice_read.sh | 75 expected="$3" 79 if [ "$out" = "$expected" ] ; then
|
/linux-master/tools/memory-model/scripts/ |
H A D | checkalllitmus.sh | 63 echo All litmus tests verified as was expected. 1>&2
|
/linux-master/tools/testing/selftests/powerpc/vphn/ |
H A D | test-vphn.c | 24 u32 expected[VPHN_ASSOC_BUFSIZE]; member in struct:test 374 if (len != test->expected[0]) { 375 printf("expected %d elements, got %d\n", test->expected[0], 382 if (val != test->expected[i]) { 384 test->expected[i]);
|
/linux-master/drivers/scsi/ |
H A D | script_asm.pl | 286 expected IF or WHEN 347 expected <data>. 358 expected end of line, not \"$2\" 362 expected \",AND MASK <data>\", not \"$2\" 367 expected end of line" . (($need_data) ? " or \"AND MASK <data>\"" : "") . " 421 expected <identifier> = <value> 440 expected <identifier>, got $external 451 expected ENTRY <identifier> 497 expected <count>, <source>, <destination> 541 expected <registe [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_gt_pm.c | 100 u32 expected; local 110 expected = intel_gt_ns_to_clock_interval(engine->gt, dt); 113 engine->name, cycles, time, dt, expected, 123 if (9 * expected < 8 * cycles || 8 * expected > 9 * cycles) {
|
H A D | selftest_ring.c | 33 int expected) 43 if (result != expected) { 45 next, prev, result, expected); 31 check_ring_direction(struct intel_ring *ring, u32 next, u32 prev, int expected) argument
|
/linux-master/drivers/iio/test/ |
H A D | iio-test-gts.c | 376 static const int expected[] = {0, 50000, 0, 100000, 0, 200000, 0, 400000}; local 379 for (i = 0; i < ARRAY_SIZE(expected); i++) 380 KUNIT_EXPECT_EQ(test, expected[i], vals[i]); 389 int expected[ARRAY_SIZE(gains) * 2]; local 399 &expected[2 * i], 400 &expected[2 * i + 1]); 406 for (i = 0; i < ARRAY_SIZE(expected); i++) 407 KUNIT_EXPECT_EQ(test, expected[i], vals[i]); 426 int expected[ARRAY_SIZE(gains) * 2]; local 435 &expected[ [all...] |
/linux-master/fs/squashfs/ |
H A D | file.c | 422 static int squashfs_readpage_fragment(struct page *page, int expected) argument 435 squashfs_copy_cache(page, buffer, expected, 442 static int squashfs_readpage_sparse(struct page *page, int expected) argument 444 squashfs_copy_cache(page, NULL, expected, 0); 455 int expected = index == file_end ? local 477 res = squashfs_readpage_sparse(page, expected); 479 res = squashfs_readpage_block(page, block, res, expected); 481 res = squashfs_readpage_fragment(page, expected); 501 unsigned int pages, unsigned int expected) 514 expected 500 squashfs_readahead_fragment(struct page **page, unsigned int pages, unsigned int expected) argument 561 unsigned int expected; local [all...] |
H A D | file_direct.c | 23 int expected) 70 actor = squashfs_page_actor_init_special(msblk, page, pages, expected); 82 if (res != expected) { 22 squashfs_readpage_block(struct page *target_page, u64 block, int bsize, int expected) argument
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_probe_helper_test.c | 101 const struct drm_display_mode *expected; local 132 expected = params->expected_modes[0](priv->drm); 133 KUNIT_ASSERT_NOT_NULL(test, expected); 135 KUNIT_EXPECT_TRUE(test, drm_mode_equal(mode, expected)); 143 expected = params->expected_modes[1](priv->drm); 144 KUNIT_ASSERT_NOT_NULL(test, expected); 146 KUNIT_EXPECT_TRUE(test, drm_mode_equal(mode, expected));
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | kfunc_call_test.c | 174 u32 expected = 5, actual; local 176 actual = bpf_kfunc_call_test_static_unused_arg(expected, 0xdeadbeef); 177 return actual != expected ? -1 : 0;
|
/linux-master/include/rdma/ |
H A D | signature.h | 118 u32 expected; member in struct:ib_sig_err
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_inherit.c | 41 static int verify_sockopt(int fd, int optname, const char *msg, char expected) argument 53 printf("%s %d: got=0x%x ? expected=0x%x\n", msg, optname, buf, expected); 55 if (buf != expected) { 57 buf, expected);
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.h | 33 bool expected; member in struct:sun6i_isp_proc_source
|
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_bridge.h | 33 bool expected; member in struct:sun6i_csi_bridge_source
|
/linux-master/tools/testing/selftests/kvm/s390x/ |
H A D | tprot.c | 76 enum permission expected; member in struct:test 81 * permissions match the expected value. 154 tests[*i].expected != TRANSL_UNAVAIL && 158 __GUEST_ASSERT(result == tests[*i].expected, 160 tests[*i].expected, result, *i);
|
/linux-master/mm/damon/ |
H A D | dbgfs-test.h | 19 int expected[] = {12, 35, 46}; local 43 KUNIT_EXPECT_EQ(test, expected[i], answers[i]); 50 KUNIT_EXPECT_EQ(test, expected[i], answers[i]); 57 KUNIT_EXPECT_EQ(test, expected[i], answers[i]);
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_nested_tsc_scaling_test.c | 7 * This test case verifies that nested TSC scaling behaves as expected when 33 * its expected frequency. In order to account for delays in taking the TSC 34 * measurements, a difference of 1% between the actual and the expected value 37 static void compare_tsc_freq(uint64_t actual, uint64_t expected) argument 41 tolerance = expected / 100; 42 thresh_low = expected - tolerance; 43 thresh_high = expected + tolerance; 46 "TSC freq is expected to be between %"PRIu64" and %"PRIu64 50 "TSC freq is expected to be between %"PRIu64" and %"PRIu64
|