Searched refs:expected (Results 251 - 275 of 312) sorted by last modified time

<<111213

/linux-master/arch/x86/mm/pat/
H A Dcpa-test.c51 long i, expected, missed = 0; local
101 expected = (s->gpg*GPS + s->lpg*LPS)/PAGE_SIZE + s->spg + missed;
102 if (expected != i) {
103 printk(KERN_ERR "CPA max_pfn_mapped %lu but expected %lu\n",
104 max_pfn_mapped, expected);
/linux-master/drivers/misc/mei/
H A Dhw-txe.c213 * @expected: expected aliveness value
217 * Return: 0 if the expected value was received, -ETIME otherwise
219 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) argument
228 if (hw->aliveness == expected) {
246 * @expected: expected aliveness value
252 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) argument
261 if (hw->aliveness == expected)
270 ret = hw->aliveness == expected
[all...]
/linux-master/drivers/iio/test/
H A Diio-test-rescale.c28 const char *expected; member in struct:rescale_tc_data
42 .expected = "5210.918114143",
50 .expected = "-5210.918114143",
59 .expected = "260.545905707",
68 .expected = "-260.545905707",
77 .expected = "0.049528301",
86 .expected = "-0.049528301",
95 .expected = "1240.710106203",
104 .expected = "-1240.710106203",
113 .expected
[all...]
/linux-master/tools/testing/selftests/net/
H A Dsrv6_end_next_csid_l3vpn_test.sh329 local expected="$2"
332 if [ "${rc}" -eq "${expected}" ]; then
H A Dreuseport_bpf.c4 * incoming packet (expected to be in network byte-order), calculate a modulus
217 int epfd, conn, i, sport, expected; local
256 error(1, 0, "expected size %zd got %d",
265 expected = (sport % mod);
266 if (i != expected)
267 error(1, 0, "expected socket %d", expected);
H A Dsrv6_hencap_red_l3vpn_test.sh201 local expected="$2"
204 if [ "${rc}" -eq "${expected}" ]; then
H A Dsrv6_hl2encap_red_l2vpn_test.sh152 local expected="$2"
155 if [ "${rc}" -eq "${expected}" ]; then
H A Dpsock_snd.c274 static void do_rx(int fd, int expected_len, char *expected) argument
284 if (memcmp(rbuf, expected, ret))
/linux-master/tools/testing/selftests/drivers/net/ocelot/
H A Dpsfp.sh73 local expected=$1
82 if ! [ "${packets}" = "${expected}" ]; then
84 "${expected}" "${packets}"
254 local expected=$2
281 if [ "${received}" = "${expected}" ]; then
285 echo "Expected isochron to receive ${expected} packets but received ${received}"
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c240 struct data_check expected = {}, result; local
256 expected.len = MIN_TCPHDR_LEN;
257 expected.ip_protocol = IPPROTO_TCP;
259 expected.len = UDPHDR_LEN;
260 expected.ip_protocol = IPPROTO_UDP;
264 expected.eth_protocol = htons(ETH_P_IPV6);
265 expected.bind_inany = !srv_sa.v6.sin6_addr.s6_addr32[3] &&
270 memcpy(&expected.skb_addrs[0], cli_sa.v6.sin6_addr.s6_addr32,
272 memcpy(&expected.skb_addrs[4], &in6addr_loopback,
274 expected
374 send_data(int type, sa_family_t family, void *data, size_t len, enum result expected) argument
396 do_test(int type, sa_family_t family, struct cmd *cmd, enum result expected) argument
[all...]
/linux-master/sound/isa/
H A Des18xx.c317 int old, expected, new; local
322 expected = old ^ mask;
323 outb(expected, chip->port + 0x05);
328 reg, old, expected, new);
330 return expected == new;
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; local
49 expected[0] = MMCR2_EXPECTED_1;
50 expected[1] = MMCR2_EXPECTED_2;
59 mtspr(SPRN_MMCR2, expected[i % 2]);
64 if (val != expected[i % 2]) {
/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/drivers/net/ethernet/sfc/siena/
H A Dfarch.c889 /* Count errors that are not in MAC stats. Ignore expected
902 /* TOBE_DISC is expected on unicast mismatches; don't print out an
945 unsigned expected, dropped; local
954 expected = rx_queue->removed_count & rx_queue->ptr_mask;
955 dropped = (index - expected) & rx_queue->ptr_mask;
957 "dropped %d events (index=%d expected=%d)\n",
958 dropped, index, expected);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c892 /* Count errors that are not in MAC stats. Ignore expected
905 /* TOBE_DISC is expected on unicast mismatches; don't print out an
951 unsigned expected, dropped; local
960 expected = rx_queue->removed_count & rx_queue->ptr_mask;
961 dropped = (index - expected) & rx_queue->ptr_mask;
963 "dropped %d events (index=%d expected=%d)\n",
964 dropped, index, expected);
/linux-master/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h324 * @expected: The next expected element to finish assuming we were in order.
345 int expected; member in struct:sec_queue
/linux-master/arch/s390/kernel/
H A Djump_label.c33 static void jump_label_bug(struct jump_entry *entry, struct insn *expected, argument
37 unsigned char *ipe = (unsigned char *)expected;
/linux-master/tools/testing/selftests/firmware/
H A Dfw_upload.sh77 local expected="$2"
84 if [ "$status" = "$expected" ]; then
91 echo "$0: Invalid status: Expected $expected, Actual $status" >&2
104 local expected="$2"
107 if [ "$error" != "$expected" ]; then
108 echo "Invalid error: Expected $expected, Actual $error" >&2
174 local expected="preparing:invalid-file-size"
183 if ! expect_error $name $expected; then
/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/bpf/
H A Dtest_lru_map.c116 static int map_equal(int lru_map, int expected) argument
118 return map_subset(lru_map, expected) && map_subset(expected, lru_map);
222 /* remove the same element from the expected map */
/linux-master/lib/
H A Dtest_lockup.c437 unsigned int expected)
445 if (get_kernel_nofault(magic, ptr) || magic != expected) {
446 pr_err("invalid magic at %#lx + %#x = %#x, expected %#x\n",
447 addr, offset, magic, expected);
436 test_magic(unsigned long addr, int offset, unsigned int expected) argument
/linux-master/arch/sh/kernel/
H A Dtraps_32.c320 struct mem_access *ma, int expected,
338 * We intentionally don't report the expected cases to perf as
342 if (!expected) {
319 handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs, struct mem_access *ma, int expected, unsigned long address) argument
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_queue.sh207 echo "FAIL: $proto expected failure, got $lret" 1>&2
222 local expected=$1
248 if [ x"$last" != x"$expected packets total" ]; then
249 echo "FAIL: Expected $expected packets total, but got $last" 1>&2
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_set_ftrace_file.tc117 test_actual() { # Compares $TMPDIR/expected with set_ftrace_filter
119 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`
124 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
129 grep -v 'try.*lock$' $TMPDIR/expected > $TMPDIR/expected2
130 mv $TMPDIR/expected2 $TMPDIR/expected
135 grep -v '^m.*lock$' $TMPDIR/expected > $TMPDIR/expected2
136 mv $TMPDIR/expected2 $TMPDIR/expected
141 grep -v '^c.*unlock' $TMPDIR/expected > $TMPDIR/expected2
142 mv $TMPDIR/expected2 $TMPDIR/expected
147 > $TMPDIR/expected
[all...]
/linux-master/arch/powerpc/lib/
H A Dtest-code-patching.c339 u32 expected[2] = {OP_PREFIX << 26, 0}; local
347 check(!memcmp(iptr, expected, sizeof(expected)));

Completed in 312 milliseconds

<<111213