tag | line | file | source code |
hash | 558 | arch/ppc/mm/init.c | int hash, page_index, segment, i, h, _h, api, vsid, perms; |
hash | 579 | arch/ppc/mm/init.c | hash = page_index ^ vsid; |
hash | 582 | arch/ppc/mm/init.c | hash = ~hash; /* Secondary hash uses ones-complement */ |
hash | 584 | arch/ppc/mm/init.c | hash &= 0x3FF | (Hash_mask << 10); |
hash | 585 | arch/ppc/mm/init.c | hash *= 8; /* Eight entries / hash bucket */ |
hash | 586 | arch/ppc/mm/init.c | _pte = &Hash[hash]; |
hash | 111 | drivers/block/linear.c | struct linear_hash *hash; |
hash | 121 | drivers/block/linear.c | hash=data->hash_table+(block/data->smallest->size); |
hash | 123 | drivers/block/linear.c | if (block >= (hash->dev0->size + hash->dev0->offset)) |
hash | 125 | drivers/block/linear.c | if (!hash->dev1) |
hash | 127 | drivers/block/linear.c | tmp_dev=hash->dev1; |
hash | 130 | drivers/block/linear.c | tmp_dev=hash->dev0; |
hash | 185 | drivers/block/raid0.c | static struct raid0_hash *hash; |
hash | 198 | drivers/block/raid0.c | hash=data->hash_table+(block/data->smallest->size); |
hash | 200 | drivers/block/raid0.c | if (block >= (hash->zone0->size + |
hash | 201 | drivers/block/raid0.c | hash->zone0->zone_offset)) |
hash | 203 | drivers/block/raid0.c | if (!hash->zone1) |
hash | 205 | drivers/block/raid0.c | zone=hash->zone1; |
hash | 208 | drivers/block/raid0.c | zone=hash->zone0; |
hash | 322 | fs/buffer.c | if (hash(bh->b_dev,bh->b_blocknr) == bh) |
hash | 323 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh->b_next; |
hash | 456 | fs/buffer.c | bh->b_next = hash(bh->b_dev,bh->b_blocknr); |
hash | 457 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh; |
hash | 466 | fs/buffer.c | for (tmp = hash(dev,block) ; tmp != NULL ; tmp = tmp->b_next) |
hash | 122 | fs/dcache.c | static inline void add_hash(struct dir_cache_entry * de, struct hash_list * hash) |
hash | 124 | fs/dcache.c | de->h.next = hash->next; |
hash | 125 | fs/dcache.c | de->h.prev = (struct dir_cache_entry *) hash; |
hash | 126 | fs/dcache.c | hash->next->h.prev = de; |
hash | 127 | fs/dcache.c | hash->next = de; |
hash | 133 | fs/dcache.c | static inline struct dir_cache_entry * find_entry(struct inode * dir, const char * name, int len, struct hash_list * hash) |
hash | 135 | fs/dcache.c | struct dir_cache_entry * de = hash->next; |
hash | 137 | fs/dcache.c | for (de = hash->next ; de != (struct dir_cache_entry *) hash ; de = de->h.next) { |
hash | 157 | fs/dcache.c | static inline void move_to_level2(struct dir_cache_entry * old_de, struct hash_list * hash) |
hash | 169 | fs/dcache.c | add_hash(de, hash); |
hash | 174 | fs/dcache.c | struct hash_list * hash; |
hash | 179 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
hash | 180 | fs/dcache.c | de = find_entry(dir, name, len, hash); |
hash | 184 | fs/dcache.c | move_to_level2(de, hash); |
hash | 190 | fs/dcache.c | struct hash_list * hash; |
hash | 195 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
hash | 196 | fs/dcache.c | if ((de = find_entry(dir, name, len, hash)) != NULL) { |
hash | 210 | fs/dcache.c | add_hash(de, hash); |
hash | 104 | fs/dquot.c | hash_ent = hash(dquot->dq_dev, dquot->dq_id, dquot->dq_type); |
hash | 116 | fs/dquot.c | hash_ent = hash(dquot->dq_dev, dquot->dq_id, dquot->dq_type); |
hash | 550 | fs/dquot.c | dquot = *(hash(dev, id, type)); |
hash | 78 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 90 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 579 | fs/inode.c | h = hash(sb->s_dev, nr); |
hash | 44 | include/linux/net_alias.h | unsigned hash; /* my hash value: for quick rehash */ |
hash | 125 | net/802/tr.c | unsigned int hash; |
hash | 135 | net/802/tr.c | for(i=0,hash=0;i<TR_ALEN;hash+=trh->daddr[i++]); |
hash | 136 | net/802/tr.c | hash&=RIF_TABLE_SIZE-1; |
hash | 137 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); |
hash | 166 | net/802/tr.c | unsigned int hash; |
hash | 171 | net/802/tr.c | for(i=0,hash=0;i<TR_ALEN;hash+=trh->saddr[i++]); |
hash | 172 | net/802/tr.c | hash&=RIF_TABLE_SIZE-1; |
hash | 174 | net/802/tr.c | printk("hash: %d\n",hash); |
hash | 176 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry->next); |
hash | 193 | net/802/tr.c | entry->next=rif_table[hash]; |
hash | 195 | net/802/tr.c | rif_table[hash]=entry; |
hash | 430 | net/appletalk/aarp.c | int hash; |
hash | 490 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
hash | 508 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
hash | 529 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
hash | 563 | net/appletalk/aarp.c | a->next=unresolved[hash]; |
hash | 566 | net/appletalk/aarp.c | unresolved[hash]=a; |
hash | 600 | net/appletalk/aarp.c | static void aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) |
hash | 614 | net/appletalk/aarp.c | a->next=resolved[hash]; |
hash | 615 | net/appletalk/aarp.c | resolved[hash]=a; |
hash | 647 | net/appletalk/aarp.c | int hash; |
hash | 688 | net/appletalk/aarp.c | hash=ea->pa_src_node%(AARP_HASH_SIZE-1); |
hash | 739 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
hash | 746 | net/appletalk/aarp.c | aarp_resolved(&unresolved[hash],a,hash); |
hash | 148 | net/core/dev.c | int hash; |
hash | 157 | net/core/dev.c | hash=ntohs(pt->type)&15; |
hash | 158 | net/core/dev.c | pt->next = ptype_base[hash]; |
hash | 159 | net/core/dev.c | ptype_base[hash] = pt; |
hash | 442 | net/core/net_alias.c | alias->hash = HASH(addr32, family); |
hash | 448 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[alias->hash]; |
hash | 528 | net/core/net_alias.c | for(aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
hash | 819 | net/core/net_alias.c | if (n_hash == alias->hash && o_nat == n_nat ) |
hash | 826 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
hash | 857 | net/core/net_alias.c | if (n_hash != alias->hash) |
hash | 860 | net/core/net_alias.c | alias->hash = n_hash; |
hash | 1308 | net/core/net_alias.c | unsigned hash; |
hash | 1317 | net/core/net_alias.c | hash = nat->type & 0x0f; |
hash | 1320 | net/core/net_alias.c | nat->next = nat_base[hash]; |
hash | 1321 | net/core/net_alias.c | nat_base[hash] = nat; |
hash | 1332 | net/core/net_alias.c | unsigned hash; |
hash | 1350 | net/core/net_alias.c | hash = nat->type & 0x0f; |
hash | 1353 | net/core/net_alias.c | for (natp = &nat_base[hash]; *natp ; natp = &(*natp)->next) |
hash | 483 | net/ipv4/arp.c | unsigned long hash; |
hash | 556 | net/ipv4/arp.c | hash = HASH(entry->ip); |
hash | 558 | net/ipv4/arp.c | pentry = &arp_tables[hash]; |
hash | 787 | net/ipv4/arp.c | unsigned long hash, grat=0; |
hash | 1004 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1006 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
hash | 1075 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1076 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1205 | net/ipv4/arp.c | unsigned long hash; |
hash | 1214 | net/ipv4/arp.c | hash = HASH(paddr); |
hash | 1303 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1304 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1535 | net/ipv4/arp.c | unsigned long hash = HASH(paddr); |
hash | 1537 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1538 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1574 | net/ipv4/arp.c | unsigned long hash; |
hash | 1577 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1583 | net/ipv4/arp.c | for (entry1=arp_tables[hash]; entry1; entry1=entry1->next) |
hash | 1591 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1592 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1769 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
hash | 1771 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1772 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 343 | net/ipv4/icmp.c | int hash; |
hash | 444 | net/ipv4/icmp.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 452 | net/ipv4/icmp.c | ipprot = (struct inet_protocol *) inet_protos[hash]; |
hash | 202 | net/ipv4/ip_input.c | unsigned char hash; |
hash | 471 | net/ipv4/ip_input.c | hash = iph->protocol & (SOCK_ARRAY_SIZE-1); |
hash | 477 | net/ipv4/ip_input.c | if((raw_sk=raw_prot.sock_array[hash])!=NULL) |
hash | 512 | net/ipv4/ip_input.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 513 | net/ipv4/ip_input.c | for (ipprot = (struct inet_protocol *)inet_protos[hash];ipprot != NULL;ipprot=(struct inet_protocol *)ipprot->next) |
hash | 136 | net/ipv4/protocol.c | unsigned char hash; |
hash | 139 | net/ipv4/protocol.c | hash = prot & (MAX_INET_PROTOS - 1); |
hash | 140 | net/ipv4/protocol.c | for (p = inet_protos[hash] ; p != NULL; p=p->next) |
hash | 154 | net/ipv4/protocol.c | unsigned char hash; |
hash | 157 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
hash | 158 | net/ipv4/protocol.c | prot ->next = inet_protos[hash]; |
hash | 159 | net/ipv4/protocol.c | inet_protos[hash] = prot; |
hash | 186 | net/ipv4/protocol.c | unsigned char hash; |
hash | 188 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
hash | 189 | net/ipv4/protocol.c | if (prot == inet_protos[hash]) |
hash | 191 | net/ipv4/protocol.c | inet_protos[hash] = (struct inet_protocol *) inet_protos[hash]->next; |
hash | 195 | net/ipv4/protocol.c | p = (struct inet_protocol *) inet_protos[hash]; |
hash | 156 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth); |
hash | 647 | net/ipv4/route.c | unsigned hash = fz_hash_code(f1->fib_dst, logmask); |
hash | 649 | net/ipv4/route.c | f1->fib_next = ht[hash]; |
hash | 650 | net/ipv4/route.c | ht[hash] = f1; |
hash | 1116 | net/ipv4/route.c | unsigned long hash = ip_rt_hash_code(dst); |
hash | 1138 | net/ipv4/route.c | rt_cache_add(hash, rt); |
hash | 1376 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth) |
hash | 1422 | net/ipv4/route.c | rth->rt_next = ip_rt_hash_table[hash]; |
hash | 1427 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
hash | 1433 | net/ipv4/route.c | ip_rt_hash_table[hash] = rth; |
hash | 1453 | net/ipv4/route.c | printk("rt_cache clean %02x@%08x\n", hash, rth->rt_dst); |
hash | 1474 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
hash | 1567 | net/ipv4/route.c | rt_cache_add(hash, rth); |