Searched refs:expected (Results 126 - 150 of 315) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/libxfs/
H A Dxfs_ondisk.h11 "XFS: sizeof(" #structname ") is wrong, expected " #size)
16 "expected " #off)
18 #define XFS_CHECK_VALUE(value, expected) \
19 static_assert((value) == (expected), \
20 "XFS: value of " #value " is wrong, expected " #expected)
/linux-master/drivers/usb/misc/
H A Dusbtest.c403 u8 expected; local
416 expected = 0;
424 expected = (i % maxpacket) % 63;
428 expected = !*buf;
431 if (*buf == expected)
433 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected);
459 int expected,
507 if (expected != retval)
510 label, iterations, retval, expected);
641 * failure if retval is as we expected
454 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) argument
869 int expected = udev->actconfig->desc.bConfigurationValue; local
1084 int expected; member in struct:subcase
1238 int expected = 0; local
[all...]
/linux-master/arch/alpha/kernel/
H A Dcore_mcpcia.c582 int expected;
585 expected = mcheck_expected(cpu);
591 switch (expected) {
613 process_mcheck_info(vector, la_ptr, "MCPCIA", expected != 0);
614 if (!expected && vector != 0x620 && vector != 0x630) {
580 int expected; local
/linux-master/lib/zstd/decompress/
H A Dzstd_decompress.c1061 size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; }
1075 return dctx->expected;
1077 return dctx->expected;
1078 return BOUNDED(1, inputSize, dctx->expected);
1109 * srcSize : must be the exact nb of bytes expected (see ZSTD_nextSrcSizeToDecompress())
1129 dctx->expected = ZSTD_SKIPPABLEHEADERSIZE - srcSize; /* remaining to load to get full skippable frame header */
1136 dctx->expected = dctx->headerSize - srcSize;
1144 dctx->expected = ZSTD_blockHeaderSize;
1153 dctx->expected = cBlockSize;
1163 dctx->expected
[all...]
/linux-master/tools/testing/selftests/net/
H A Dfib_nexthops.sh72 local expected=$2
75 if [ ${rc} -eq ${expected} ]; then
83 echo " rc=$rc, expected $expected"
222 local expected="$2"
225 [ "${out}" = "${expected}" ] && return 0
231 printf " ${expected}\n"
237 if [ "${out}" != "${expected}" ]; then
243 printf " ${expected}\n\n"
255 local expected
[all...]
H A Dveth.sh56 local expected=$3
63 if [ "$flag" = "$expected" ]; then
66 echo " fail - expected $expected found $flag"
104 local expected=$2
126 if [ "$pkts" = "$expected" ]; then
129 echo " fail - got $pkts packets, expected $expected "
H A Dfib_tests.sh25 local expected=$2
28 if [ ${rc} -eq ${expected} ]; then
758 local expected=$1
761 if [ $num -ne $expected ]; then
762 echo "FAIL: Expected $expected routes, got $num"
771 local expected=$1
774 if [ $num -ne $expected ]; then
775 log_test 1 0 "expected $expected routes, got $num"
960 local expected
[all...]
H A Dtraceroute.sh16 local expected=$2
19 if [ ${rc} -eq ${expected} ]; then
H A Dgre_gso.sh20 local expected=$2
23 if [ ${rc} -eq ${expected} ]; then
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c972 uint64_t expected = (1 << _UFFDIO_COPY) | (1 << _UFFDIO_POISON); local
978 if ((ioctls & expected) != expected)
1074 err("expected to receive %lu SIGBUS, actually received %lu",
1269 uint64_t ioctls = 0, expected = BIT_ULL(_UFFDIO_WAKE); local
1293 expected |= BIT_ULL(_UFFDIO_COPY);
1295 expected |= BIT_ULL(_UFFDIO_WRITEPROTECT);
1297 expected |= BIT_ULL(_UFFDIO_CONTINUE);
1299 if ((ioctls & expected) != expected)
[all...]
/linux-master/lib/
H A Dtest_bitmap.c67 pr_err("[%s:%u] expected %lu, got %lu\n",
80 pr_warn("[%s:%u] bitmaps contents differ: expected \"%*pbl\", got \"%*pbl\"\n",
95 pr_warn("[%s:%u] expected \"%s\", got \"%s\"\n",
113 pr_warn("[%s:%u] array length differ: expected %u, got %u\n",
140 pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n",
147 pr_warn("[%s:%u] bit offset for zero clump: expected nonzero clump, got bit offset %u with clump value 0",
153 pr_warn("[%s:%u] expected clump value of 0x%lX, got clump value of 0x%lX",
170 pr_err("[%s:%u] expected %s, got %s\n", srcfile, line, exp_str, str);
430 const unsigned long *expected; member in struct:test_bitmap_parselist
535 pr_err("parselist: %d: input is %s, errno is %d, expected
562 char expected[256]; local
1043 unsigned long expected[4]; member in struct:test_bitmap_cut
[all...]
H A Dfortify_kunit.c122 #define KUNIT_EXPECT_BOS(test, p, expected, name) \
124 expected, \
128 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \
129 /* Silence "unused variable 'expected'" warning. */ \
130 KUNIT_EXPECT_EQ(test, expected, expected)
132 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \
134 expected, \
140 size_t expected = (_expected); \
143 KUNIT_EXPECT_BOS(test, p, expected, #allo
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_i2c_infineon.c49 /* expected value for DIDVID register */
472 u32 expected; local
486 expected = be32_to_cpu(*(__be32 *)(buf + 2));
487 if (((size_t) expected > count) || (expected < TPM_HEADER_SIZE)) {
493 expected - TPM_HEADER_SIZE);
494 if (size < expected) {
H A Dtpm_crb.c323 unsigned int expected; local
343 expected = be32_to_cpup((__be32 *)&buf[2]);
344 if (expected > count || expected < TPM_HEADER_SIZE)
347 memcpy_fromio(&buf[8], &priv->rsp[8], expected - 8);
349 return expected;
H A Dtpm_i2c_nuvoton.c275 u32 expected; local
313 * convert number of expected bytes field from big endian 32 bit
316 expected = be32_to_cpu(*(__be32 *) (buf + 2));
317 if (expected > count || expected < size) {
318 dev_err(dev, "%s() expected > count\n", __func__);
323 expected - size);
325 if (rc < 0 || size < expected) {
/linux-master/drivers/char/tpm/st33zp24/
H A Dst33zp24.c385 u32 expected; local
401 expected = be32_to_cpu(*(__be32 *)(buf + 2));
402 if (expected > count || expected < TPM_HEADER_SIZE) {
408 expected - TPM_HEADER_SIZE);
409 if (size < expected) {
/linux-master/drivers/w1/slaves/
H A Dw1_ds2408.c140 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) argument
153 return (w1_read_8(sl->master) == expected);
156 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected) argument
/linux-master/crypto/
H A Dkdf_sp800108.c120 .expected = "\x10\x62\x13\x42\xbf\xb0\xfd\x40"
/linux-master/scripts/
H A Drust_is_available_test.py7 under their canonical name (and with the expected versions).
98 def run_script(self, expected, override_env):
116 if expected == self.Expected.SUCCESS:
121 elif expected == self.Expected.SUCCESS_WITH_EXTRA_OUTPUT:
128 elif expected == self.Expected.SUCCESS_WITH_WARNINGS:
249 self.assertIn("bindings generator) did not return an expected output. See output", result.stderr)
/linux-master/drivers/ufs/host/
H A Dufs-renesas.c49 { .mode = MODE_POLL, .reg = _reg, .u.expected = _expected, \
137 u32 expected; member in union:ufs_renesas_init_param::__anon1344
302 (val & p->mask) == p->u.expected,
306 __func__, ret, val, p->mask, p->u.expected);
/linux-master/tools/lib/perf/tests/
H A Dtest-evlist.c424 long long expected)
428 error = (((double)average - expected) / expected) * 100.0;
430 __T_VERBOSE(" Expected: %lld\n", expected);
421 display_error(long long average, long long high, long long low, long long expected) argument
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c98 const char *expected)
105 if (!expected)
108 size = strlen(expected) + 1;
119 ret = strcmp(expected, buf);
97 cg_read_strcmp(const char *cgroup, const char *control, const char *expected) argument
/linux-master/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c130 uint64_t expected = 0x7f7f7f7f7f7f7f7fULL; local
136 if (*r64 == expected++)
/linux-master/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl116 my $expected = shift;
117 if ($key ne $expected) {
118 print("WARNING: Format not as expected '$key' != '$expected'");
124 die("Fewer fields than expected in format");
247 print "WARNING: Failed to parse mm_page_alloc_extfrag as expected\n";
/linux-master/arch/s390/lib/
H A Dspinlock.c86 int expected = old; local
94 return expected == old;

Completed in 213 milliseconds

1234567891011>>