Searched refs:expected (Results 101 - 125 of 312) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dxapic_state_test.c137 uint32_t apic_id, expected; local
144 expected = apic_base & X2APIC_ENABLE ? vcpu->id : vcpu->id << 24;
147 TEST_ASSERT(apic_id == expected,
150 expected, apic_id);
/linux-master/fs/nfsd/
H A Dblocklayoutxdr.c192 u32 nr_iomaps, expected, i; local
200 expected = sizeof(__be32) + nr_iomaps * PNFS_SCSI_RANGE_SIZE;
201 if (len != expected) {
203 __func__, len, expected);
/linux-master/tools/testing/selftests/net/
H A Dvrf_strict_mode_test.sh20 local expected=$2
23 if [ ${rc} -eq ${expected} ]; then
174 local expected=$2
178 log_test ${res} ${expected} "${nsname}: check strict_mode=${res}"
H A Ddrop_monitor_tests.sh22 local expected=$2
25 if [ ${rc} -eq ${expected} ]; then
H A Dndisc_unsolicited_na_test.sh34 local expected=$2
37 if [ ${rc} -eq ${expected} ]; then
149 # Neighbour entry expected to be present for 011 case
152 # Neighbour entry expected to be absent for all other cases
/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
/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/xfs/scrub/
H A Dfscounters.c46 * initialized. The expected value calculation then iterates the incore per-AG
49 * our tolerance for mismatch between expected and actual counter values.
53 * Since the expected value computation is lockless but only browses incore
447 * Is the @counter reasonably close to the @expected value?
450 * per-AG data to compute the @expected value, which means that the counter
452 * before the aggregation, and we re-sum the counter now. If the expected
466 uint64_t expected)
471 trace_xchk_fscounters_within_range(sc->mp, expected, curr_value,
479 if (curr_value == expected)
490 if (expected >
462 xchk_fscount_within_range( struct xfs_scrub *sc, const int64_t old_value, struct percpu_counter *counter, uint64_t expected) argument
[all...]
/linux-master/lib/
H A Dtest_bitmap.c67 pr_err("[%s:%u] expected %u, got %u\n",
81 pr_warn("[%s:%u] bitmaps contents differ: expected \"%*pbl\", got \"%*pbl\"\n",
96 pr_warn("[%s:%u] expected \"%s\", got \"%s\"\n",
114 pr_warn("[%s:%u] array length differ: expected %u, got %u\n",
141 pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n",
148 pr_warn("[%s:%u] bit offset for zero clump: expected nonzero clump, got bit offset %u with clump value 0",
154 pr_warn("[%s:%u] expected clump value of 0x%lX, got clump value of 0x%lX",
171 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...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmap_init.c100 static int check_values_one_cpu(pcpu_map_value_t *value, map_value_t expected) argument
108 if (CHECK(val != expected, "map value",
126 * Lookup Key=1 and check value is as expected for all CPUs:
157 /* and has expected values */
167 * Lookup Key=1 and check value is as expected for all CPUs
194 /* and has expected values */
/linux-master/drivers/platform/surface/aggregator/
H A Dssh_parser.c19 * @crc: The pointer to the expected u16 CRC value.
32 u16 expected = get_unaligned_le16(crc); local
34 return actual == expected;
/linux-master/arch/um/os-Linux/skas/
H A Dmem.c87 printk(UM_KERN_ERR "%s: syscall %ld failed, return value = 0x%lx, expected return value = 0x%lx\n",
110 unsigned long *args, long expected, void **addr,
125 *stack++ = expected;
109 run_syscall_stub(struct mm_id * mm_idp, int syscall, unsigned long *args, long expected, void **addr, int done) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dconnect4_prog.c51 char expected[TCP_CA_NAME_MAX])
60 if (buf[i] != expected[i])
50 verify_cc(struct bpf_sock_addr *ctx, char expected[TCP_CA_NAME_MAX]) argument
/linux-master/arch/arc/include/asm/
H A Datomic64-arcv2.h141 arch_atomic64_cmpxchg(atomic64_t *ptr, s64 expected, s64 new) argument
155 : "r"(ptr), "ir"(expected), "r"(new)
/linux-master/arch/arc/kernel/
H A Dprocess.c46 SYSCALL_DEFINE3(arc_usr_cmpxchg, int __user *, uaddr, int, expected, int, new)
74 if (uval != expected)
/linux-master/fs/bcachefs/
H A Dchecksum.h61 struct bch_csum expected,
69 bch2_csum_to_text(out, type, expected);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.h33 const char *expected);
/linux-master/tools/perf/tests/
H A Dtime-utils-test.c12 static bool test__parse_nsec_time(const char *str, u64 expected) argument
25 if (ptime != expected) {
26 pr_debug("Failed. ptime %" PRIu64 " expected %" PRIu64 "\n",
27 ptime, expected);
96 pr_debug("bad size: range_size %d range_num %d expected num %d\n",
104 pr_debug("bad range %d expected %" PRIu64 " to %" PRIu64 "\n",
/linux-master/arch/powerpc/sysdev/
H A Dmsi_bitmap.c228 DECLARE_BITMAP(expected, SIZE_EXPECTED);
258 /* Check we got the expected result */
259 WARN_ON(bitmap_parselist(expected_str, expected, SIZE_EXPECTED));
260 WARN_ON(!bitmap_equal(expected, bmp.bitmap, SIZE_EXPECTED));
/linux-master/tools/testing/selftests/net/forwarding/
H A Dbridge_fdb_learning_limit.sh240 local n_mac expected=$((1 - is_counted))
248 [ "$n_mac" -ne "$expected" ]
249 check_fail $? "Inserted FDB type ${type} at limit: Expected the count ${expected}, but got ${n_mac}"
/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/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c117 char expected = i % 2 ? 0x0 : 0xa5; local
120 if (mem[i * block_size + j] != expected) {
123 i * block_size + j, expected);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh155 # Features might not land in the expected version and features can be backported
356 local expected="${3}"
368 elif [ "${out}" = "${expected}" ]; then
371 mptcp_lib_pr_fail "expected '${expected}' got '${out}'"
/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/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...]

Completed in 255 milliseconds

1234567891011>>