Home
last modified time | relevance | path

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

12345678910>>...49

/linux-6.3-rc2/arch/powerpc/lib/
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()
220 check(instr_is_branch_to_addr(p, addr)); in test_translate_branch()
224 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
[all …]
A Dfeature-fixups.c683 #define check(x) \ macro
708 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
712 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
720 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching()
776 check(patch_feature_section(0xF, &fixup) == 1); in test_alternative_case_too_big()
778 check(patch_feature_section(0, &fixup) == 1); in test_alternative_case_too_big()
780 check(patch_feature_section(~0xF, &fixup) == 1); in test_alternative_case_too_big()
858 check(memcmp(ftr_fixup_test_FTR_macros, in test_cpu_macros()
871 check(memcmp(ftr_fixup_test_FW_FTR_macros, in test_fw_macros()
887 check(memcmp(lwsync_fixup_test, in test_lwsync_macros()
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/netdevsim/
A Dethtool-fec.sh18 check $?
26 check $?
34 check $?
42 check $?
50 check $?
56 check $?
63 check $? '' '' 1
66 check $? '' '' 1
72 check $?
80 check $?
[all …]
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.3-rc2/tools/testing/selftests/powerpc/switch_endian/
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 …]
A DMakefile6 EXTRA_CLEAN = $(OUTPUT)/*.o $(OUTPUT)/check-reversed.S
12 $(OUTPUT)/switch_endian_test: $(OUTPUT)/check-reversed.S
14 $(OUTPUT)/check-reversed.o: $(OUTPUT)/check.o
17 $(OUTPUT)/check-reversed.S: $(OUTPUT)/check-reversed.o
/linux-6.3-rc2/drivers/firmware/efi/
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.3-rc2/tools/testing/selftests/net/mptcp/
A Dpm_netlink.sh49 check() function
72 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
80 check "ip netns exec $ns1 ./pm_nl_ctl dump" \
87 check "ip netns exec $ns1 ./pm_nl_ctl dump" \
120 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
124 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
128 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 8
170 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
173 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
176 check "ip netns exec $ns1 ./pm_nl_ctl dump" "id 1 flags \
[all …]
/linux-6.3-rc2/include/net/
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.3-rc2/tools/perf/
A Dcheck-headers.sh113 check () { function
138 check $i -B
142 check $i '-I "^.*\/\*.*__ignore_sync_check__.*\*\/.*$"'
148 check arch/x86/include/asm/amd-ibs.h '-I "^#include [<\"]\(asm/\)*msr-index.h"'
149 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
150 check include/uapi/asm-generic/mman.h '-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.…
151 check include/uapi/linux/mman.h '-I "^#include <\(uapi/\)*asm/mman.h>"'
152 check include/linux/build_bug.h '-I "^#\(ifndef\|endif\)\( \/\/\)* static_assert$"'
153 check include/linux/ctype.h '-I "isdigit("'
154 check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B'
[all …]
/linux-6.3-rc2/net/ipv4/
A Dudp_offload.c139 uh->check = gso_make_checksum(skb, ~uh->check); in __skb_udp_tunnel_segment()
204 if (uh->check) { in __udpv4_gso_segment_csum()
273 __sum16 check; in __udp_gso_segment() local
314 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
327 uh->check = check; in __udp_gso_segment()
332 uh->check = gso_make_checksum(seg, ~check) ? : in __udp_gso_segment()
342 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
345 uh->check = check; in __udp_gso_segment()
406 uh->check = 0; in udp4_ufo_fragment()
584 (!uh->check ^ !uh2->check)) { in udp_gro_receive()
[all …]
A Dtcp_offload.c47 th->check = 0; in tcp4_gso_segment()
122 newcheck = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment()
127 th->check = newcheck; in tcp_gso_segment()
130 gso_reset_checksum(skb, ~th->check); in tcp_gso_segment()
132 th->check = gso_make_checksum(skb, ~th->check); in tcp_gso_segment()
171 th->check = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment()
174 gso_reset_checksum(skb, ~th->check); in tcp_gso_segment()
176 th->check = gso_make_checksum(skb, ~th->check); in tcp_gso_segment()
304 skb->csum_offset = offsetof(struct tcphdr, check); in tcp_gro_complete()
338 th->check = ~tcp_v4_check(skb->len - thoff, iph->saddr, in tcp4_gro_complete()
/linux-6.3-rc2/net/netfilter/ipvs/
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.3-rc2/arch/x86/pci/
A Dpcbios.c291 union bios32 *check; in pci_find_bios() local
301 for (check = (union bios32 *) __va(0xe0000); in pci_find_bios()
302 check <= (union bios32 *) __va(0xffff0); in pci_find_bios()
303 ++check) { in pci_find_bios()
308 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
310 length = check->fields.length * 16; in pci_find_bios()
315 sum += check->chars[i]; in pci_find_bios()
318 if (check->fields.revision != 0) { in pci_find_bios()
320 check->fields.revision, check); in pci_find_bios()
324 if (check->fields.entry >= 0x100000) { in pci_find_bios()
[all …]
/linux-6.3-rc2/drivers/pnp/pnpbios/
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.3-rc2/drivers/md/bcache/
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 …]
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
A Dtables_nphy.c3276 #undef check in assert_ntab_array_sizes()
3282 check(bdi, BDI); in assert_ntab_array_sizes()
3291 check(iqlt0, C0_IQLT); in assert_ntab_array_sizes()
3292 check(iqlt1, C1_IQLT); in assert_ntab_array_sizes()
3295 check(mcs, MCS); in assert_ntab_array_sizes()
3298 check(pilot, PILOT); in assert_ntab_array_sizes()
3299 check(pilotlt, PILOTLT); in assert_ntab_array_sizes()
3300 check(tdi20a0, TDI20A0); in assert_ntab_array_sizes()
3304 check(tdtrn, TDTRN); in assert_ntab_array_sizes()
3305 check(tmap, TMAP); in assert_ntab_array_sizes()
[all …]
/linux-6.3-rc2/tools/perf/tests/
A Dmem.c10 static int check(union perf_mem_data_src data_src, in check() function
36 ret |= check(src, "N/AL4 hit"); in test__mem()
40 ret |= check(src, "N/ARemote L4 hit"); in test__mem()
46 ret |= check(src, "N/APMEM miss"); in test__mem()
50 ret |= check(src, "N/ARemote PMEM miss"); in test__mem()
55 ret |= check(src , "FwdRemote RAM miss"); in test__mem()
A Dparse-events.c1804 .check = test__group1,
1809 .check = test__group2,
1815 .check = test__group3,
1821 .check = test__group4,
1826 .check = test__group5,
1838 .check = test__group_gh1,
1843 .check = test__group_gh2,
1848 .check = test__group_gh3,
1937 .check = test__intel_pt,
2086 ret = e->check(evlist); in test_event()
[all …]
/linux-6.3-rc2/scripts/dtc/
A Dchecks.c27 struct check;
31 struct check { struct
39 struct check **prereq; argument
44 static struct check nm_ = { \
168 struct check *prq = c->prereq[i]; in run_check()
1514 static void check_gpios_property(struct check *c, in check_gpios_property()
1596 static void check_interrupt_map(struct check *c, in check_interrupt_map()
1896 static struct check *check_table[] = {
2008 struct check *cc = check_table[i]; in disable_warning_error()
2034 struct check *c = check_table[i]; in parse_checks_option()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dip6_checksum.c91 err = (__force int)skb_checksum_init_zero_check(skb, proto, uh->check, in udp6_csum_init()
122 uh->check = 0; in udp6_set_csum()
124 uh->check = ~udp_v6_check(len, saddr, daddr, 0); in udp6_set_csum()
126 uh->check = 0; in udp6_set_csum()
127 uh->check = udp_v6_check(len, saddr, daddr, lco_csum(skb)); in udp6_set_csum()
128 if (uh->check == 0) in udp6_set_csum()
129 uh->check = CSUM_MANGLED_0; in udp6_set_csum()
133 skb->csum_offset = offsetof(struct udphdr, check); in udp6_set_csum()
134 uh->check = ~udp_v6_check(len, saddr, daddr, 0); in udp6_set_csum()
/linux-6.3-rc2/security/apparmor/
A Dmatch.c445 u16 *check = CHECK_TABLE(dfa); in aa_dfa_match_len() local
484 u16 *check = CHECK_TABLE(dfa); in aa_dfa_match() local
522 u16 *check = CHECK_TABLE(dfa); in aa_dfa_next() local
540 u16 *check = CHECK_TABLE(dfa); in aa_dfa_outofband_transition() local
571 u16 *check = CHECK_TABLE(dfa); in aa_dfa_match_until() local
585 if (check[pos] == state) in aa_dfa_match_until()
596 if (check[pos] == state) in aa_dfa_match_until()
647 if (check[pos] == state) in aa_dfa_matchn_until()
658 if (check[pos] == state) in aa_dfa_matchn_until()
730 if (check[pos] == state) in leftmatch_fb()
[all …]
/linux-6.3-rc2/arch/mips/tools/
A DMakefile7 hostprogs += loongson3-llsc-check
8 PHONY += loongson3-llsc-check
9 loongson3-llsc-check: $(obj)/loongson3-llsc-check
/linux-6.3-rc2/Documentation/x86/x86_64/
A Dmachinecheck.rst4 Configurable sysfs parameters for the x86-64 machine check code
8 by the CPU. Uncorrected errors typically cause a machine check
9 (often with panic), corrected ones cause a machine check log entry.
17 When you see the "Machine check errors logged" message in the system
18 log then mcelog should run to collect and decode machine check entries
29 For more details about the x86 machine check architecture
/linux-6.3-rc2/arch/ia64/scripts/
A Dtoolchain-flags17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
31 $CC -c $dir/check-text-align.S -o $out
39 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib
47 $CC -c $dir/check-serialize.S -o $out 2>/dev/null

Completed in 55 milliseconds

12345678910>>...49