| /linux/drivers/media/platform/chips-media/coda/ |
| H A 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()
|
| H A 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/drivers/acpi/ |
| H A 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/block/partitions/ |
| H A 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/arch/x86/kernel/ |
| H A D | static_call.c | 113 if (memcmp(insn, code, size) == 0) in __static_call_transform() 126 if (tramp && memcmp(insn+5, tramp_ud, 3)) { in __static_call_validate() 138 !memcmp(insn, x86_nops[5], 5) || in __static_call_validate() 139 !memcmp(insn, xor5rax, 5) || in __static_call_validate() 140 !memcmp(insn, warninsn, 5)) in __static_call_validate() 219 if (memcmp(tramp+5, tramp_ud, 3)) { in __static_call_fixup()
|
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_chacha.c | 105 if (memcmp(output1, output2, sizeof(output1))) in main() 107 if (memcmp(counter1, counter2, sizeof(counter1))) in main() 118 if (memcmp(output1, output2, sizeof(output1))) in main() 120 if (memcmp(counter1, counter2, sizeof(counter1))) in main() 125 if (memcmp(output1, output2, sizeof(output1))) in main() 127 if (memcmp(counter1, counter2, sizeof(counter1))) in main()
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A 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/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_ieee80211.c | 190 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex() 369 if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type))) in rtw_get_wpa_ie() 410 if (!memcmp(s, WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 412 if (!memcmp(s, WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 414 if (!memcmp(s, WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 416 if (!memcmp(s, WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 418 if (!memcmp(s, WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in rtw_get_wpa_cipher_suite() 426 if (!memcmp(s, RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 428 if (!memcmp(s, RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() 430 if (!memcmp(s, RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in rtw_get_wpa2_cipher_suite() [all …]
|
| H A D | rtw_wlan_util.c | 538 if (addr && memcmp(dvobj->cam_cache[i].mac, addr, ETH_ALEN)) in _rtw_camid_search() 695 if (!memcmp(&(pmlmeinfo->WMM_param), (pIE->data + 6), sizeof(struct WMM_para_element))) in WMM_param_handler() 1132 if (memcmp(cur_network->network.mac_address, pbssid, 6)) in rtw_check_bcn_info() 1210 if (memcmp(bssid->ssid.ssid, cur_network->network.ssid.ssid, 32) || in rtw_check_bcn_info() 1296 if (!memcmp(pIE->data, WMM_PARA_OUI, 6) && pIE->length == WLAN_WMM_LEN) /* WMM */ in update_beacon_info() 1334 if ((!memcmp(pIE->data, RTW_WPA_OUI, 4)) && (!memcmp((pIE->data + 12), WPA_TKIP_CIPHER, 4))) in is_ap_in_tkip() 1340 if (!memcmp((pIE->data + 8), RSN_TKIP_CIPHER, 4)) in is_ap_in_tkip() 1437 if ((!memcmp(pIE->data, ARTHEROS_OUI1, 3)) || (!memcmp(pIE->data, ARTHEROS_OUI2, 3))) in check_assoc_AP() 1439 else if ((!memcmp(pIE->data, BROADCOM_OUI1, 3)) || in check_assoc_AP() 1440 (!memcmp(pIE->data, BROADCOM_OUI2, 3)) || in check_assoc_AP() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | tls.c | 255 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 461 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F() 538 EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); in TEST_F() 550 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 564 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 619 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 638 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F() 666 EXPECT_EQ(memcmp(buf + SEND_LEN * i, in TEST_F() 725 EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, in TEST_F() 779 EXPECT_EQ(memcmp(mem_sen in TEST_F() [all...] |
| /linux/drivers/acpi/acpica/ |
| H A 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/arch/sparc/lib/ |
| H A D | memcmp.S | 13 ENTRY(memcmp) 29 ENDPROC(memcmp) 30 EXPORT_SYMBOL(memcmp)
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A 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()
|
| H A D | sockmap_strp.c | 40 !ASSERT_OK(memcmp(packet, rcv, STRP_PKT_FULL_LEN), in sockmap_strp_consume_pre_data() 149 if (!ASSERT_OK(memcmp(send_dir[i].data, rcv, recvd), in test_sockmap_strp_dispatch_pkt() 214 if (!ASSERT_OK(memcmp(snd, rcv, total), "data mismatch")) in test_sockmap_strp_multiple_pkt() 336 !ASSERT_OK(memcmp(packet, rcv, pkt_size), in test_sockmap_strp_pass() 354 !ASSERT_OK(memcmp(packet, rcv, pkt_size), in test_sockmap_strp_pass() 404 !ASSERT_OK(memcmp(packet, rcv, STRP_PKT_FULL_LEN), in test_sockmap_strp_verdict() 421 !ASSERT_OK(memcmp(packet, rcv, STRP_PKT_FULL_LEN), in test_sockmap_strp_verdict()
|
| H A D | bpf_obj_id.c | 124 !ASSERT_FALSE((env.jit_enabled && !memcmp(jited_insns, zeros, sizeof(zeros))), in serial_test_bpf_obj_id() 127 !ASSERT_NEQ(memcmp(xlated_insns, zeros, sizeof(zeros)), 0, "xlated_insns") || in serial_test_bpf_obj_id() 195 cmp_res = memcmp(&prog_info, &prog_infos[i], info_len); in serial_test_bpf_obj_id() 235 cmp_res = memcmp(&map_info, &map_infos[i], info_len); in serial_test_bpf_obj_id() 272 cmp_res = memcmp(&link_info, &link_infos[i], in serial_test_bpf_obj_id()
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | Makefile | 4 build_32bit = $(shell if ($(CC) $(CFLAGS) -m32 -o /dev/null memcmp.c >/dev/null 2>&1) then echo "1"… 8 $(OUTPUT)/memcmp_64: memcmp.c ../utils.c 12 $(OUTPUT)/memcmp_32: memcmp.c
|
| /linux/drivers/nfc/nfcmrvl/ |
| H A D | fw_dnld.c | 134 memcmp(skb->data, nci_pattern_core_reset_ntf, in process_state_reset() 153 memcmp(skb->data, nci_pattern_core_init_rsp, in process_state_init() 183 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_ref_clock() 227 memcmp(skb->data, nci_pattern_core_set_config_rsp, skb->len)) in process_state_set_hi_config() 238 memcmp(skb->data, nci_pattern_core_conn_create_rsp, in process_state_open_lc() 300 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 326 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 338 memcmp(nci_pattern_core_conn_credits_ntf, skb->data, in process_state_fw_dnld() 353 memcmp(skb->data, nci_pattern_core_conn_close_rsp, skb->len)) in process_state_close_lc() 365 memcmp(skb->data, nci_pattern_proprietary_boot_rsp, skb->len)) in process_state_boot()
|
| /linux/fs/btrfs/tests/ |
| H A D | extent-buffer-tests.c | 105 if (memcmp(buf, split1, strlen(split1))) { in test_btrfs_split_item() 129 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item() 160 if (memcmp(buf, split3, strlen(split3))) { in test_btrfs_split_item() 183 if (memcmp(buf, split4, strlen(split4))) { in test_btrfs_split_item() 206 if (memcmp(buf, split2, strlen(split2))) { in test_btrfs_split_item()
|
| /linux/tools/testing/selftests/nci/ |
| H A D | nci_dev.c | 334 if (memcmp(nci_reset_cmd, buf, len)) in virtual_dev_open() 343 if (memcmp(nci_init_cmd, buf, len)) in virtual_dev_open() 352 if (memcmp(nci_rf_disc_map_cmd, buf, len)) in virtual_dev_open() 374 if (memcmp(nci_reset_cmd, buf, len)) in virtual_dev_open_v2() 384 if (memcmp(nci_init_cmd_v2, buf, len)) in virtual_dev_open_v2() 393 if (memcmp(nci_rf_disc_map_cmd, buf, len)) in virtual_dev_open_v2() 465 if (memcmp(nci_reset_cmd, buf, len)) in virtual_deinit() 487 if (memcmp(nci_reset_cmd, buf, len)) in virtual_deinit_v2() 550 if (memcmp(nci_rf_discovery_cmd, buf, len)) in virtual_poll_start() 572 if (memcmp(nci_rf_deact_cmd, buf, len)) in virtual_poll_stop() [all …]
|
| /linux/tools/testing/crypto/chacha20-s390/ |
| H A D | test-cipher.c | 286 if (memcmp(plain, revert, data_size)) { in chacha_s390_test_init() 301 if (memcmp(plain, revert, data_size)) { in chacha_s390_test_init() 309 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init() 323 if (memcmp(plain, revert, data_size)) { in chacha_s390_test_init() 331 if (memcmp(cipher_generic, cipher_s390, data_size)) { in chacha_s390_test_init()
|
| /linux/tools/testing/selftests/powerpc/copyloops/ |
| H A 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()
|
| /linux/drivers/scsi/isci/ |
| H A D | probe_roms.c | 67 if (memcmp(oem_sig, ISCI_OEM_SIG, ISCI_OEM_SIG_SIZE) == 0) { in isci_request_oprom() 95 if (memcmp(rom->hdr.signature, in isci_request_oprom() 205 if (memcmp(oem_hdr->sig, ISCI_OEM_SIG, ISCI_OEM_SIG_SIZE) != 0) { in isci_get_efi_var() 222 if (memcmp(rom->hdr.signature, in isci_get_efi_var()
|
| /linux/arch/x86/boot/ |
| H A D | string.c | 30 #undef memcmp 32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() function 45 return memcmp(s1, s2, len); in bcmp() 173 if (!memcmp(s1, s2, l2)) in strstr()
|
| /linux/tools/perf/tests/ |
| H A D | sample-parsing.c | 28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \ 109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 137 memcmp(s1_regs->regs, s2_regs->regs, sz))) { in samples_same() 145 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same() 176 memcmp(s1_regs->regs, s2_regs->regs, sz))) { in samples_same() 196 if (memcmp(s1->aux_sample.data, s2->aux_sample.data, in samples_same()
|
| /linux/arch/m68k/include/asm/ |
| H A D | string.h | 44 extern int memcmp(const void *, const void *, __kernel_size_t); 45 #define memcmp(d, s, n) __builtin_memcmp(d, s, n) macro
|