/linux-master/arch/alpha/kernel/ |
H A D | core_mcpcia.c | 582 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 D | zstd_decompress.c | 1061 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 D | fib_nexthops.sh | 72 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 D | veth.sh | 56 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 D | fib_tests.sh | 25 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 D | traceroute.sh | 16 local expected=$2 19 if [ ${rc} -eq ${expected} ]; then
|
H A D | gre_gso.sh | 20 local expected=$2 23 if [ ${rc} -eq ${expected} ]; then
|
H A D | fib_nexthop_multiprefix.sh | 27 local expected=$2 30 if [ ${rc} -eq ${expected} ]; then
|
/linux-master/tools/testing/selftests/mm/ |
H A D | uffd-unit-tests.c | 972 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/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 49 /* 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 D | tpm_crb.c | 323 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 D | tpm_i2c_nuvoton.c | 275 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 D | st33zp24.c | 385 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 D | w1_ds2408.c | 140 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/lib/ |
H A D | fortify_kunit.c | 105 #define KUNIT_EXPECT_BOS(test, p, expected, name) \ 107 expected, \ 111 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ 112 /* Silence "unused variable 'expected'" warning. */ \ 113 KUNIT_EXPECT_EQ(test, expected, expected) 115 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ 117 expected, \ 123 size_t expected = (_expected); \ 126 KUNIT_EXPECT_BOS(test, p, expected, #allo [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fib_lookup.c | 210 printf("ipv6 expected %s actual %s ", expected_src, 283 char expected[18], actual[18]; local 285 mac_str(expected, tests[i].dmac); 287 printf("dmac expected %s actual %s ", expected, actual); 293 "expected fib_params.tbid to be zero"))
|
/linux-master/crypto/ |
H A D | kdf_sp800108.c | 120 .expected = "\x10\x62\x13\x42\xbf\xb0\xfd\x40"
|
/linux-master/scripts/ |
H A D | rust_is_available_test.py | 7 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/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 98 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/drivers/ufs/host/ |
H A D | ufs-renesas.c | 49 { .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 D | test-evlist.c | 424 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/x86/ |
H A D | test_syscall_vdso.c | 130 uint64_t expected = 0x7f7f7f7f7f7f7f7fULL; local 136 if (*r64 == expected++)
|
/linux-master/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 116 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/kernel/ |
H A D | ftrace.c | 40 * where r0 contains the return address. It is also expected that the called 163 static int ftrace_patch_branch_mask(void *addr, u16 expected, bool enable) argument 170 if (old != expected)
|
/linux-master/arch/s390/lib/ |
H A D | spinlock.c | 86 int expected = old; local 94 return expected == old;
|