/linux-3.4.99/arch/powerpc/lib/ |
D | feature-fixups.c | 181 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 185 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 189 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 193 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_orig, size) == 0); in test_basic_patching() 195 check(memcmp(&ftr_fixup_test1, &ftr_fixup_test1_expected, size) == 0); in test_basic_patching() 214 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 218 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 222 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() 226 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_orig, size) == 0); in test_alternative_patching() 228 check(memcmp(&ftr_fixup_test2, &ftr_fixup_test2_expected, size) == 0); in test_alternative_patching() [all …]
|
/linux-3.4.99/drivers/staging/vt6656/ |
D | wpa.c | 123 && (pRSN->byElementID == WLAN_EID_RSN_WPA) && !memcmp(pRSN->abyOUI, abyOUI01, 4) in WPA_ParseRSN() 130 if ( !memcmp(pRSN->abyMulticast, abyOUI01, 4)) in WPA_ParseRSN() 132 else if ( !memcmp(pRSN->abyMulticast, abyOUI02, 4)) in WPA_ParseRSN() 134 else if ( !memcmp(pRSN->abyMulticast, abyOUI03, 4)) in WPA_ParseRSN() 136 else if ( !memcmp(pRSN->abyMulticast, abyOUI04, 4)) in WPA_ParseRSN() 138 else if ( !memcmp(pRSN->abyMulticast, abyOUI05, 4)) in WPA_ParseRSN() 154 if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI00, 4)) in WPA_ParseRSN() 156 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI02, 4)) in WPA_ParseRSN() 158 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI03, 4)) in WPA_ParseRSN() 160 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI04, 4)) in WPA_ParseRSN() [all …]
|
D | wpa2.c | 143 if ( !memcmp(pbyOUI, abyOUIWEP40, 4)) in WPA2vParseRSN() 145 else if ( !memcmp(pbyOUI, abyOUITKIP, 4)) in WPA2vParseRSN() 147 else if ( !memcmp(pbyOUI, abyOUICCMP, 4)) in WPA2vParseRSN() 149 else if ( !memcmp(pbyOUI, abyOUIWEP104, 4)) in WPA2vParseRSN() 151 else if ( !memcmp(pbyOUI, abyOUIGK, 4)) { in WPA2vParseRSN() 173 if ( !memcmp(pbyOUI, abyOUIGK, 4)) { in WPA2vParseRSN() 176 } else if ( !memcmp(pbyOUI, abyOUIWEP40, 4)) { in WPA2vParseRSN() 178 } else if ( !memcmp(pbyOUI, abyOUITKIP, 4)) { in WPA2vParseRSN() 183 } else if ( !memcmp(pbyOUI, abyOUICCMP, 4)) { in WPA2vParseRSN() 185 } else if ( !memcmp(pbyOUI, abyOUIWEP104, 4)) { in WPA2vParseRSN() [all …]
|
/linux-3.4.99/drivers/staging/vt6655/ |
D | wpa.c | 123 && (pRSN->byElementID == WLAN_EID_RSN_WPA) && !memcmp(pRSN->abyOUI, abyOUI01, 4) in WPA_ParseRSN() 130 if ( !memcmp(pRSN->abyMulticast, abyOUI01, 4)) in WPA_ParseRSN() 132 else if ( !memcmp(pRSN->abyMulticast, abyOUI02, 4)) in WPA_ParseRSN() 134 else if ( !memcmp(pRSN->abyMulticast, abyOUI03, 4)) in WPA_ParseRSN() 136 else if ( !memcmp(pRSN->abyMulticast, abyOUI04, 4)) in WPA_ParseRSN() 138 else if ( !memcmp(pRSN->abyMulticast, abyOUI05, 4)) in WPA_ParseRSN() 153 if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI00, 4)) in WPA_ParseRSN() 155 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI02, 4)) in WPA_ParseRSN() 157 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI03, 4)) in WPA_ParseRSN() 159 else if ( !memcmp(pRSN->PKSList[i].abyOUI, abyOUI04, 4)) in WPA_ParseRSN() [all …]
|
D | wpa2.c | 144 if ( !memcmp(pbyOUI, abyOUIWEP40, 4)) in WPA2vParseRSN() 146 else if ( !memcmp(pbyOUI, abyOUITKIP, 4)) in WPA2vParseRSN() 148 else if ( !memcmp(pbyOUI, abyOUICCMP, 4)) in WPA2vParseRSN() 150 else if ( !memcmp(pbyOUI, abyOUIWEP104, 4)) in WPA2vParseRSN() 152 else if ( !memcmp(pbyOUI, abyOUIGK, 4)) { in WPA2vParseRSN() 174 if ( !memcmp(pbyOUI, abyOUIGK, 4)) { in WPA2vParseRSN() 177 } else if ( !memcmp(pbyOUI, abyOUIWEP40, 4)) { in WPA2vParseRSN() 179 } else if ( !memcmp(pbyOUI, abyOUITKIP, 4)) { in WPA2vParseRSN() 184 } else if ( !memcmp(pbyOUI, abyOUICCMP, 4)) { in WPA2vParseRSN() 186 } else if ( !memcmp(pbyOUI, abyOUIWEP104, 4)) { in WPA2vParseRSN() [all …]
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | ieee80211.c | 230 if (memcmp((pbuf + 2), wpa_oui_type, in r8712_get_wpa_ie() 261 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_NONE, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 263 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_WEP40, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 265 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_TKIP, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 267 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_CCMP, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 269 if (!memcmp(s, (void *)WPA_CIPHER_SUITE_WEP104, WPA_SELECTOR_LEN)) in r8712_get_wpa_cipher_suite() 276 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_NONE, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 278 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_WEP40, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 280 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_TKIP, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() 282 if (!memcmp(s, (void *)RSN_CIPHER_SUITE_CCMP, RSN_SELECTOR_LEN)) in r8712_get_wpa2_cipher_suite() [all …]
|
D | rtl871x_recv.c | 329 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 331 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in sta2sta_data_frame() 333 if (!memcmp(pattrib->bssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in sta2sta_data_frame() 334 !memcmp(mybssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in sta2sta_data_frame() 335 (memcmp(pattrib->bssid, mybssid, ETH_ALEN))) in sta2sta_data_frame() 341 if (memcmp(pattrib->bssid, pattrib->src, ETH_ALEN)) in sta2sta_data_frame() 353 if (memcmp(pattrib->bssid, pattrib->dst, ETH_ALEN)) in sta2sta_data_frame() 404 if (!memcmp(myhwaddr, pattrib->src, ETH_ALEN)) in ap2sta_data_frame() 408 if ((memcmp(myhwaddr, pattrib->dst, ETH_ALEN)) && (!bmcast)) in ap2sta_data_frame() 411 if (!memcmp(pattrib->bssid, "\x0\x0\x0\x0\x0\x0", ETH_ALEN) || in ap2sta_data_frame() [all …]
|
/linux-3.4.99/block/partitions/ |
D | atari.c | 28 return memcmp (s, "GEM", 3) == 0 || memcmp (s, "BGM", 3) == 0 || in OK_id() 29 memcmp (s, "LNX", 3) == 0 || memcmp (s, "SWP", 3) == 0 || in OK_id() 30 memcmp (s, "RAW", 3) == 0 ; in OK_id() 74 if (memcmp (pi->id, "XGM", 3) != 0) { in atari_partition() 110 if (memcmp( xrs->part[1].id, "XGM", 3 ) != 0) { in atari_partition()
|
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_HTProc.c | 130 if(!memcmp(CapIE, EWC11NHTCap, sizeof(EWC11NHTCap))) in HTDebugHTCapability() 167 if(!memcmp(InfoIE, EWC11NHTInfo, sizeof(EWC11NHTInfo))) in HTDebugHTInfo() 351 if((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3)==0) || in IsHTHalfNmodeAPs() 352 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3)==0) || in IsHTHalfNmodeAPs() 353 (memcmp(net->bssid, PCI_RALINK, 3)==0) || in IsHTHalfNmodeAPs() 354 (memcmp(net->bssid, EDIMAX_RALINK, 3)==0) || in IsHTHalfNmodeAPs() 355 (memcmp(net->bssid, AIRLINK_RALINK, 3)==0) || in IsHTHalfNmodeAPs() 358 else if((memcmp(net->bssid, UNKNOWN_BORADCOM, 3)==0) || in IsHTHalfNmodeAPs() 359 (memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3)==0)|| in IsHTHalfNmodeAPs() 360 (memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3)==0)|| in IsHTHalfNmodeAPs() [all …]
|
/linux-3.4.99/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 126 if (!memcmp(CapIE, EWC11NHTCap, sizeof(EWC11NHTCap))) { in HTDebugHTCapability() 164 if (!memcmp(InfoIE, EWC11NHTInfo, sizeof(EWC11NHTInfo))) { in HTDebugHTInfo() 319 if ((memcmp(net->bssid, BELKINF5D8233V1_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 320 (memcmp(net->bssid, BELKINF5D82334V3_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 321 (memcmp(net->bssid, PCI_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 322 (memcmp(net->bssid, EDIMAX_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 323 (memcmp(net->bssid, AIRLINK_RALINK, 3) == 0) || in IsHTHalfNmodeAPs() 326 else if (!memcmp(net->bssid, UNKNOWN_BORADCOM, 3) || in IsHTHalfNmodeAPs() 327 !memcmp(net->bssid, LINKSYSWRT330_LINKSYSWRT300_BROADCOM, 3) || in IsHTHalfNmodeAPs() 328 !memcmp(net->bssid, LINKSYSWRT350_LINKSYSWRT150_BROADCOM, 3) || in IsHTHalfNmodeAPs() [all …]
|
/linux-3.4.99/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 59 if (count >= 4 && memcmp(buf, "true", 4) == 0) in get_boolean() 61 if (count >= 5 && memcmp(buf, "false", 5) == 0) in get_boolean() 63 if (count >= 3 && memcmp(buf, "yes", 3) == 0) in get_boolean() 65 if (count >= 2 && memcmp(buf, "no", 2) == 0) in get_boolean() 67 if (count >= 2 && memcmp(buf, "on", 2) == 0) in get_boolean() 69 if (count >= 3 && memcmp(buf, "off", 3) == 0) in get_boolean()
|
/linux-3.4.99/scripts/mod/ |
D | mk_elfconfig.c | 16 if (memcmp(ei, ELFMAG, SELFMAG) != 0) { in main() 48 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main() 50 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
|
/linux-3.4.99/drivers/net/wireless/rtlwifi/ |
D | base.c | 1363 if (memcmp(vendor_ie.octet, athcap_1, 3) == 0 || in rtl_chk_vendor_ouisub() 1364 memcmp(vendor_ie.octet, athcap_2, 3) == 0) { in rtl_chk_vendor_ouisub() 1367 } else if (memcmp(vendor_ie.octet, broadcap_1, 3) == 0 || in rtl_chk_vendor_ouisub() 1368 memcmp(vendor_ie.octet, broadcap_2, 3) == 0 || in rtl_chk_vendor_ouisub() 1369 memcmp(vendor_ie.octet, broadcap_3, 3) == 0) { in rtl_chk_vendor_ouisub() 1372 } else if (memcmp(vendor_ie.octet, racap, 3) == 0) { in rtl_chk_vendor_ouisub() 1375 } else if (memcmp(vendor_ie.octet, ciscocap, 3) == 0) { in rtl_chk_vendor_ouisub() 1378 } else if (memcmp(vendor_ie.octet, marvcap, 3) == 0) { in rtl_chk_vendor_ouisub() 1461 if ((memcmp(mac->bssid, ap5_1, 3) == 0) || in rtl_recognize_peer() 1462 (memcmp(mac->bssid, ap5_2, 3) == 0) || in rtl_recognize_peer() [all …]
|
/linux-3.4.99/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 135 if (memcmp(ehdr.e_ident, expected, EI_PAD) != 0) { in create_vma_map() 204 if (memcmp(name, "_ovly_table", 12) == 0) in create_vma_map() 206 if (memcmp(name, "_ovly_buf_table", 16) == 0) in create_vma_map() 208 if (memcmp(name, "_ovly_table_end", 16) == 0) in create_vma_map() 210 if (memcmp(name, "_ovly_buf_table_end", 20) == 0) in create_vma_map()
|
/linux-3.4.99/arch/sparc/lib/ |
D | memcmp.S | 11 ENTRY(memcmp) 27 ENDPROC(memcmp)
|
/linux-3.4.99/net/bridge/ |
D | br_stp.c | 65 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port() 73 t = memcmp(&p->designated_root, &rp->designated_root, 8); in br_should_become_root_port() 86 t = memcmp(&p->designated_bridge, &rp->designated_bridge, 8); in br_should_become_root_port() 221 if (memcmp(&p->designated_root, &br->designated_root, 8)) in br_should_become_designated_port() 229 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port() 260 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info() 271 t = memcmp(&bpdu->bridge_id, &p->designated_bridge, 8); in br_supersedes_port_info() 277 if (memcmp(&bpdu->bridge_id, &p->br->bridge_id, 8)) in br_supersedes_port_info()
|
/linux-3.4.99/drivers/scsi/isci/ |
D | probe_roms.c | 66 if (memcmp(oem_sig, ISCI_OEM_SIG, ISCI_OEM_SIG_SIZE) == 0) { in isci_request_oprom() 94 if (memcmp(rom->hdr.signature, in isci_request_oprom() 216 if (memcmp(oem_hdr->sig, ISCI_OEM_SIG, ISCI_OEM_SIG_SIZE) != 0) { in isci_get_efi_var() 233 if (memcmp(rom->hdr.signature, in isci_get_efi_var()
|
/linux-3.4.99/drivers/firmware/ |
D | iscsi_ibft.c | 448 if (memcmp(nic->ip_addr, nulls, sizeof(nic->ip_addr))) in ibft_check_nic_for() 459 if (memcmp(nic->gateway, nulls, sizeof(nic->gateway))) in ibft_check_nic_for() 463 if (memcmp(nic->primary_dns, nulls, in ibft_check_nic_for() 468 if (memcmp(nic->secondary_dns, nulls, in ibft_check_nic_for() 473 if (memcmp(nic->dhcp, nulls, sizeof(nic->dhcp))) in ibft_check_nic_for() 539 if (memcmp(init->isns_server, nulls, in ibft_check_initiator_for() 544 if (memcmp(init->slp_server, nulls, in ibft_check_initiator_for() 549 if (memcmp(init->pri_radius_server, nulls, in ibft_check_initiator_for() 554 if (memcmp(init->sec_radius_server, nulls, in ibft_check_initiator_for()
|
/linux-3.4.99/net/wireless/ |
D | mlme.c | 103 memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) { in __cfg80211_send_deauth() 118 from_ap = memcmp(mgmt->sa, dev->dev_addr, ETH_ALEN) != 0; in __cfg80211_send_deauth() 157 memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) { in __cfg80211_send_disassoc() 168 from_ap = memcmp(mgmt->sa, dev->dev_addr, ETH_ALEN) != 0; in __cfg80211_send_disassoc() 288 memcmp(bssid, wdev->current_bss->pub.bssid, ETH_ALEN) == 0) in __cfg80211_mlme_auth() 365 memcmp(wdev->current_bss->pub.bssid, prev_bssid, ETH_ALEN) == 0) { in __cfg80211_mlme_assoc() 449 memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) { in __cfg80211_mlme_deauth() 498 if (memcmp(wdev->current_bss->pub.bssid, bssid, ETH_ALEN) == 0) in __cfg80211_mlme_disassoc() 646 if (memcmp(reg->match, match_data, mlen) == 0) { in cfg80211_mlme_register_mgmt() 761 if (memcmp(wdev->current_bss->pub.bssid, in cfg80211_mlme_mgmt_tx() [all …]
|
/linux-3.4.99/security/tomoyo/ |
D | group.c | 36 return !memcmp(&container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group() 191 if (memcmp(&member->address.ip[0], address, size) > 0 || in tomoyo_address_matches_group() 192 memcmp(address, &member->address.ip[1], size) > 0) in tomoyo_address_matches_group()
|
/linux-3.4.99/arch/ia64/kernel/ |
D | ftrace.c | 117 if (memcmp(replaced, old_code, MCOUNT_INSN_SIZE) != 0) in ftrace_modify_code() 145 if (memcmp(replaced, ftrace_call_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check() 155 if (memcmp(replaced, ftrace_orig_code, MCOUNT_INSN_SIZE) != 0) in ftrace_make_nop_check()
|
/linux-3.4.99/include/linux/ |
D | uuid.h | 59 return memcmp(&u1, &u2, sizeof(uuid_le)); in uuid_le_cmp() 64 return memcmp(&u1, &u2, sizeof(uuid_be)); in uuid_be_cmp()
|
/linux-3.4.99/drivers/scsi/ |
D | scsi_devinfo.c | 435 if (memcmp(devinfo->vendor, vendor, in scsi_dev_info_list_del_keyed() 446 if (memcmp(devinfo->model, model, in scsi_dev_info_list_del_keyed() 451 if (!memcmp(devinfo->vendor, vendor, in scsi_dev_info_list_del_keyed() 453 !memcmp(devinfo->model, model, in scsi_dev_info_list_del_keyed() 597 if (memcmp(devinfo->vendor, vendor, in scsi_get_device_flags_keyed() 608 if (memcmp(devinfo->model, model, in scsi_get_device_flags_keyed() 613 if (!memcmp(devinfo->vendor, vendor, in scsi_get_device_flags_keyed() 615 !memcmp(devinfo->model, model, in scsi_get_device_flags_keyed()
|
/linux-3.4.99/fs/adfs/ |
D | dir_f.c | 180 memcmp(&dir->dirhead.startname, &dir->dirtail.new.endname, 4)) in adfs_dir_read() 183 if (memcmp(&dir->dirhead.startname, "Nick", 4) && in adfs_dir_read() 184 memcmp(&dir->dirhead.startname, "Hugo", 4)) in adfs_dir_read() 425 memcmp(&dir->dirhead.startname, &dir->dirtail.new.endname, 4)) in adfs_f_update() 428 if (memcmp(&dir->dirhead.startname, "Nick", 4) && in adfs_f_update() 429 memcmp(&dir->dirhead.startname, "Hugo", 4)) in adfs_f_update()
|
/linux-3.4.99/arch/x86/platform/geode/ |
D | net5501.c | 117 if (memcmp(bios, "comBIOS", 7)) in net5501_present() 123 if (!memcmp(model, boards[i].sig, boards[i].len)) { in net5501_present()
|