/openbmc/qemu/block/ |
H A D | qed-check.c | 44 static bool qed_set_used_clusters(QEDCheck *check, uint64_t offset, in qed_set_used_clusters() argument 47 uint64_t cluster = qed_bytes_to_clusters(check->s, offset); in qed_set_used_clusters() 52 if (qed_test_bit(check->used_clusters, cluster)) { in qed_set_used_clusters() 56 qed_set_bit(check->used_clusters, cluster); in qed_set_used_clusters() 60 check->result->corruptions += corruptions; in qed_set_used_clusters() 69 static unsigned int qed_check_l2_table(QEDCheck *check, QEDTable *table) in qed_check_l2_table() argument 71 BDRVQEDState *s = check->s; in qed_check_l2_table() 82 check->result->bfi.allocated_clusters++; in qed_check_l2_table() 84 check->result->bfi.fragmented_clusters++; in qed_check_l2_table() 90 if (check->fix) { in qed_check_l2_table() [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | test-code-patching.c | 25 #define check(x) do { \ macro 39 check(instr_is_branch_iform(ppc_inst(0x48000000))); in test_branch_iform() 41 check(instr_is_branch_iform(ppc_inst(0x4bffffff))); in test_branch_iform() 43 check(!instr_is_branch_iform(ppc_inst(0xcbffffff))); in test_branch_iform() 45 check(!instr_is_branch_iform(ppc_inst(0x7bffffff))); in test_branch_iform() 48 check(instr_is_branch_iform(ppc_inst(0x48000001))); in test_branch_iform() 50 check(instr_is_branch_iform(ppc_inst(0x4bfffffd))); in test_branch_iform() 52 check(instr_is_branch_iform(ppc_inst(0x4bff00fd))); in test_branch_iform() 54 check(!instr_is_branch_iform(ppc_inst(0x7bfffffd))); in test_branch_iform() 58 check(instr_is_branch_to_addr(iptr, 0x100)); in test_branch_iform() [all …]
|
H A D | feature-fixups.c | 701 #define check(x) \ macro 731 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 735 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 739 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 743 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 745 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 764 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 768 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 772 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() 776 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() [all …]
|
/openbmc/linux/tools/testing/selftests/user_events/ |
H A D | abi_test.c | 93 int check; in FIXTURE() local 102 self->check = 0; in FIXTURE_SETUP() 112 ASSERT_EQ(0, self->check); in TEST_F() 113 ASSERT_EQ(0, reg_enable(&self->check, sizeof(int), 0)); in TEST_F() 115 ASSERT_EQ(1, self->check); in TEST_F() 117 ASSERT_EQ(0, self->check); in TEST_F() 121 ASSERT_EQ(1, self->check); in TEST_F() 122 ASSERT_EQ(0, reg_disable(&self->check, 0)); in TEST_F() 123 ASSERT_EQ(0, self->check); in TEST_F() 127 ASSERT_EQ(0, self->check); in TEST_F() [all …]
|
H A D | dyn_test.c | 40 static int reg_event(int fd, int *check, int bit, const char *value) in reg_event() argument 47 reg.enable_addr = (__u64)check; in reg_event() 48 reg.enable_size = sizeof(*check); in reg_event() 56 static int unreg_event(int fd, int *check, int bit) in unreg_event() argument 62 unreg.disable_addr = (__u64)check; in unreg_event() 67 static int parse(int *check, const char *value) in parse() argument 81 ret = reg_event(fd, check, 31, value + 2); in parse() 84 if (unreg_event(fd, check, 31) == -1) in parse() 93 static int check_match(int *check, const char *first, const char *second, bool *match) in check_match() argument 101 if (reg_event(fd, check, 31, first) == -1) in check_match() [all …]
|
H A D | ftrace_test.c | 123 static int clear(int *check) in clear() argument 130 unreg.disable_addr = (__u64)check; in clear() 158 static int check_print_fmt(const char *event, const char *expected, int *check) in check_print_fmt() argument 166 ret = clear(check); in check_print_fmt() 179 reg.enable_addr = (__u64)check; in check_print_fmt() 180 reg.enable_size = sizeof(*check); in check_print_fmt() 206 int check; in FIXTURE() local 233 if (clear(&self->check) != 0) in FIXTURE_TEARDOWN() 244 reg.enable_addr = (__u64)&self->check; in TEST_F() 245 reg.enable_size = sizeof(self->check); in TEST_F() [all …]
|
H A D | perf_test.c | 85 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() 174 ASSERT_EQ(1 << reg.enable_bit, self->check); in TEST_F() 195 ASSERT_EQ(0, self->check); in TEST_F() 209 reg.enable_addr = (__u64)&self->check; in TEST_F() [all …]
|
/openbmc/phosphor-webui/app/access-control/directives/ |
H A D | role-table.js | 20 const check = 37 'Configure components managed by this service', check, '', '', 41 {uiData: ['Configure manager resources', check, '', '', '']}, 44 'Update password for current user account', check, '', '', '' 47 {uiData: ['Configure users and their accounts', check, '', '', '']}, 50 'Log in to the service and read resources', check, check, check, 54 {uiData: ['IPMI access point', check, check, check, '']}, 55 {uiData: ['Redfish access point', check, check, check, '']}, 56 {uiData: ['SSH access point', check, '', '', '']}, 57 {uiData: ['WebUI access point', check, check, check, '']},
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-fec.sh | 13 check $? "$s" "Configured FEC encodings: None 18 check $? 20 check $? "$s" "Configured FEC encodings: Auto 26 check $? 28 check $? "$s" "Configured FEC encodings: Off 34 check $? 36 check $? "$s" "Configured FEC encodings: BaseR 42 check $? 44 check $? "$s" "Configured FEC encodings: ${o^^} 50 check $? [all …]
|
H A D | ethtool-pause.sh | 20 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"
|
/openbmc/linux/tools/testing/selftests/powerpc/switch_endian/ |
H A D | check.S | 14 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 …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | cper-x86.c | 48 #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 153 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument 155 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool() 158 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument [all …]
|
/openbmc/qemu/tests/ |
H A D | Makefile.include | 3 .PHONY: check-help 4 check-help: 17 ifneq ($(filter $(all-check-targets), check-softfloat),) 77 .PHONY: check-tcg 78 .ninja-goals.check-tcg = all test-plugins 79 check-tcg: $(RUN_TCG_TARGET_RULES) 89 .PHONY: check-venv check-avocado check-acceptance check-acceptance-deprecated-warning 111 $(PYTHON) -m pip -q --disable-pip-version-check $1, \ 123 check-venv: $(TESTS_VENV_TOKEN) 131 get-vm-image-fedora-31-%: check-venv [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_netlink.sh | 53 check() function 78 check "ip netns exec $ns1 ./pm_nl_ctl dump" "" "defaults addr list" 82 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0 89 check "ip netns exec $ns1 ./pm_nl_ctl get 1" "id 1 flags 10.0.1.1" "simple add/get addr" 91 check "ip netns exec $ns1 ./pm_nl_ctl dump" \ 97 check "ip netns exec $ns1 ./pm_nl_ctl get 2" "" "simple del addr" 98 check "ip netns exec $ns1 ./pm_nl_ctl dump" \ 103 check "ip netns exec $ns1 ./pm_nl_ctl get 4" "" "duplicate addr" 106 check "ip netns exec $ns1 ./pm_nl_ctl get 4" "id 4 flags signal 10.0.1.4" "id addr increment" 111 check "ip netns exec $ns1 ./pm_nl_ctl get 9" "id 9 flags signal 10.0.1.9" "hard addr limit" [all …]
|
/openbmc/qemu/python/ |
H A D | Makefile | 52 .PHONY: pipenv check-pipenv 53 pipenv check-pipenv: 57 PIP_INSTALL = pip install --disable-pip-version-check 75 .PHONY: check-minreqs 76 check-minreqs: min-venv 80 make check; \ 96 .PHONY: check-dev 97 check-dev: dev-venv 101 make check; \ 108 .PHONY: check [all …]
|
/openbmc/linux/include/net/ |
H A D | dsfield.h | 31 __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()
|
/openbmc/linux/tools/perf/ |
H A D | check-headers.sh | 122 check () { function 152 check "$i" -B 157 check "$i" '-I "^.*\/\*.*__ignore_sync_check__.*\*\/.*$"' 161 check arch/x86/lib/memcpy_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU… 162 check arch/x86/lib/memset_64.S '-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FU… 163 check arch/x86/include/asm/amd-ibs.h '-I "^#include [<\"]\(asm/\)*msr-index.h"' 164 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"' 165 check include/uapi/asm-generic/mman.h '-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.… 166 check include/uapi/linux/mman.h '-I "^#include <\(uapi/\)*asm/mman.h>"' 167 check include/linux/build_bug.h '-I "^#\(ifndef\|endif\)\( \/\/\)* static_assert$"' [all …]
|
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/ |
H A D | 0004-tests-add-helper-script-to-run-the-installed_tests.patch | 14 tests/check/meson.build | 17 +++++++++++++++++ 15 tests/check/template.sh.in | 9 +++++++++ 16 tests/check/template.test.in | 2 +- 18 create mode 100755 tests/check/template.sh.in 20 diff --git a/tests/check/meson.build b/tests/check/meson.build 22 --- a/tests/check/meson.build 23 +++ b/tests/check/meson.build 48 diff --git a/tests/check/template.sh.in b/tests/check/template.sh.in 52 +++ b/tests/check/template.sh.in 63 diff --git a/tests/check/template.test.in b/tests/check/template.test.in [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | udp_offload.c | 46 partial = csum_sub(csum_unfold(uh->check), partial); in __skb_udp_tunnel_segment() 136 uh->check = ~csum_fold(csum_add(partial, in __skb_udp_tunnel_segment() 140 uh->check = gso_make_checksum(skb, ~uh->check); in __skb_udp_tunnel_segment() 141 if (uh->check == 0) in __skb_udp_tunnel_segment() 142 uh->check = CSUM_MANGLED_0; in __skb_udp_tunnel_segment() 146 skb->csum_offset = offsetof(struct udphdr, check); in __skb_udp_tunnel_segment() 205 if (uh->check) { in __udpv4_gso_segment_csum() 206 inet_proto_csum_replace4(&uh->check, seg, *oldip, *newip, in __udpv4_gso_segment_csum() 208 inet_proto_csum_replace2(&uh->check, seg, *oldport, *newport, in __udpv4_gso_segment_csum() 210 if (!uh->check) in __udpv4_gso_segment_csum() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/automake/automake/ |
H A D | 0004-Add-a-new-distro-feature-ptest.patch | 9 Split "check-TESTS" into a buildtest and runtest target, so that they can 15 lib/am/check.am | 11 +++++++++-- 18 diff --git a/lib/am/check.am b/lib/am/check.am 20 --- a/lib/am/check.am 21 +++ b/lib/am/check.am 26 -.PHONY: check-TESTS 27 +.PHONY: check-TESTS buildtest-TESTS runtest-TESTS 35 -check-TESTS: $(TESTS) 40 +check-TESTS: buildtest-TESTS
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_proto_udp.c | 100 uhdr->check = in udp_fast_csum_update() 103 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 106 uhdr->check = in udp_fast_csum_update() 109 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 110 if (!uhdr->check) in udp_fast_csum_update() 111 uhdr->check = CSUM_MANGLED_0; in udp_fast_csum_update() 122 uhdr->check = in udp_partial_csum_update() 125 csum_unfold(uhdr->check)))); in udp_partial_csum_update() 128 uhdr->check = in udp_partial_csum_update() 131 csum_unfold(uhdr->check)))); in udp_partial_csum_update() [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | pcbios.c | 291 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() 305 if (get_kernel_nofault(sig, &check->fields.signature)) 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() [all …]
|
/openbmc/linux/drivers/pnp/pnpbios/ |
H A D | core.c | 425 union pnp_bios_install_struct *check; in pnpbios_probe_system() local 436 for (check = (union pnp_bios_install_struct *)__va(0xf0000); in pnpbios_probe_system() 437 check < (union pnp_bios_install_struct *)__va(0xffff0); in pnpbios_probe_system() 438 check = (void *)check + 16) { in pnpbios_probe_system() 439 if (check->fields.signature != PNP_SIGNATURE) 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() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | parse-events.c | 1776 int (*check)(struct evlist *evlist); member 1783 .check = test__checkevent_tracepoint, 1788 .check = test__checkevent_tracepoint_multi, 1794 .check = test__checkevent_raw, 1799 .check = test__checkevent_numeric, 1804 .check = test__checkevent_symbolic_name, 1809 .check = test__checkevent_symbolic_name_config, 1814 .check = test__checkevent_symbolic_alias, 1819 .check = test__checkevent_genhw, 1824 .check = test__checkevent_breakpoint, [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | debug.c | 111 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() 120 check->bi_iter.bi_sector = bio->bi_iter.bi_sector; in bch_data_verify() 121 check->bi_iter.bi_size = bio->bi_iter.bi_size; 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() [all …]
|