Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 1377) sorted by relevance

12345678910>>...56

/linux-6.15/arch/powerpc/lib/
H A Dtest-code-patching.c25 #define check(x) do { \ macro
94 check(err); in test_branch_iform()
98 check(err); in test_branch_iform()
102 check(err); in test_branch_iform()
186 check(err); in test_branch_bform()
190 check(err); in test_branch_bform()
194 check(err); in test_branch_bform()
211 check(buf); in test_translate_branch()
360 check(buf); in test_multi_instruction_patching()
368 check(addr32[0] == 0); in test_multi_instruction_patching()
[all …]
H A Dfeature-fixups.c709 #define check(x) \ macro
739 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
743 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
751 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
807 check(patch_feature_section(0xF, &fixup) == 1); in test_alternative_case_too_big()
809 check(patch_feature_section(0, &fixup) == 1); in test_alternative_case_too_big()
811 check(patch_feature_section(~0xF, &fixup) == 1); in test_alternative_case_too_big()
889 check(memcmp(ftr_fixup_test_FTR_macros, in test_cpu_macros()
902 check(memcmp(ftr_fixup_test_FW_FTR_macros, in test_fw_macros()
918 check(memcmp(lwsync_fixup_test, in test_lwsync_macros()
[all …]
/linux-6.15/tools/testing/selftests/user_events/
H A Dabi_test.c217 int check; in FIXTURE() local
226 self->check = 0; in FIXTURE_SETUP()
236 ASSERT_EQ(0, self->check); in TEST_F()
239 ASSERT_EQ(1, self->check); in TEST_F()
241 ASSERT_EQ(0, self->check); in TEST_F()
245 ASSERT_EQ(1, self->check); in TEST_F()
247 ASSERT_EQ(0, self->check); in TEST_F()
251 ASSERT_EQ(0, self->check); in TEST_F()
353 self->check = 0; in TEST_F()
359 if (self->check) in TEST_F()
[all …]
H A Ddyn_test.c63 reg.enable_addr = (__u64)check; in reg_event()
64 reg.enable_size = sizeof(*check); in reg_event()
78 unreg.disable_addr = (__u64)check; in unreg_event()
121 ret = reg_event(fd, check, 31, value + 2); in parse_abi()
124 if (unreg_event(fd, check, 31) == -1) in parse_abi()
137 int abi_ret = parse_abi(check, value); in parse()
155 if (reg_event(fd, check, 31, first) == -1) in check_match()
158 if (reg_event(fd, check, 30, second) == -1) { in check_match()
171 unreg_event(fd, check, 31); in check_match()
172 unreg_event(fd, check, 30); in check_match()
[all …]
H A Dftrace_test.c166 ret = clear(check); in check_print_fmt()
206 int check; in FIXTURE() local
510 &self->check); in TEST_F()
515 &self->check); in TEST_F()
520 &self->check); in TEST_F()
525 &self->check); in TEST_F()
530 &self->check); in TEST_F()
535 &self->check); in TEST_F()
540 &self->check); in TEST_F()
545 &self->check); in TEST_F()
[all …]
H A Dperf_test.c85 static int clear(int *check) in clear() argument
91 unreg.disable_addr = (__u64)check; in clear()
113 int check; in FIXTURE() local
129 if (clear(&self->check) != 0) in FIXTURE_TEARDOWN()
145 reg.enable_addr = (__u64)&self->check; in TEST_F()
146 reg.enable_size = sizeof(self->check); in TEST_F()
151 ASSERT_EQ(0, self->check); in TEST_F()
195 ASSERT_EQ(0, self->check); in TEST_F()
209 reg.enable_addr = (__u64)&self->check; in TEST_F()
215 ASSERT_EQ(0, self->check); in TEST_F()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-fec.sh22 check $?
30 check $?
38 check $?
46 check $?
54 check $?
60 check $?
67 check $? '' '' 1
70 check $? '' '' 1
76 check $?
84 check $?
[all …]
H A Dmacsec-offload.sh27 check $?
30 check $?
33 check $?
39 check $?
42 check $?
46 check $?
60 check $?
63 check $?
67 check $?
70 check $?
[all …]
H A Dethtool-pause.sh20 check $? "$s" "null"
23 check $? "$s" "{}"
28 check $? "$s" "1"
31 check $? "$s" "2"
36 check $? "$s" "2"
39 check $? "$s" "1"
41 check $? "$s" "2"
/linux-6.15/tools/testing/selftests/powerpc/switch_endian/
H A Dcheck.S14 cmpd r9,r3 # check r3
16 addi r9,r15,4 # check r4
19 lis r9,0x00FF # check CR
26 addi r9,r15,32 # check LR
30 addi r9,r15,5 # check r5
33 addi r9,r15,6 # check r6
36 addi r9,r15,7 # check r7
39 addi r9,r15,8 # check r8
42 addi r9,r15,13 # check r13
45 addi r9,r15,14 # check r14
[all …]
H A DMakefile4 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
13 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
15 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o
18 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
/linux-6.15/drivers/firmware/efi/
H A Dcper-x86.c48 #define CHECK_VALID_BITS(check) (((check) & GENMASK_ULL(15, 0))) argument
49 #define CHECK_TRANS_TYPE(check) (((check) & GENMASK_ULL(17, 16)) >> 16) argument
50 #define CHECK_OPERATION(check) (((check) & GENMASK_ULL(21, 18)) >> 18) argument
51 #define CHECK_LEVEL(check) (((check) & GENMASK_ULL(24, 22)) >> 22) argument
58 #define CHECK_BUS_PART_TYPE(check) (((check) & GENMASK_ULL(31, 30)) >> 30) argument
60 #define CHECK_BUS_ADDR_SPACE(check) (((check) & GENMASK_ULL(34, 33)) >> 33) argument
69 #define CHECK_MS_ERR_TYPE(check) (((check) & GENMASK_ULL(18, 16)) >> 16) argument
161 u8 err_type = CHECK_MS_ERR_TYPE(check); in print_err_info_ms()
196 u8 trans_type = CHECK_TRANS_TYPE(check); in print_err_info()
204 u8 op = CHECK_OPERATION(check); in print_err_info()
[all …]
/linux-6.15/tools/testing/selftests/net/mptcp/
H A Dpm_netlink.sh119 check() function
142 check "show_endpoints" "" "defaults addr list"
154 check "show_endpoints" \
160 check "get_endpoint 2" "" "simple del addr"
161 check "show_endpoints" \
166 check "get_endpoint 4" "" "duplicate addr"
175 check "get_endpoint 10" "" "above hard addr limit"
182 check "show_endpoints" \
192 check "show_endpoints" "" "flush addrs"
212 check "show_endpoints" \
[all …]
/linux-6.15/include/net/
H A Ddsfield.h31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local
35 check += iph->tos; in ipv4_change_dsfield()
36 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield()
37 check -= dsfield; in ipv4_change_dsfield()
38 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield()
39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
/linux-6.15/tools/tracing/rtla/tests/
H A Dtimerlat.t21 check "verify help page" \
23 check "verify -s/--stack" \
25 check "verify -P/--priority" \
27 check "test in nanoseconds" \
29 check "set the automatic trace mode" \
31 check "print the auto-analysis if hits the stop tracing condition" \
33 check "disable auto-analysis" \
35 check "verify -c/--cpus" \
37 check "hist test in nanoseconds" \
H A Dhwnoise.t8 check "verify help page" \
10 check "detect noise higher than one microsecond" \
12 check "set the automatic trace mode" \
14 check "set scheduling param to the osnoise tracer threads" \
16 check "stop the trace if a single sample is higher than 1 us" \
18 check "enable a trace event trigger" \
H A Dosnoise.t8 check "verify help page" \
10 check "verify the --priority/-P param" \
12 check "verify the --stop/-s param" \
14 check "verify the --trace param" \
16 check "verify the --entries/-E param" \
/linux-6.15/net/ipv4/
H A Dudp_offload.c140 uh->check = gso_make_checksum(skb, ~uh->check); in __skb_udp_tunnel_segment()
205 if (uh->check) { in __udpv4_gso_segment_csum()
333 __sum16 check; in __udp_gso_segment() local
414 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
427 uh->check = check; in __udp_gso_segment()
432 uh->check = gso_make_checksum(seg, ~check) ? : in __udp_gso_segment()
442 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
445 uh->check = check; in __udp_gso_segment()
513 uh->check = 0; in udp4_ufo_fragment()
676 (!uh->check ^ !uh2->check)) { in udp_gro_receive()
[all …]
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_proto_udp.c100 uhdr->check = in udp_fast_csum_update()
106 uhdr->check = in udp_fast_csum_update()
110 if (!uhdr->check) in udp_fast_csum_update()
122 uhdr->check = in udp_partial_csum_update()
128 uhdr->check = in udp_partial_csum_update()
192 udph->check = 0; in udp_snat_handler()
207 if (udph->check == 0) in udp_snat_handler()
211 pp->name, udph->check, in udp_snat_handler()
276 udph->check = 0; in udp_dnat_handler()
291 if (udph->check == 0) in udp_dnat_handler()
[all …]
/linux-6.15/tools/perf/Documentation/
H A Dperf-check.txt1 perf-check(1)
6 perf-check - check if features are present in perf
11 'perf check' [<options>]
12 'perf check' {feature <feature_list>} [<options>]
16 With no subcommands given, 'perf check' command just prints the command
22 Also, 'perf check feature' returns with exit status 0 if the feature
41 perf check feature libtraceevent
42 perf check feature HAVE_LIBTRACEEVENT
43 perf check feature libtraceevent,bpf
78 This can be used along with subcommands such as 'perf check feature'
[all …]
/linux-6.15/tools/perf/tests/
H A Dparse-events.c2010 .check = test__group1,
2015 .check = test__group2,
2020 .check = test__group3,
2025 .check = test__group4,
2030 .check = test__group5,
2040 .check = test__group_gh1,
2139 .check = test__intel_pt,
2340 .check = test__group1,
2346 .check = test__group4,
2485 ret = e->check(evlist); in test_event()
[all …]
/linux-6.15/tools/perf/
H A Dcheck-headers.sh124 check () { function
178 check "$i" -B
183 check "$i" '-I "^.*\/\*.*__ignore_sync_check__.*\*\/.*$"'
188 check arch/x86/lib/memset_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU…
189 check arch/x86/include/asm/amd-ibs.h '-I "^#include [<\"]\(asm/\)*msr-index.h"'
190 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
192 check include/uapi/asm-generic/mman.h '-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.…
193 check include/uapi/linux/mman.h '-I "^#include <\(uapi/\)*asm/mman.h>"'
194 check include/linux/build_bug.h '-I "^#\(ifndef\|endif\)\( \/\/\)* static_assert$"'
195 check include/linux/ctype.h '-I "isdigit("'
[all …]
/linux-6.15/arch/x86/pci/
H A Dpcbios.c304 union bios32 *check; in pci_find_bios() local
314 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios()
315 check <= (union bios32 *) __va(0xffff0); in pci_find_bios()
316 ++check) { in pci_find_bios()
321 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
323 length = check->fields.length * 16; in pci_find_bios()
328 sum += check->chars[i]; in pci_find_bios()
331 if (check->fields.revision != 0) { in pci_find_bios()
333 check->fields.revision, check); in pci_find_bios()
337 if (check->fields.entry >= 0x100000) { in pci_find_bios()
[all …]
/linux-6.15/drivers/pnp/pnpbios/
H A Dcore.c425 union pnp_bios_install_struct *check; in pnpbios_probe_system() local
438 check = (void *)check + 16) { in pnpbios_probe_system()
443 check); in pnpbios_probe_system()
444 length = check->fields.length; in pnpbios_probe_system()
451 sum += check->chars[i]; in pnpbios_probe_system()
457 if (check->fields.version < 0x10) { in pnpbios_probe_system()
460 check->fields.version >> 4, in pnpbios_probe_system()
466 check->fields.version >> 4, check->fields.version & 15, in pnpbios_probe_system()
467 check->fields.pm16cseg, check->fields.pm16offset, in pnpbios_probe_system()
468 check->fields.pm16dseg); in pnpbios_probe_system()
[all …]
/linux-6.15/drivers/md/bcache/
H A Ddebug.c111 struct bio *check; in bch_data_verify() local
115 check = bio_kmalloc(nr_segs, GFP_NOIO); in bch_data_verify()
116 if (!check) in bch_data_verify()
118 bio_init(check, bio->bi_bdev, check->bi_inline_vecs, nr_segs, in bch_data_verify()
123 bch_bio_map(check, NULL); in bch_data_verify()
124 if (bch_bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify()
127 submit_bio_wait(check); in bch_data_verify()
134 cbv = bio_iter_iovec(check, citer); in bch_data_verify()
148 bio_free_pages(check); in bch_data_verify()
150 bio_uninit(check); in bch_data_verify()
[all …]

12345678910>>...56