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 | 110 | drivers/block/linear.c | struct linear_hash *hash; |
hash | 115 | drivers/block/linear.c | hash=data->hash_table+(block/data->smallest->size); |
hash | 117 | drivers/block/linear.c | if (block >= (hash->dev0->size + hash->dev0->offset)) |
hash | 119 | drivers/block/linear.c | if (!hash->dev1) |
hash | 125 | drivers/block/linear.c | tmp_dev=hash->dev1; |
hash | 128 | drivers/block/linear.c | tmp_dev=hash->dev0; |
hash | 183 | drivers/block/raid0.c | static struct raid0_hash *hash; |
hash | 192 | drivers/block/raid0.c | hash=data->hash_table+(block/data->smallest->size); |
hash | 201 | drivers/block/raid0.c | if (block >= (hash->zone0->size + |
hash | 202 | drivers/block/raid0.c | hash->zone0->zone_offset)) |
hash | 204 | drivers/block/raid0.c | if (!hash->zone1) |
hash | 210 | drivers/block/raid0.c | zone=hash->zone1; |
hash | 213 | drivers/block/raid0.c | zone=hash->zone0; |
hash | 323 | fs/buffer.c | if (hash(bh->b_dev,bh->b_blocknr) == bh) |
hash | 324 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh->b_next; |
hash | 457 | fs/buffer.c | bh->b_next = hash(bh->b_dev,bh->b_blocknr); |
hash | 458 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh; |
hash | 467 | fs/buffer.c | for (tmp = hash(dev,block) ; tmp != NULL ; tmp = tmp->b_next) |
hash | 132 | fs/dcache.c | static inline void add_hash(struct dir_cache_entry * de, struct hash_list * hash) |
hash | 134 | fs/dcache.c | struct dir_cache_entry * next = hash->next; |
hash | 136 | fs/dcache.c | de->h.prev = (struct dir_cache_entry *) hash; |
hash | 138 | fs/dcache.c | hash->next = de; |
hash | 144 | fs/dcache.c | static inline struct dir_cache_entry * find_entry(struct inode * dir, const char * name, int len, struct hash_list * hash) |
hash | 146 | fs/dcache.c | struct dir_cache_entry * de = hash->next; |
hash | 148 | fs/dcache.c | for (de = hash->next ; de != (struct dir_cache_entry *) hash ; de = de->h.next) { |
hash | 168 | fs/dcache.c | static inline void move_to_level2(struct dir_cache_entry * old_de, struct hash_list * hash) |
hash | 180 | fs/dcache.c | add_hash(de, hash); |
hash | 185 | fs/dcache.c | struct hash_list * hash; |
hash | 190 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
hash | 191 | fs/dcache.c | de = find_entry(dir, name, len, hash); |
hash | 195 | fs/dcache.c | move_to_level2(de, hash); |
hash | 201 | fs/dcache.c | struct hash_list * hash; |
hash | 206 | fs/dcache.c | hash = hash_table + hash_fn(dir->i_dev, dir->i_ino, namehash(name,len)); |
hash | 207 | fs/dcache.c | if ((de = find_entry(dir, name, len, hash)) != NULL) { |
hash | 221 | 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 | 81 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 93 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 582 | 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 | 428 | net/appletalk/aarp.c | int hash; |
hash | 488 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
hash | 506 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
hash | 527 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
hash | 561 | net/appletalk/aarp.c | a->next=unresolved[hash]; |
hash | 564 | net/appletalk/aarp.c | unresolved[hash]=a; |
hash | 598 | net/appletalk/aarp.c | static void aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) |
hash | 612 | net/appletalk/aarp.c | a->next=resolved[hash]; |
hash | 613 | net/appletalk/aarp.c | resolved[hash]=a; |
hash | 645 | net/appletalk/aarp.c | int hash; |
hash | 686 | net/appletalk/aarp.c | hash=ea->pa_src_node%(AARP_HASH_SIZE-1); |
hash | 737 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
hash | 744 | net/appletalk/aarp.c | aarp_resolved(&unresolved[hash],a,hash); |
hash | 149 | net/core/dev.c | int hash; |
hash | 158 | net/core/dev.c | hash=ntohs(pt->type)&15; |
hash | 159 | net/core/dev.c | pt->next = ptype_base[hash]; |
hash | 160 | 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 | 669 | net/ipv4/arp.c | unsigned long hash; |
hash | 742 | net/ipv4/arp.c | hash = HASH(entry->ip); |
hash | 744 | net/ipv4/arp.c | pentry = &arp_tables[hash]; |
hash | 973 | net/ipv4/arp.c | unsigned long hash, grat=0; |
hash | 1183 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1184 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
hash | 1263 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1264 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1397 | net/ipv4/arp.c | unsigned long hash; |
hash | 1406 | net/ipv4/arp.c | hash = HASH(paddr); |
hash | 1498 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1499 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1733 | net/ipv4/arp.c | unsigned long hash = HASH(paddr); |
hash | 1735 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1736 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1772 | net/ipv4/arp.c | unsigned long hash; |
hash | 1775 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1781 | net/ipv4/arp.c | for (entry1=arp_tables[hash]; entry1; entry1=entry1->next) |
hash | 1789 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1790 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1968 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
hash | 1970 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1971 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 604 | net/ipv4/icmp.c | int hash; |
hash | 705 | net/ipv4/icmp.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 713 | net/ipv4/icmp.c | ipprot = (struct inet_protocol *) inet_protos[hash]; |
hash | 205 | net/ipv4/ip_input.c | unsigned char hash; |
hash | 483 | net/ipv4/ip_input.c | hash = iph->protocol & (SOCK_ARRAY_SIZE-1); |
hash | 489 | net/ipv4/ip_input.c | if((raw_sk=raw_prot.sock_array[hash])!=NULL) |
hash | 524 | net/ipv4/ip_input.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 525 | net/ipv4/ip_input.c | for (ipprot = (struct inet_protocol *)inet_protos[hash];ipprot != NULL;ipprot=(struct inet_protocol *)ipprot->next) |
hash | 119 | net/ipv4/ip_masq.c | unsigned hash; |
hash | 128 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport); |
hash | 129 | net/ipv4/ip_masq.c | ms->m_link = ip_masq_m_tab[hash]; |
hash | 130 | net/ipv4/ip_masq.c | ip_masq_m_tab[hash] = ms; |
hash | 135 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport); |
hash | 136 | net/ipv4/ip_masq.c | ms->s_link = ip_masq_s_tab[hash]; |
hash | 137 | net/ipv4/ip_masq.c | ip_masq_s_tab[hash] = ms; |
hash | 152 | net/ipv4/ip_masq.c | unsigned hash; |
hash | 161 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(ms->protocol, ms->maddr, ms->mport); |
hash | 162 | net/ipv4/ip_masq.c | for (ms_p = &ip_masq_m_tab[hash]; *ms_p ; ms_p = &(*ms_p)->m_link) |
hash | 170 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(ms->protocol, ms->saddr, ms->sport); |
hash | 171 | net/ipv4/ip_masq.c | for (ms_p = &ip_masq_s_tab[hash]; *ms_p ; ms_p = &(*ms_p)->s_link) |
hash | 195 | net/ipv4/ip_masq.c | unsigned hash; |
hash | 209 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(protocol, d_addr, d_port); |
hash | 210 | net/ipv4/ip_masq.c | for(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) { |
hash | 254 | net/ipv4/ip_masq.c | unsigned hash; |
hash | 257 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(protocol, s_addr, s_port); |
hash | 258 | net/ipv4/ip_masq.c | for(ms = ip_masq_s_tab[hash]; ms ; ms = ms->s_link) { |
hash | 276 | net/ipv4/ip_masq.c | unsigned hash; |
hash | 279 | net/ipv4/ip_masq.c | hash = ip_masq_hash_key(protocol, m_addr, m_port); |
hash | 280 | net/ipv4/ip_masq.c | for(ms = ip_masq_m_tab[hash]; ms ; ms = ms->m_link) { |
hash | 76 | net/ipv4/ip_masq_app.c | unsigned hash; |
hash | 83 | net/ipv4/ip_masq_app.c | hash = IP_MASQ_APP_HASH(proto, port); |
hash | 87 | net/ipv4/ip_masq_app.c | mapp->next = ip_masq_app_base[hash]; |
hash | 88 | net/ipv4/ip_masq_app.c | ip_masq_app_base[hash] = mapp; |
hash | 101 | net/ipv4/ip_masq_app.c | unsigned hash; |
hash | 115 | net/ipv4/ip_masq_app.c | hash = IP_MASQ_APP_HASH(IP_MASQ_APP_PROTO(mapp->type), IP_MASQ_APP_PORT(mapp->type)); |
hash | 119 | net/ipv4/ip_masq_app.c | for (mapp_p = &ip_masq_app_base[hash]; *mapp_p ; mapp_p = &(*mapp_p)->next) |
hash | 139 | net/ipv4/ip_masq_app.c | unsigned hash; |
hash | 144 | net/ipv4/ip_masq_app.c | hash = IP_MASQ_APP_HASH(proto,port); |
hash | 145 | net/ipv4/ip_masq_app.c | for(mapp = ip_masq_app_base[hash]; mapp ; mapp = mapp->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 | 157 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth); |
hash | 648 | net/ipv4/route.c | unsigned hash = fz_hash_code(f1->fib_dst, logmask); |
hash | 650 | net/ipv4/route.c | f1->fib_next = ht[hash]; |
hash | 651 | net/ipv4/route.c | ht[hash] = f1; |
hash | 1117 | net/ipv4/route.c | unsigned long hash = ip_rt_hash_code(dst); |
hash | 1139 | net/ipv4/route.c | rt_cache_add(hash, rt); |
hash | 1377 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth) |
hash | 1423 | net/ipv4/route.c | rth->rt_next = ip_rt_hash_table[hash]; |
hash | 1428 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
hash | 1434 | net/ipv4/route.c | ip_rt_hash_table[hash] = rth; |
hash | 1454 | net/ipv4/route.c | printk("rt_cache clean %02x@%08x\n", hash, rth->rt_dst); |
hash | 1475 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
hash | 1568 | net/ipv4/route.c | rt_cache_add(hash, rth); |