/linux-master/tools/testing/selftests/net/ |
H A D | fib_nexthop_nongw.sh | 22 local expected=$2 25 if [ ${rc} -eq ${expected} ]; then
|
H A D | fdb_flush.sh | 5 # Check that flush works as expected with all the supported arguments and verify 71 local expected=$2 77 if [ ${rc} -eq ${expected} ]; then 85 echo " rc=$rc, expected $expected" 587 # remotes for a given key. Verify that only the expected remotes are
|
H A D | fib-onlink-tests.sh | 88 local expected=$2 91 if [ ${rc} -eq ${expected} ]; then
|
H A D | fib_nexthop_multiprefix.sh | 27 local expected=$2 30 if [ ${rc} -eq ${expected} ]; then
|
H A D | drop_monitor_tests.sh | 22 local expected=$2 25 if [ ${rc} -eq ${expected} ]; then
|
/linux-master/tools/testing/selftests/hid/tests/ |
H A D | test_mouse.py | 425 f"Unexpected data: {data}, expected {self.set_feature_report}" 704 expected = [syn_event] 705 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1)) 707 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, 120)) 710 self.assertInputEvents(expected, events) 713 expected = [syn_event] 714 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -1)) 716 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, -120)) 719 self.assertInputEvents(expected, events) 722 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/bpf/prog_tests/ |
H A D | sockmap_basic.c | 416 int expected, zero = 0, sent, recvd, avail; local 428 expected = sizeof(buf); 436 expected = 0; 459 ASSERT_EQ(avail, expected, "ioctl(FIONREAD)");
|
H A D | bpf_iter.c | 518 /* The expected string is less than 16 bytes */ 519 static int do_read_with_fd(int iter_fd, const char *expected, argument 536 if (!ASSERT_STREQ(buf, expected, "read")) 569 static int do_read(const char *path, const char *expected) argument 577 err = do_read_with_fd(iter_fd, expected, false);
|
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.c | 419 enabled = !proc->source_csi0.expected; 484 source->expected = true;
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 2685 unsigned int actual, unsigned int expected) 2687 unsigned int dropped = (actual - expected) & rx_queue->ptr_mask; 2691 "dropped %d events (index=%d expected=%d)\n", 2692 dropped, actual, expected); 3853 /* expected not available on unprivileged functions */ 2684 efx_ef10_handle_rx_bad_lbits(struct efx_rx_queue *rx_queue, unsigned int actual, unsigned int expected) argument
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 29 static int rswitch_reg_wait(void __iomem *addr, u32 offs, u32 mask, u32 expected) argument 33 return readl_poll_timeout_atomic(addr + offs, val, (val & mask) == expected,
|
/linux-master/drivers/media/platform/sunxi/sun6i-csi/ |
H A D | sun6i_csi_bridge.c | 666 enabled = !bridge->source_parallel.expected; 760 source->expected = true;
|
/linux-master/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 412 iser_warn("iser conn %p state %d, expected state down.\n", 916 "expected %x vs actual %x\n", 919 mr_status.sig_err.expected,
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_format_helper_test.c | 29 const u8 expected[TEST_BUF_SIZE]; member in struct:convert_to_gray8_result 34 const u8 expected[TEST_BUF_SIZE]; member in struct:convert_to_rgb332_result 39 const u16 expected[TEST_BUF_SIZE]; member in struct:convert_to_rgb565_result 45 const u16 expected[TEST_BUF_SIZE]; member in struct:convert_to_xrgb1555_result 50 const u16 expected[TEST_BUF_SIZE]; member in struct:convert_to_argb1555_result 55 const u16 expected[TEST_BUF_SIZE]; member in struct:convert_to_rgba5551_result 60 const u8 expected[TEST_BUF_SIZE]; member in struct:convert_to_rgb888_result 65 const u32 expected[TEST_BUF_SIZE]; member in struct:convert_to_argb8888_result 70 const u32 expected[TEST_BUF_SIZE]; member in struct:convert_to_xrgb2101010_result 75 const u32 expected[TEST_BUF_SIZ member in struct:convert_to_argb2101010_result 80 const u8 expected[TEST_BUF_SIZE]; member in struct:convert_to_mono_result 85 const u32 expected[TEST_BUF_SIZE]; member in struct:fb_swab_result 90 const u32 expected[TEST_BUF_SIZE]; member in struct:convert_to_xbgr8888_result 95 const u32 expected[TEST_BUF_SIZE]; member in struct:convert_to_abgr8888_result 1334 u32 expected[TEST_BUF_SIZE]; member in struct:fb_build_fourcc_list_case 1478 const u32 expected[DRM_FORMAT_MAX_PLANES][TEST_BUF_SIZE]; member in struct:fb_memcpy_case 1797 __le32 *expected[DRM_FORMAT_MAX_PLANES] = { 0 }; local [all...] |
H A D | drm_dp_mst_helper_test.c | 19 const int expected; member in struct:drm_dp_mst_calc_pbn_mode_test 27 .expected = 689 33 .expected = 1047 39 .expected = 1063 45 .expected = 1191 51 .expected = 1161 60 params->expected); 74 fixed20_12 expected; member in struct:drm_dp_mst_calc_pbn_div_test 86 * .expected = .link_rate * .lane_count * 0.9671 / 8 / 54 / 100 88 * .expected [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_cmd_parser.c | 162 * compared against an expected value. If the command does not match 163 * the expected value, the parser rejects it. Only valid if flags has 174 u32 expected; member in struct:drm_i915_cmd_descriptor::__anon676 235 .expected = 0, 242 .expected = 0, 265 .expected = 0, 272 .expected = 0, 278 .expected = 0, 284 .expected = 0, 292 .expected [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_lrc.c | 216 pr_err("%s: LRI command mismatch at dword %d, expected %08x found %08x\n", 242 pr_err("%s: Different registers found at dword %d, expected %x, found %x\n", 386 pr_err("%s: Offset for %s [0x%x] mismatch, found %x, expected %x\n", 413 u32 expected[MAX_IDX]; local 448 expected[RING_START_IDX] = i915_ggtt_offset(ce->ring->vma); 463 expected[RING_TAIL_IDX] = ce->ring->tail; 477 if (cs[n] != expected[n]) { 478 pr_err("%s: Stored register[%d] value[0x%x] did not match expected[0x%x]\n", 479 engine->name, n, cs[n], expected[n]);
|
H A D | selftest_rps.c | 330 u32 expected = local 334 engine->name, cycles, time, dt, expected, 344 if (10 * expected < 8 * cycles || 345 8 * expected > 10 * cycles) {
|
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) {
|
/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_context.c | 529 pr_err("%pS: Invalid value at object %d page %ld/%ld, offset %d/%d: found %x expected %x\n", 540 pr_err("%pS: Invalid value at object %d page %ld, offset %d: found %x expected %x (uninitialised)\n", 668 * up in the expected pages of our obj. 797 * up in the expected pages of our obj. 1137 __check_rpcs(const char *name, u32 rpcs, int slices, unsigned int expected, argument 1140 if (slices == expected) 1150 name, prefix, slices, expected, suffix); 1166 unsigned int expected, 1181 ret = __check_rpcs(name, rpcs, ret, expected, "Context", "!"); 1198 ret = __check_rpcs(name, rpcs, ret, expected, 1162 __sseu_finish(const char *name, unsigned int flags, struct intel_context *ce, struct drm_i915_gem_object *obj, unsigned int expected, struct igt_spinner *spin) argument 1781 u32 expected; local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_dpio_phy.c | 491 i915_reg_t reg, u32 mask, u32 expected, 499 if ((val & mask) == expected) 507 "current %08x, expected %08x (mask %08x)\n", 508 phy, &vaf, reg.reg, val, (val & ~mask) | expected, 490 __phy_reg_verify_state(struct drm_i915_private *dev_priv, enum dpio_phy phy, i915_reg_t reg, u32 mask, u32 expected, const char *reg_fmt, ...) argument
|
/linux-master/tools/testing/selftests/x86/ |
H A D | lam.c | 73 int expected; /* 2: SIGSEGV Error; 1: other errors */ member in struct:testcases 139 * check if the untagged mask is expected. 159 /* Check mask returned is expected */ 194 * check if the untag mask is expected. 204 /* Check mask returned is expected */ 825 ret = (t->expected == ret); 827 ret = !(t->expected); 842 .expected = 1, 858 .expected = 2, 881 .expected [all...] |
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 1069 #define EXPECT_VFPRINTF(c, expected, fmt, ...) \ 1070 ret += expect_vfprintf(llen, c, expected, fmt, ##__VA_ARGS__) 1072 static int expect_vfprintf(int llen, int c, const char *expected, const char *fmt, ...) argument 1116 llen += printf(" \"%s\" = \"%s\"", expected, buf); 1117 ret = strncmp(expected, buf, c);
|
/linux-master/tools/testing/radix-tree/ |
H A D | maple.c | 207 unsigned int e = 0; /* expected node_count */ 34370 void *expected, *alt; local 34483 void *expected, *alt; local 34894 void *entry, *expected; local [all...] |