/Linux-v5.4/arch/powerpc/lib/ |
D | feature-fixups.c | 500 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 504 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 508 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 512 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 514 check(memcmp(ftr_fixup_test1, ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 533 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 537 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 541 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() 545 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 547 check(memcmp(ftr_fixup_test2, ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() [all …]
|
/Linux-v5.4/drivers/media/platform/coda/ |
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-v5.4/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-v5.4/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 | 312 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 314 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 318 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 325 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 339 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 392 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in ap2sta_data_frame() 396 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in ap2sta_data_frame() 401 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in ap2sta_data_frame() 440 if (memcmp(pattrib->bssid, mybssid, ETH_ALEN)) in sta2ap_data_frame() 608 if ((!memcmp(psnap, (void *)rfc1042_header, SNAP_SIZE) && in r8712_wlanhdr_to_ethhdr() [all …]
|
/Linux-v5.4/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-v5.4/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-v5.4/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 149 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 150 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 151 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 152 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 153 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 156 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs() 157 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs() 158 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs() 182 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in HTIOTPeerDetermine() 183 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in HTIOTPeerDetermine() [all …]
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | tls.c | 99 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 199 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 213 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 225 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 239 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 268 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 322 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 376 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() 394 EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); in TEST_F() 410 EXPECT_EQ(memcmp(test_str, buf, send_len2), 0); in TEST_F() [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/b43legacy/ |
D | sysfs.c | 46 if (count >= 4 && memcmp(buf, "true", 4) == 0) in get_boolean() 48 if (count >= 5 && memcmp(buf, "false", 5) == 0) in get_boolean() 50 if (count >= 3 && memcmp(buf, "yes", 3) == 0) in get_boolean() 52 if (count >= 2 && memcmp(buf, "no", 2) == 0) in get_boolean() 54 if (count >= 2 && memcmp(buf, "on", 2) == 0) in get_boolean() 56 if (count >= 3 && memcmp(buf, "off", 3) == 0) in get_boolean()
|
/Linux-v5.4/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-v5.4/arch/sparc/lib/ |
D | memcmp.S | 13 ENTRY(memcmp) 29 ENDPROC(memcmp) 30 EXPORT_SYMBOL(memcmp)
|
/Linux-v5.4/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-v5.4/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 114 !memcmp(jited_insns, zeros, sizeof(zeros))) || in test_bpf_obj_id() 116 !memcmp(xlated_insns, zeros, sizeof(zeros)) || in test_bpf_obj_id() 130 !!memcmp(jited_insns, zeros, sizeof(zeros)), in test_bpf_obj_id() 131 !!memcmp(xlated_insns, zeros, sizeof(zeros)), in test_bpf_obj_id() 188 memcmp(&prog_info, &prog_infos[i], info_len) || in test_bpf_obj_id() 193 memcmp(&prog_info, &prog_infos[i], info_len), in test_bpf_obj_id() 235 memcmp(&map_info, &map_infos[i], info_len) || in test_bpf_obj_id() 240 memcmp(&map_info, &map_infos[i], info_len), in test_bpf_obj_id()
|
/Linux-v5.4/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 15 $(OUTPUT)/memcmp_32: memcmp.c
|
/Linux-v5.4/arch/x86/boot/ |
D | string.h | 8 #undef memcmp 12 int memcmp(const void *s1, const void *s2, size_t len); 20 #define memcmp __builtin_memcmp macro
|
/Linux-v5.4/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 287 if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type))) in rtw_get_wpa_ie() 320 if (!memcmp(s, WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 322 if (!memcmp(s, WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 324 if (!memcmp(s, WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 326 if (!memcmp(s, WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 328 if (!memcmp(s, WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 336 if (!memcmp(s, RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 338 if (!memcmp(s, RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 340 if (!memcmp(s, RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 342 if (!memcmp(s, RSN_CIPHER_SUITE_CCMP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() [all …]
|
/Linux-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 198 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 392 if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type))) { in rtw_get_wpa_ie() 434 if (!memcmp(s, WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 436 if (!memcmp(s, WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 438 if (!memcmp(s, WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 440 if (!memcmp(s, WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 442 if (!memcmp(s, WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 450 if (!memcmp(s, RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 452 if (!memcmp(s, RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 454 if (!memcmp(s, RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() [all …]
|
/Linux-v5.4/drivers/nfc/nfcmrvl/ |
D | fw_dnld.c | 146 memcmp(skb->data, nci_pattern_core_reset_ntf, in process_state_reset() 164 memcmp(skb->data, nci_pattern_core_init_rsp, in process_state_init() 194 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_ref_clock() 238 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_hi_config() 249 memcmp(skb->data, nci_pattern_core_conn_create_rsp, in process_state_open_lc() 311 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() 349 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 364 memcmp(skb->data, nci_pattern_core_conn_close_rsp, skb->len)) in process_state_close_lc() 375 memcmp(skb->data, nci_pattern_proprietary_boot_rsp, skb->len)) in process_state_boot()
|
/Linux-v5.4/samples/bpf/ |
D | bpf_load.c | 636 if (memcmp(shname, "kprobe/", 7) == 0 || in do_load_bpf_file() 637 memcmp(shname, "kretprobe/", 10) == 0 || in do_load_bpf_file() 638 memcmp(shname, "tracepoint/", 11) == 0 || in do_load_bpf_file() 639 memcmp(shname, "raw_tracepoint/", 15) == 0 || in do_load_bpf_file() 640 memcmp(shname, "xdp", 3) == 0 || in do_load_bpf_file() 641 memcmp(shname, "perf_event", 10) == 0 || in do_load_bpf_file() 642 memcmp(shname, "socket", 6) == 0 || in do_load_bpf_file() 643 memcmp(shname, "cgroup/", 7) == 0 || in do_load_bpf_file() 644 memcmp(shname, "sockops", 7) == 0 || in do_load_bpf_file() 645 memcmp(shname, "sk_skb", 6) == 0 || in do_load_bpf_file() [all …]
|
/Linux-v5.4/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 131 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map() 200 if (memcmp(name, "_ovly_table", 12) == 0) in create_vma_map() 202 if (memcmp(name, "_ovly_buf_table", 16) == 0) in create_vma_map() 204 if (memcmp(name, "_ovly_table_end", 16) == 0) in create_vma_map() 206 if (memcmp(name, "_ovly_buf_table_end", 20) == 0) in create_vma_map()
|
/Linux-v5.4/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 103 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 128 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 160 if (memcmp(buf, split3, strlen(split3))) { in test_btrfs_split_item() 184 if (memcmp(buf, split4, strlen(split4))) { in test_btrfs_split_item() 208 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item()
|
/Linux-v5.4/include/linux/ |
D | uuid.h | 38 return memcmp(u1, u2, sizeof(guid_t)) == 0; in guid_equal() 53 return memcmp(u1, u2, sizeof(uuid_t)) == 0; in uuid_equal() 85 return memcmp(&u1, &u2, sizeof(guid_t)); in uuid_le_cmp()
|
/Linux-v5.4/tools/testing/selftests/powerpc/copyloops/ |
D | validate.c | 38 if (memcmp(dstp, srcp, len)) { in do_one() 50 if (memcmp(dst, redzone, dstp - dst)) { in do_one() 56 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one()
|