Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/linux-6.3-rc2/tools/testing/selftests/netfilter/
A Dnft_nat.sh82 local expect=$3
105 expect="packets 1 bytes 104"
149 expect="packets 1 bytes 84"
205 expect="packets 0 bytes 0"
224 expect="packets 0 bytes 0"
285 expect="packets 0 bytes 0"
304 expect="packets 0 bytes 0"
343 expect="packets 0 bytes 0"
363 expect="packets 0 bytes 0"
488 expect="packets 0 bytes 0"
[all …]
A Dconntrack_icmp_related.sh52 expect=$3
67 expect="packets 0 bytes 0"
69 check_counter $n "unknown" "$expect"
233 expect="packets 0 bytes 0"
241 expect="packets 2 bytes 2076"
242 check_counter nsclient2 "new" "$expect"
255 expect="packets 0 bytes 0"
262 expect="packets 1 bytes 576"
276 expect="packets 2 bytes 1856"
296 expect="packets 1 bytes 112"
[all …]
/linux-6.3-rc2/mm/kfence/
A Dkfence_test.c111 cur = expect[0]; in report_matches()
112 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches()
141 cur = expect[1]; in report_matches()
142 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches()
338 expect.addr = buf - 1; in test_out_of_bounds_read()
362 expect.addr = buf - 1; in test_out_of_bounds_write()
379 test_free(expect.addr); in test_use_after_free_read()
394 test_free(expect.addr); in test_double_free()
436 expect.addr = buf - 1; in test_corruption()
502 WRITE_ONCE(*expect.addr, READ_ONCE(*expect.addr) + 1); in test_kmalloc_aligned_oob_write()
[all …]
/linux-6.3-rc2/tools/testing/selftests/lkdtm/
A Drun.sh43 expect=$(echo "$line" | cut -d" " -f2-)
45 expect=""
51 if [ -z "$expect" ]; then
52 expect="crashes entire system"
54 echo "Skipping $test: $expect"
60 if [ -z "$expect" ]; then
61 expect="call trace:"
65 expect=$(echo "$expect" | cut -d' ' -f2-)
101 if grep -E -qi "$expect" "$LOG" ; then
102 echo "$test: saw '$expect': ok"
[all …]
/linux-6.3-rc2/mm/kmsan/
A Dkmsan_test.c156 EXPECTATION_UNINIT_VALUE(expect); in test_uninit_kmalloc()
170 EXPECTATION_NO_REPORT(expect); in test_init_kmalloc()
183 EXPECTATION_NO_REPORT(expect); in test_init_kzalloc()
195 EXPECTATION_UNINIT_VALUE(expect); in test_uninit_stack_var()
206 EXPECTATION_NO_REPORT(expect); in test_init_stack_var()
265 EXPECTATION_UNINIT_VALUE(expect); in test_uninit_multiple_params()
307 EXPECTATION_NO_REPORT(expect); in test_init_kmsan_vmap_vunmap()
338 EXPECTATION_NO_REPORT(expect); in test_init_vmalloc()
356 EXPECTATION_USE_AFTER_FREE(expect); in test_uaf()
376 EXPECTATION_UNINIT_VALUE(expect); in test_percpu_propagate()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dmirror_lib.sh37 local expect=$1; shift
54 ((expect <= delta && delta <= expect + 2))
55 check_err $? "Expected to capture $expect packets, got $delta."
60 local expect=$1; shift
67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
114 local expect=$1; shift
126 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect
127 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
/linux-6.3-rc2/tools/testing/selftests/rseq/
A Drseq-arm64-bits.h29 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
33 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
43 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
198 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
204 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
215 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
271 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
275 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
290 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
342 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
A Drseq-riscv-bits.h22 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER()
26 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER()
36 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
179 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER()
185 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER()
196 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
296 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER()
300 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER()
315 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
362 RSEQ_ASM_OP_CMPEQ(v, expect, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
A Drseq-ppc-bits.h32 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
38 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
49 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
227 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
236 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
253 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
311 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER()
317 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
339 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
398 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
A Drseq.h241 intptr_t *v, intptr_t expect, in rseq_cmpeqv_storev() argument
248 return rseq_cmpeqv_storev_relaxed_cpu_id(v, expect, newv, cpu); in rseq_cmpeqv_storev()
250 return rseq_cmpeqv_storev_relaxed_mm_cid(v, expect, newv, cpu); in rseq_cmpeqv_storev()
313 intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument
321 return rseq_cmpeqv_trystorev_storev_relaxed_cpu_id(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev()
323 return rseq_cmpeqv_trystorev_storev_relaxed_mm_cid(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev()
329 return rseq_cmpeqv_trystorev_storev_release_cpu_id(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev()
341 intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument
349 return rseq_cmpeqv_cmpeqv_storev_relaxed_cpu_id(v, expect, v2, expect2, newv, cpu); in rseq_cmpeqv_cmpeqv_storev()
351 return rseq_cmpeqv_cmpeqv_storev_relaxed_mm_cid(v, expect, v2, expect2, newv, cpu); in rseq_cmpeqv_cmpeqv_storev()
[all …]
A Drseq-x86-bits.h48 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
255 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
299 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
337 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
378 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
484 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
560 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
710 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
755 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
839 [expect] "m" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
[all …]
A Drseq-mips-bits.h14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
49 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
190 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
237 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
270 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
317 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
342 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
428 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
A Drseq-arm-bits.h14 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
51 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
207 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
258 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
297 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
346 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
377 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
466 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
A Drseq-s390-bits.h9 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_storev)(intptr_t *v, intptr_t expect, intptr_t newv, int c… in RSEQ_TEMPLATE_IDENTIFIER()
42 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
199 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_cmpeqv_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
244 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
284 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trystorev_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
326 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
357 int RSEQ_TEMPLATE_IDENTIFIER(rseq_cmpeqv_trymemcpy_storev)(intptr_t *v, intptr_t expect, in RSEQ_TEMPLATE_IDENTIFIER()
435 [expect] "r" (expect), in RSEQ_TEMPLATE_IDENTIFIER()
A Drseq-arm64.h152 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
155 ", %[" __rseq_str(expect) "]\n" \
158 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument
161 ", %w[" __rseq_str(expect) "]\n" \
164 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument
167 ", %[" __rseq_str(expect) "]\n" \
A Drseq-riscv.h100 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument
102 "bne " RSEQ_ASM_TMP_REG_1 ", %[" __rseq_str(expect) "] ," \
105 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument
107 "bne " RSEQ_ASM_TMP_REG_1 ", %[" __rseq_str(expect) "] ," \
110 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument
112 "beq " RSEQ_ASM_TMP_REG_1 ", %[" __rseq_str(expect) "] ," \
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_expect.c452 expect_matches(i, expect)) { in __nf_ct_expect_check()
453 if (i->class != expect->class || in __nf_ct_expect_check()
454 i->master != expect->master) in __nf_ct_expect_check()
459 } else if (expect_clash(i, expect)) { in __nf_ct_expect_check()
471 evict_oldest_expect(master, expect); in __nf_ct_expect_check()
499 nf_ct_expect_insert(expect); in nf_ct_expect_related_report()
628 struct nf_conntrack_expect *expect; in exp_seq_show() local
635 if (expect->timeout.function) in exp_seq_show()
641 expect->tuple.src.l3num, in exp_seq_show()
642 expect->tuple.dst.protonum); in exp_seq_show()
[all …]
/linux-6.3-rc2/kernel/kcsan/
A Dkcsan_test.c162 typeof(*observed.lines) *expect; in __report_matches()
172 if (WARN_ON(!expect)) in __report_matches()
178 cur = expect[0]; in __report_matches()
179 end = &expect[0][sizeof(expect[0]) - 1]; in __report_matches()
196 cur = strchr(expect[0], '+'); in __report_matches()
202 cur = expect[1]; in __report_matches()
203 end = &expect[1][sizeof(expect[1]) - 1]; in __report_matches()
229 cur = expect[2]; in __report_matches()
230 end = &expect[2][sizeof(expect[2]) - 1]; in __report_matches()
260 kfree(expect); in __report_matches()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dhyperv_features.c33 uint64_t expect; member
102 GUEST_ASSERT_2(res == hcall->expect, hcall->expect, res); in guest_hcall()
564 hcall->expect = HV_STATUS_ACCESS_DENIED; in guest_test_hcalls_access()
574 hcall->expect = HV_STATUS_ACCESS_DENIED; in guest_test_hcalls_access()
589 hcall->expect = HV_STATUS_ACCESS_DENIED; in guest_test_hcalls_access()
599 hcall->expect = HV_STATUS_ACCESS_DENIED; in guest_test_hcalls_access()
604 hcall->expect = HV_STATUS_SUCCESS; in guest_test_hcalls_access()
613 hcall->expect = HV_STATUS_SUCCESS; in guest_test_hcalls_access()
628 hcall->expect = HV_STATUS_SUCCESS; in guest_test_hcalls_access()
638 hcall->expect = HV_STATUS_SUCCESS; in guest_test_hcalls_access()
[all …]
/linux-6.3-rc2/lib/
A Dtest_scanf.c67 typeof(*expect) got = *va_arg(ap, typeof(expect)); \
69 if (got != *expect) { \
71 str, fmt, *expect, got); \
355 T expect[8], result[8]; \
357 fill_random_array(expect); \
383 T expect[8], result[8]; \
385 fill_random_array(expect); \
393 expect[i]); \
609 T result[2] = {~expect[0], ~expect[1]}; \
693 if (got != (expect)) { \
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dsocket.c20 int expect; member
55 if (s->expect < 0 && in run_tests()
56 errno == -s->expect) in run_tests()
59 strerror_r(-s->expect, err_string1, ERR_STRING_SZ); in run_tests()
72 if (s->expect < 0) { in run_tests()
/linux-6.3-rc2/arch/x86/kernel/
A Djump_label.c38 const void *expect, *code, *nop; in __jump_label_patch() local
61 expect = nop; in __jump_label_patch()
63 expect = code; in __jump_label_patch()
65 if (memcmp(addr, expect, size)) { in __jump_label_patch()
72 addr, addr, addr, expect, size, type); in __jump_label_patch()
/linux-6.3-rc2/kernel/trace/
A Dtrace_branch.c31 probe_likely_condition(struct ftrace_likely_data *f, int val, int expect) in probe_likely_condition() argument
83 entry->correct = val == expect; in probe_likely_condition()
94 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
99 probe_likely_condition(f, val, expect); in trace_likely_condition()
200 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
206 int expect, int is_constant) in ftrace_likely_update() argument
213 val = expect; in ftrace_likely_update()
221 trace_likely_condition(f, val, expect); in ftrace_likely_update()
224 if (val == expect) in ftrace_likely_update()
/linux-6.3-rc2/rust/macros/
A Dhelpers.rs38 try_ident(it).expect("Expected Ident") in expect_ident()
42 if let TokenTree::Punct(punct) = it.next().expect("Reached end of token stream for Punct") { in expect_punct()
50 try_string(it).expect("Expected string") in expect_string()
54 let string = try_string(it).expect("Expected string"); in expect_string_ascii()
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/
A Dqos_headroom.sh68 local expect=$1; shift
71 test "$current" = "$expect"
72 check_err $? "prio2buffer is '$current', expected '$expect'"
77 local expect=$1; shift
80 test "$current" = "$expect"
81 check_err $? "prio PFC is '$current', expected '$expect'"
86 local expect=$1; shift
89 test "$current" = "$expect"
90 check_err $? "prio_tc is '$current', expected '$expect'"

Completed in 58 milliseconds

12345678910>>...12