/linux-6.1.9/arch/powerpc/lib/ |
D | feature-fixups.c | 737 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 741 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() 749 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 751 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 770 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 774 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 778 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() 782 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 784 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() [all …]
|
/linux-6.1.9/drivers/media/platform/chips-media/ |
D | coda-mpeg2.c | 73 memcmp(buf, sequence_header_start, 4) != 0) in coda_mpeg2_parse_headers() 77 (size >= 25 && memcmp(buf + 22, u.start_code_prefix, 3) == 0)) && in coda_mpeg2_parse_headers() 78 memcmp(buf + 12, u.extension_start, 4) == 0) in coda_mpeg2_parse_headers() 82 (size > 89 && memcmp(buf + 86, u.start_code_prefix, 3) == 0)) && in coda_mpeg2_parse_headers() 83 memcmp(buf + 76, u.extension_start, 4) == 0) in coda_mpeg2_parse_headers()
|
D | coda-mpeg4.c | 70 memcmp(buf, vos_start, 4) != 0 || in coda_mpeg4_parse_headers() 71 memcmp(buf + 5, u.vo_start, 4) != 0) in coda_mpeg4_parse_headers() 75 (size >= 33 && memcmp(buf + 30, u.start_code_prefix, 3) == 0)) in coda_mpeg4_parse_headers() 79 (size >= 34 && memcmp(buf + 31, u.start_code_prefix, 3) == 0)) in coda_mpeg4_parse_headers() 83 (size >= 35 && memcmp(buf + 32, u.start_code_prefix, 3) == 0)) in coda_mpeg4_parse_headers()
|
/linux-6.1.9/drivers/acpi/ |
D | spcr.c | 32 if (memcmp(h->oem_id, "QCOM ", ACPI_OEM_ID_SIZE)) in qdf2400_erratum_44_present() 35 if (!memcmp(h->oem_table_id, "QDF2432 ", ACPI_OEM_TABLE_ID_SIZE)) in qdf2400_erratum_44_present() 38 if (!memcmp(h->oem_table_id, "QDF2400 ", ACPI_OEM_TABLE_ID_SIZE) && in qdf2400_erratum_44_present() 57 if (memcmp(tb->header.oem_id, "APMC0D", ACPI_OEM_ID_SIZE) && in xgene_8250_erratum_present() 58 memcmp(tb->header.oem_id, "HPE ", ACPI_OEM_ID_SIZE)) in xgene_8250_erratum_present() 61 if (!memcmp(tb->header.oem_table_id, "XGENESPC", in xgene_8250_erratum_present() 65 if (!memcmp(tb->header.oem_table_id, "ProLiant", in xgene_8250_erratum_present()
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | ieee80211.c | 218 if (memcmp((buf + 2), wpa_oui_type, in r8712_get_wpa_ie() 249 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 251 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 253 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 255 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 257 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 264 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 266 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 268 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 270 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_CCMP, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() [all …]
|
D | rtl871x_recv.c | 309 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 311 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 315 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 322 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 336 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 389 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in ap2sta_data_frame() 393 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in ap2sta_data_frame() 398 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in ap2sta_data_frame() 437 if (memcmp(pattrib->bssid, mybssid, ETH_ALEN)) in sta2ap_data_frame() 604 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_HTProc.c | 132 if (!memcmp(CapIE, EWC11NHTCap, sizeof(EWC11NHTCap))) { in HTDebugHTCapability() 167 if (!memcmp(InfoIE, EWC11NHTInfo, sizeof(EWC11NHTInfo))) { in HTDebugHTInfo() 274 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 275 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 276 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 277 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 278 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 281 else if ((memcmp(net->bssid, UNKNOWN_BORADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 282 (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) == 0) || in IsHTHalfNmodeAPs() 283 (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) == 0) || in IsHTHalfNmodeAPs() [all …]
|
/linux-6.1.9/block/partitions/ |
D | atari.c | 29 return memcmp (s, "GEM", 3) == 0 || memcmp (s, "BGM", 3) == 0 || in OK_id() 30 memcmp (s, "LNX", 3) == 0 || memcmp (s, "SWP", 3) == 0 || in OK_id() 31 memcmp (s, "RAW", 3) == 0 ; in OK_id() 82 if (memcmp (pi->id, "XGM", 3) != 0) { in atari_partition() 118 if (memcmp( xrs->part[1].id, "XGM", 3 ) != 0) { in atari_partition()
|
/linux-6.1.9/arch/x86/kernel/ |
D | static_call.c | 61 if (memcmp(insn, code, size) == 0) in __static_call_transform() 74 if (tramp && memcmp(insn+5, tramp_ud, 3)) { in __static_call_validate() 85 !memcmp(insn, x86_nops[5], 5) || in __static_call_validate() 86 !memcmp(insn, xor5rax, 5)) in __static_call_validate() 144 if (memcmp(tramp+5, tramp_ud, 3)) { in __static_call_fixup()
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 146 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 147 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 148 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 149 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 150 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 153 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs() 154 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs() 155 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs() 179 } else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in HTIOTPeerDetermine() 180 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in HTIOTPeerDetermine() [all …]
|
/linux-6.1.9/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 93 TEST_ASSERT(!memcmp(®s.gprs, regs_null, sizeof(regs.gprs)), "grs == 0"); in assert_clear() 96 TEST_ASSERT(!memcmp(&sregs.acrs, regs_null, sizeof(sregs.acrs)), "acrs == 0"); in assert_clear() 99 TEST_ASSERT(!memcmp(&fpu.fprs, regs_null, sizeof(fpu.fprs)), "fprs == 0"); in assert_clear() 102 TEST_ASSERT(!memcmp(sync_regs->gprs, regs_null, sizeof(sync_regs->gprs)), in assert_clear() 105 TEST_ASSERT(!memcmp(sync_regs->acrs, regs_null, sizeof(sync_regs->acrs)), in assert_clear() 108 TEST_ASSERT(!memcmp(sync_regs->vrs, regs_null, sizeof(sync_regs->vrs)), in assert_clear() 140 TEST_ASSERT(!memcmp(&sregs.crs[1], regs_null, sizeof(sregs.crs[1]) * 12), in assert_initial() 148 TEST_ASSERT(!memcmp(&sync_regs->crs[1], regs_null, 8 * 12), in assert_initial()
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/ |
D | sysfs.c | 48 if (count >= 4 && memcmp(buf, "true", 4) == 0) in get_boolean() 50 if (count >= 5 && memcmp(buf, "false", 5) == 0) in get_boolean() 52 if (count >= 3 && memcmp(buf, "yes", 3) == 0) in get_boolean() 54 if (count >= 2 && memcmp(buf, "no", 2) == 0) in get_boolean() 56 if (count >= 2 && memcmp(buf, "on", 2) == 0) in get_boolean() 58 if (count >= 3 && memcmp(buf, "off", 3) == 0) in get_boolean()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | tls.c | 225 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 366 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 440 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 452 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 466 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 495 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 523 EXPECT_EQ(memcmp(buf + SEND_LEN * i, in TEST_F() 582 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 636 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() 656 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() [all …]
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | tbfind.c | 67 if (memcmp(&(acpi_gbl_root_table_list.tables[i].signature), in acpi_tb_find_table() 95 if (!memcmp in acpi_tb_find_table() 99 !memcmp in acpi_tb_find_table() 106 || !memcmp(acpi_gbl_root_table_list.tables[i].pointer-> in acpi_tb_find_table()
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 285 if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type))) in rtw_get_wpa_ie() 318 if (!memcmp(s, WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 320 if (!memcmp(s, WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 322 if (!memcmp(s, WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 324 if (!memcmp(s, WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 326 if (!memcmp(s, WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 334 if (!memcmp(s, RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 336 if (!memcmp(s, RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 338 if (!memcmp(s, RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 340 if (!memcmp(s, RSN_CIPHER_SUITE_CCMP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 189 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 368 if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type))) in rtw_get_wpa_ie() 409 if (!memcmp(s, WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 411 if (!memcmp(s, WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 413 if (!memcmp(s, WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 415 if (!memcmp(s, WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 417 if (!memcmp(s, WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 425 if (!memcmp(s, RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 427 if (!memcmp(s, RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 429 if (!memcmp(s, RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() [all …]
|
/linux-6.1.9/arch/sparc/lib/ |
D | memcmp.S | 13 ENTRY(memcmp) 29 ENDPROC(memcmp) 30 EXPORT_SYMBOL(memcmp)
|
/linux-6.1.9/scripts/mod/ |
D | mk_elfconfig.c | 17 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main() 49 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main() 51 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | varlen.c | 46 CHECK(memcmp(bss->payload1, exp_str, size1 + size2), "content_check", in test_varlen() 52 CHECK(memcmp(data->payload2, exp_str, size1 + size2), "content_check", in test_varlen() 58 CHECK(memcmp(data->payload3, exp_str, size1 + size2), "content_check", in test_varlen() 64 CHECK(memcmp(data->payload4, exp_str, size1 + size2), "content_check", in test_varlen()
|
D | bpf_obj_id.c | 130 !memcmp(jited_insns, zeros, sizeof(zeros))) || in serial_test_bpf_obj_id() 132 !memcmp(xlated_insns, zeros, sizeof(zeros)) || in serial_test_bpf_obj_id() 150 !!memcmp(jited_insns, zeros, sizeof(zeros)), in serial_test_bpf_obj_id() 151 !!memcmp(xlated_insns, zeros, sizeof(zeros)), in serial_test_bpf_obj_id() 235 memcmp(&prog_info, &prog_infos[i], info_len) || in serial_test_bpf_obj_id() 240 memcmp(&prog_info, &prog_infos[i], info_len), in serial_test_bpf_obj_id() 282 memcmp(&map_info, &map_infos[i], info_len) || in serial_test_bpf_obj_id() 287 memcmp(&map_info, &map_infos[i], info_len), in serial_test_bpf_obj_id() 326 cmp_res = memcmp(&link_info, &link_infos[i], in serial_test_bpf_obj_id()
|
/linux-6.1.9/tools/testing/selftests/powerpc/stringloops/ |
D | Makefile | 7 build_32bit = $(shell if ($(CC) $(CFLAGS) -m32 -o /dev/null memcmp.c >/dev/null 2>&1) then echo "1"… 11 $(OUTPUT)/memcmp_64: memcmp.c ../utils.c 15 $(OUTPUT)/memcmp_32: memcmp.c
|
/linux-6.1.9/lib/crypto/ |
D | blake2s-selftest.c | 570 if (memcmp(hash, blake2s_testvecs[i], outlen)) { in blake2s_selftest() 585 if (memcmp(hash, blake2s_testvecs[i], outlen)) { in blake2s_selftest() 608 if (memcmp(&state1, &state2, sizeof(state1))) { in blake2s_selftest() 623 if (memcmp(&state1, &state2, sizeof(state1))) { in blake2s_selftest()
|
/linux-6.1.9/arch/x86/boot/ |
D | string.h | 8 #undef memcmp 13 int memcmp(const void *s1, const void *s2, size_t len); 19 #define memcmp __builtin_memcmp macro
|
/linux-6.1.9/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 100 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 124 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 155 if (memcmp(buf, split3, strlen(split3))) { in test_btrfs_split_item() 178 if (memcmp(buf, split4, strlen(split4))) { in test_btrfs_split_item() 201 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item()
|
/linux-6.1.9/drivers/nfc/nfcmrvl/ |
D | fw_dnld.c | 133 memcmp(skb->data, nci_pattern_core_reset_ntf, in process_state_reset() 152 memcmp(skb->data, nci_pattern_core_init_rsp, in process_state_init() 182 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_ref_clock() 226 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_hi_config() 237 memcmp(skb->data, nci_pattern_core_conn_create_rsp, in process_state_open_lc() 299 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 325 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 337 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 352 memcmp(skb->data, nci_pattern_core_conn_close_rsp, skb->len)) in process_state_close_lc() 364 memcmp(skb->data, nci_pattern_proprietary_boot_rsp, skb->len)) in process_state_boot()
|