Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/linux-2.4.37.9/arch/x86_64/kernel/
De820.c531 if (!memcmp(from, "mem=", 4)) { in parse_mem_cmdline()
545 else if (!memcmp(from,"iommu=",6)) { in parse_mem_cmdline()
554 else if (!memcmp(from, "maxcpus=", 8)) { in parse_mem_cmdline()
562 else if (!memcmp(from, "acpi=off", 8)) in parse_mem_cmdline()
566 else if (!memcmp(from, "acpi=strict", 11)) { in parse_mem_cmdline()
570 else if (!memcmp(from, "pci=noacpi", 10)) in parse_mem_cmdline()
572 else if (!memcmp(from, "acpi=noirq", 10)) in parse_mem_cmdline()
574 else if (!memcmp(from, "acpi_sci=edge", 13)) in parse_mem_cmdline()
576 else if (!memcmp(from, "acpi_sci=level", 14)) in parse_mem_cmdline()
578 else if (!memcmp(from, "acpi_sci=high", 13)) in parse_mem_cmdline()
[all …]
Dpci-gart.c641 if (!memcmp(p,"noagp", 5)) in iommu_setup()
643 if (!memcmp(p,"off", 3)) in iommu_setup()
645 if (!memcmp(p,"force", 5)) in iommu_setup()
647 if (!memcmp(p,"noforce", 7)) in iommu_setup()
649 if (!memcmp(p,"nofullflush", 11)) in iommu_setup()
651 if (!memcmp(p, "memaper", 7)) { in iommu_setup()
661 if (!memcmp(p,"leak", 4)) { in iommu_setup()
/linux-2.4.37.9/fs/partitions/
Datari.c38 return memcmp (s, "GEM", 3) == 0 || memcmp (s, "BGM", 3) == 0 || in OK_id()
39 memcmp (s, "LNX", 3) == 0 || memcmp (s, "SWP", 3) == 0 || in OK_id()
40 memcmp (s, "RAW", 3) == 0 ; in OK_id()
85 if (memcmp (pi->id, "XGM", 3) != 0) { in atari_partition()
121 if (memcmp( xrs->part[1].id, "XGM", 3 ) != 0) { in atari_partition()
/linux-2.4.37.9/fs/intermezzo/
Dmethods.c150 memcmp(cache_type, "ext2", strlen("ext2")) == 0 ) { in filter_setup_journal_ops()
160 memcmp(cache_type, "ext3", strlen("ext3")) == 0 ) { in filter_setup_journal_ops()
170 memcmp(cache_type, "tmpfs", strlen("tmpfs")) == 0 ) { in filter_setup_journal_ops()
180 memcmp(cache_type, "reiserfs", strlen("reiserfs")) == 0 ) { in filter_setup_journal_ops()
191 memcmp(cache_type, "xfs", strlen("xfs")) == 0 ) { in filter_setup_journal_ops()
202 memcmp(cache_type, "obdfs", strlen("obdfs")) == 0 ) { in filter_setup_journal_ops()
220 memcmp(cache_type, "ext2", strlen("ext2")) == 0 ) { in filter_get_filter_fs()
226 memcmp(cache_type, "xfs", strlen("xfs")) == 0 ) { in filter_get_filter_fs()
232 memcmp(cache_type, "ext3", strlen("ext3")) == 0 ) { in filter_get_filter_fs()
238 memcmp(cache_type, "tmpfs", strlen("tmpfs")) == 0 ) { in filter_get_filter_fs()
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/drivers/
Difconfig_net.c85 if ( (memcmp(dev->name, "eth", 3) == 0) ) { in assign_ifname()
101 if ( (memcmp(dev->name, "fddi", 4) == 0) ) { in assign_ifname()
117 if ( (memcmp(dev->name, "hip", 3) == 0) ) { in assign_ifname()
133 if ( (memcmp(dev->name, "tr", 2) == 0) ) { in assign_ifname()
149 if ( (memcmp(dev->name, "fc", 2) == 0) ) { in assign_ifname()
173 if (memcmp(dev->dev_addr, ifname_MAC->dev_addr, dev->addr_len) == 0) in find_persistent_ifname()
/linux-2.4.37.9/net/bridge/
Dbr_stp.c31 return !memcmp(&br->bridge_id, &br->designated_root, 8); in br_is_root_bridge()
37 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
69 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port()
77 t = memcmp(&p->designated_root, &rp->designated_root, 8); in br_should_become_root_port()
90 t = memcmp(&p->designated_bridge, &rp->designated_bridge, 8); in br_should_become_root_port()
225 if (memcmp(&p->designated_root, &br->designated_root, 8)) in br_should_become_designated_port()
233 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port()
265 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info()
276 t = memcmp(&bpdu->bridge_id, &p->designated_bridge, 8); in br_supersedes_port_info()
282 if (memcmp(&bpdu->bridge_id, &p->br->bridge_id, 8)) in br_supersedes_port_info()
Dbr_stp_if.c138 if (!memcmp(p->designated_bridge.addr, oldaddr, ETH_ALEN)) in br_stp_change_bridge_id()
141 if (!memcmp(p->designated_root.addr, oldaddr, ETH_ALEN)) in br_stp_change_bridge_id()
166 memcmp(p->dev->dev_addr, addr, ETH_ALEN) < 0) in br_stp_recalculate_bridge_id()
172 if (memcmp(br->bridge_id.addr, addr, ETH_ALEN)) in br_stp_recalculate_bridge_id()
215 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority()
/linux-2.4.37.9/drivers/net/
Dmacsonic.c254 if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && in mac_onboard_sonic_ethernet_addr()
255 memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && in mac_onboard_sonic_ethernet_addr()
256 memcmp(dev->dev_addr, "\x00\x05\x02", 3)) in mac_onboard_sonic_ethernet_addr()
265 if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && in mac_onboard_sonic_ethernet_addr()
266 memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && in mac_onboard_sonic_ethernet_addr()
267 memcmp(dev->dev_addr, "\x00\x05\x02", 3)) in mac_onboard_sonic_ethernet_addr()
295 if (memcmp(dev->dev_addr, "\x08\x00\x07", 3) && in mac_onboard_sonic_ethernet_addr()
296 memcmp(dev->dev_addr, "\x00\xA0\x40", 3) && in mac_onboard_sonic_ethernet_addr()
297 memcmp(dev->dev_addr, "\x00\x05\x02", 3)) in mac_onboard_sonic_ethernet_addr()
/linux-2.4.37.9/fs/udf/
Dtruncate.c97 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
110 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
118 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
155 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
163 if (!memcmp(&UDF_I_LOCATION(inode), &bloc, sizeof(lb_addr))) in udf_truncate_extents()
/linux-2.4.37.9/drivers/net/bonding/
Dbond_alb.c470 if (memcmp(rx_hash_table[index].mac_dst, in rlb_clear_slave()
583 memcmp(client_info->mac_dst, mac_bcast, ETH_ALEN)) { in rlb_req_update_slave_clients()
623 memcmp(client_info->slave->dev->dev_addr, in rlb_req_update_subnet_clients()
625 memcmp(client_info->mac_dst, mac_bcast, ETH_ALEN)) { in rlb_req_update_subnet_clients()
652 if (memcmp(arp->mac_dst, mac_bcast, ETH_ALEN)) { in rlb_choose_channel()
687 if (memcmp(client_info->mac_dst, mac_bcast, ETH_ALEN)) { in rlb_choose_channel()
1039 perm_curr_diff = memcmp(slave->perm_hwaddr, in alb_change_hw_addr_on_detach()
1042 perm_bond_diff = memcmp(slave->perm_hwaddr, in alb_change_hw_addr_on_detach()
1051 if (!memcmp(slave->perm_hwaddr, in alb_change_hw_addr_on_detach()
1105 if (memcmp(slave->perm_hwaddr, bond->dev->dev_addr, ETH_ALEN)) { in alb_handle_addr_collision_on_attach()
[all …]
/linux-2.4.37.9/arch/sparc64/lib/
Dmemcmp.S10 .globl __memcmp, memcmp
12 memcmp: label
/linux-2.4.37.9/arch/i386/kernel/
Di386_ksyms.c173 #undef memcmp
176 extern int memcmp(const void * cs,const void * ct,size_t count);
177 EXPORT_SYMBOL_NOVERS(memcmp);
/linux-2.4.37.9/fs/adfs/
Ddir_f.c205 memcmp(&dir->dirhead.startname, &dir->dirtail.new.endname, 4)) in adfs_dir_read()
208 if (memcmp(&dir->dirhead.startname, "Nick", 4) && in adfs_dir_read()
209 memcmp(&dir->dirhead.startname, "Hugo", 4)) in adfs_dir_read()
432 memcmp(&dir->dirhead.startname, &dir->dirtail.new.endname, 4)) in adfs_f_update()
435 if (memcmp(&dir->dirhead.startname, "Nick", 4) && in adfs_f_update()
436 memcmp(&dir->dirhead.startname, "Hugo", 4)) in adfs_f_update()
/linux-2.4.37.9/arch/sh/kernel/
Dsetup.c218 if (c == ' ' && !memcmp(from, "mem=", 4)) { in parse_cmdline()
228 if (c == ' ' && !memcmp(from, "sh_mv=", 6)) { in parse_cmdline()
610 if (!memcmp(options, "tty", 3)) { in kgdb_parse_options()
613 while (map && memcmp(options, map->name, map->namelen)) in kgdb_parse_options()
649 if (!memcmp(options, "halt", 4)) { in kgdb_parse_options()
652 } else if (!memcmp(options, "disabled", 8)) { in kgdb_parse_options()
/linux-2.4.37.9/net/802/
Dtr.c194 if(!memcmp(trh->daddr,dev->broadcast,TR_ALEN)) in tr_type_trans()
205 if(memcmp(trh->daddr, dev->dev_addr, TR_ALEN)) in tr_type_trans()
249 if( (!memcmp(&(trh->daddr[0]),&(dev->broadcast[0]),TR_ALEN)) || in tr_source_route()
250 (!memcmp(&(trh->daddr[0]),&(mcast_func_addr[0]), TR_ALEN)) ) in tr_source_route()
263 …for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry-… in tr_source_route()
349 …for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry-… in tr_add_rif_info()
Dfc.c114 if (!memcmp(fch->daddr, dev->broadcast, FC_ALEN)) in fc_type_trans()
119 if (memcmp(fch->daddr, dev->dev_addr, FC_ALEN)) in fc_type_trans()
Dfddi.c151 if (memcmp(fddi->daddr, dev->broadcast, FDDI_K_ALEN) == 0) in fddi_type_trans()
159 if (memcmp(fddi->daddr, dev->dev_addr, FDDI_K_ALEN)) in fddi_type_trans()
Dpsnap.c34 for (proto = snap_list; proto != NULL && memcmp(proto->type, desc, 5) ; proto = proto->next); in find_snap_client()
151 if (memcmp(tmp->type,desc,5) == 0) in unregister_snap_client()
/linux-2.4.37.9/net/x25/
Dx25_route.c58 if (memcmp(&x25_route->address, address, sigdigits) == 0 && x25_route->sigdigits == sigdigits) in x25_add_route()
112 …if (memcmp(&x25_route->address, address, sigdigits) == 0 && x25_route->sigdigits == sigdigits && x… in x25_del_route()
167 if (memcmp(&route->address, addr, route->sigdigits) == 0) { in x25_get_route()
/linux-2.4.37.9/crypto/
Dtcrypt.c127 memcmp(result, hash_tv[i].digest, in test_hash()
159 memcmp(result, hash_tv[i].digest, in test_hash()
215 memcmp(result, hmac_tv[i].digest, in test_hmac()
248 memcmp(result, hmac_tv[i].digest, in test_hmac()
349 memcmp(q, cipher_tv[i].result, cipher_tv[i].rlen) ? "fail" : in test_cipher()
409 memcmp(q, cipher_tv[i].result + temp, in test_cipher()
463 memcmp(result, tv[i].output, dlen) ? "fail" : "pass", in test_deflate()
494 memcmp(result, tv[i].output, dlen) ? "fail" : "pass", in test_deflate()
/linux-2.4.37.9/lib/
Dstring.c451 #undef memcmp
452 int memcmp(const void * cs,const void * ct,size_t count) in memcmp() function
504 if (!memcmp(s1,s2,l2)) in strstr()
/linux-2.4.37.9/net/ethernet/
Deth.c169 if(memcmp(eth->h_dest,dev->broadcast, ETH_ALEN)==0) in eth_type_trans()
185 if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) in eth_type_trans()
/linux-2.4.37.9/arch/sparc/boot/
Dpiggyback.c97 if (memcmp (buffer, "\177ELF", 4) == 0) { in main()
103 } else if (memcmp(buffer, aout_magic, 4) == 0) { in main()
/linux-2.4.37.9/net/decnet/
Ddn_rules.c79 if ((!rta[RTA_SRC-1] || memcmp(RTA_DATA(rta[RTA_SRC-1]), &r->r_src, 2) == 0) && in dn_fib_rtm_delrule()
82 (!rta[RTA_DST-1] || memcmp(RTA_DATA(rta[RTA_DST-1]), &r->r_dst, 2) == 0) && in dn_fib_rtm_delrule()
84 (!rta[RTA_PROTOINFO-1] || memcmp(RTA_DATA(rta[RTA_PROTOINFO-1]), &r->r_fwmark, 4) == 0) && in dn_fib_rtm_delrule()
87 (!rta[RTA_PRIORITY-1] || memcmp(RTA_DATA(rta[RTA_PRIORITY-1]), &r->r_preference, 4) == 0) && in dn_fib_rtm_delrule()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_amanda.c84 if (!memcmp(data, "CONNECT ", 8)) { in help()
102 if (memcmp(data, conns[i].match, conns[i].len)) in help()

12345678910>>...13