Searched refs:expected (Results 26 - 50 of 312) sorted by last modified time

1234567891011>>

/linux-master/lib/
H A Doverflow_kunit.c261 "expected check "fmt" "sym" "fmt" to%s overflow (type %s)\n", \
264 "expected check "fmt" "sym" "fmt" == "fmt", got "fmt" (type %s)\n", \
275 "expected wrap "fmt" "sym" "fmt" == "fmt", got "fmt" (type %s)\n", \
312 "expected "fmt" "#op" "fmt" == "fmt", got "fmt"\n", \
315 "expected "fmt" "#op" "fmt" == "fmt", got "fmt"\n", \
395 /* Args are: value, shift, type, expected result, overflow expected */
404 "expected (%s)(%s << %s) to%s overflow\n", \
408 "expected (%s)(%s << %s) == %s\n", \
594 * mark it as not expected t
[all...]
H A Ddhry_1.c227 #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/fs/ubifs/
H A Dubifs.h146 /* Maximum expected tree height for use by bottom_up_buf */
1603 * @expected: first hash
1606 * Compare two hashes @expected and @got. Returns 0 when they are equal, a
1610 const u8 *expected, const u8 *got)
1612 return crypto_memneq(expected, got, c->hash_len);
1618 * @expected: first HMAC
1621 * Compare two hashes @expected and @got. Returns 0 when they are equal, a
1625 const u8 *expected, const u8 *got)
1627 return crypto_memneq(expected, got, c->hmac_desc_len);
1639 const u8 *expected);
1609 ubifs_check_hash(const struct ubifs_info *c, const u8 *expected, const u8 *got) argument
1624 ubifs_check_hmac(const struct ubifs_info *c, const u8 *expected, const u8 *got) argument
1640 ubifs_node_check_hash(const struct ubifs_info *c, const void *buf, const u8 *expected) argument
[all...]
/linux-master/drivers/nvme/target/
H A Drdma.c569 pr_err("PI error found type %d expected 0x%x vs actual 0x%x\n",
571 mr_status.sig_err.expected,
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c1295 u32 expected, u32 poll_count)
1300 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--)
1294 bnx2x_flr_clnup_reg_poll(struct bnx2x *bp, u32 reg, u32 expected, u32 poll_count) argument
/linux-master/drivers/iio/test/
H A Diio-test-gts.c376 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/drivers/gpu/drm/amd/amdgpu/
H A Dvcn_v4_0_3.c855 uint32_t param, resp, expected; local
1006 expected = MMSCH_VF_MAILBOX_RESP__OK;
1007 while (resp != expected) {
1017 "(expected=0x%08x, readback=0x%08x)\n",
1018 tmp, expected, resp);
1025 if (resp != expected && resp != MMSCH_VF_MAILBOX_RESP__INCOMPLETE
H A Dvcn_v4_0.c1241 uint32_t param, resp, expected; local
1438 expected = MMSCH_VF_MAILBOX_RESP__OK;
1439 while (resp != expected) {
1449 "(expected=0x%08x, readback=0x%08x)\n",
1450 tmp, expected, resp);
1456 if (resp != expected && resp != MMSCH_VF_MAILBOX_RESP__INCOMPLETE
H A Dvcn_v3_0.c1292 uint32_t param, resp, expected; local
1474 expected = param + 1;
1475 while (resp != expected) {
1477 if (resp == expected)
1485 "(expected=0x%08x, readback=0x%08x)\n",
1486 tmp, expected, resp);
/linux-master/tools/testing/ktest/
H A Dktest.pl396 The box is expected to have ssh on normal bootup, provide the user
3399 fail "Bad config succeeded when expected to fail!";
3408 fail "Good config failed when expected to succeed!";
/linux-master/include/trace/events/
H A Dsunrpc.h2316 u32 expected,
2320 TP_ARGS(xprt, expected, received),
2323 __field(u32, expected)
2330 __entry->expected = expected;
2336 TP_printk("addr=%s flags=%s expected=%u received=%u",
2338 __entry->expected, __entry->received
/linux-master/tools/testing/selftests/kvm/include/
H A Dtest_util.h67 #define TEST_ASSERT_KVM_EXIT_REASON(vcpu, expected) do { \
70 TEST_ASSERT(exit_reason == (expected), \
72 (expected), exit_reason_str((expected)), \
/linux-master/fs/nfs/
H A Dnfs4trace.h413 u32 expected
416 TP_ARGS(xdr, op, expected),
423 __field(u32, expected)
434 __entry->expected = expected;
438 " xid=0x%08x operation=%u, expected=%u",
440 __entry->op, __entry->expected
/linux-master/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c54 u32 offs, u32 bank, u32 mask, u32 expected)
62 (val & mask) == expected,
66 "%s: index %d, offs %x, bank %x, mask %x, expected %x\n",
67 __func__, channel->index, offs, bank, mask, expected);
53 r8a779f0_eth_serdes_reg_wait(struct r8a779f0_eth_serdes_channel *channel, u32 offs, u32 bank, u32 mask, u32 expected) argument
/linux-master/drivers/of/
H A Dunittest.c61 * Print the expected message only if the current loglevel will allow
65 * EXPECT_NOT_END() to report messages expected to be reported or not
280 const char *expected)
286 buf_size = strlen(expected) + 10;
296 unittest((strcmp(buf, expected) == 0) && (buf[size+1] == 0xff),
297 "sprintf failed; fmt='%s' expected='%s' rslt='%s'\n",
298 fmt, expected, buf);
306 unittest(strncmp(buf, expected, size) == 0 && (buf[size+1] == 0xff),
307 "snprintf failed; size=%i fmt='%s' expected='%s' rslt='%s'\n",
308 size, fmt, expected, bu local
279 of_unittest_printf_one(struct device_node *np, const char *fmt, const char *expected) argument
1211 const struct of_unittest_expected_res *expected; local
[all...]
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c574 * the erase was ongoing could be inconsistent with the expected values
832 unsigned long addr, map_word *expected)
856 if (!ret || !expected)
859 return map_word_equal(map, curd, *expected);
863 unsigned long addr, map_word *expected)
866 map_word *datum = expected;
831 chip_ready(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
862 chip_good(struct map_info *map, struct flchip *chip, unsigned long addr, map_word *expected) argument
/linux-master/drivers/crypto/ccp/
H A Dplatform-access.c32 u32 tmp, expected; local
35 expected = FIELD_PREP(PSP_CMDRESP_RESP, 1);
41 return readl_poll_timeout(cmd, tmp, (tmp & expected), 0,
/linux-master/crypto/
H A Dtestmgr.c667 * @expected_output: buffer containing the expected output
3853 ret = memcmp(test->expected, buf, test->expectedlen);
4178 /* verify that encrypted message is equal to expected */
/linux-master/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh80 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
92 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
108 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
120 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
H A Dcharge_reserved_hugetlb.sh73 local expected="$1"
77 if [[ "$expected" != "$actual" ]]; then
78 echo "expected ($expected) != actual ($actual): $3"
/linux-master/tools/testing/selftests/damon/
H A D_debugfs_common.sh9 expected=$5
12 if [ $? -ne "$expected" ]
14 echo "writing $content to $file doesn't return $expected"
15 echo "expected because: $expect_reason"
32 expected=$3
36 if [ "$content" != "$expected" ]
38 echo "reading $file expected $expected but $content"
39 echo "expected because: $expect_reason"
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace.c132 void *expected, size_t size)
136 if (memcmp(out, expected, size) == 0)
131 compare_buffer(const char *name, void *out, void *expected, size_t size) argument
/linux-master/tools/perf/tests/
H A Dtests.h21 #define TEST_ASSERT_EQUAL(text, val, expected) \
23 if (val != expected) { \
25 __FILE__, __LINE__, text, val, expected); \
/linux-master/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py23 \tbut expected value range is [{3}, {4}]\n\
32 \tbut expected value range is [{3}, {4}]"\
/linux-master/mm/
H A Dreadahead.c553 pgoff_t expected, prev_index; local
570 * It's the expected callback index, assume sequential access.
573 expected = round_down(ra->start + ra->size - ra->async_size,
575 if (index == expected || index == (ra->start + ra->size)) {

Completed in 671 milliseconds

1234567891011>>