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 | 319 | fs/buffer.c | if (hash(bh->b_dev,bh->b_blocknr) == bh) |
hash | 320 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh->b_next; |
hash | 453 | fs/buffer.c | bh->b_next = hash(bh->b_dev,bh->b_blocknr); |
hash | 454 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh; |
hash | 463 | 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 | 101 | fs/dquot.c | hash_ent = hash(dquot->dq_dev, dquot->dq_id, dquot->dq_type); |
hash | 113 | fs/dquot.c | hash_ent = hash(dquot->dq_dev, dquot->dq_id, dquot->dq_type); |
hash | 547 | fs/dquot.c | dquot = *(hash(dev, id, type)); |
hash | 59 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 71 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 551 | 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 | 446 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
hash | 464 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
hash | 485 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
hash | 519 | net/appletalk/aarp.c | a->next=unresolved[hash]; |
hash | 522 | net/appletalk/aarp.c | unresolved[hash]=a; |
hash | 556 | net/appletalk/aarp.c | static void aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) |
hash | 570 | net/appletalk/aarp.c | a->next=resolved[hash]; |
hash | 571 | net/appletalk/aarp.c | resolved[hash]=a; |
hash | 603 | net/appletalk/aarp.c | int hash; |
hash | 644 | net/appletalk/aarp.c | hash=ea->pa_src_node%(AARP_HASH_SIZE-1); |
hash | 695 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
hash | 702 | net/appletalk/aarp.c | aarp_resolved(&unresolved[hash],a,hash); |
hash | 146 | net/core/dev.c | int hash; |
hash | 155 | net/core/dev.c | hash=ntohs(pt->type)&15; |
hash | 156 | net/core/dev.c | pt->next = ptype_base[hash]; |
hash | 157 | net/core/dev.c | ptype_base[hash] = pt; |
hash | 424 | net/core/net_alias.c | alias->hash = HASH(addr32, family); |
hash | 430 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[alias->hash]; |
hash | 510 | net/core/net_alias.c | for(aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
hash | 801 | net/core/net_alias.c | if (n_hash == alias->hash && o_nat == n_nat ) |
hash | 808 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
hash | 839 | net/core/net_alias.c | if (n_hash != alias->hash) |
hash | 842 | net/core/net_alias.c | alias->hash = n_hash; |
hash | 1290 | net/core/net_alias.c | unsigned hash; |
hash | 1299 | net/core/net_alias.c | hash = nat->type & 0x0f; |
hash | 1302 | net/core/net_alias.c | nat->next = nat_base[hash]; |
hash | 1303 | net/core/net_alias.c | nat_base[hash] = nat; |
hash | 1314 | net/core/net_alias.c | unsigned hash; |
hash | 1332 | net/core/net_alias.c | hash = nat->type & 0x0f; |
hash | 1335 | net/core/net_alias.c | for (natp = &nat_base[hash]; *natp ; natp = &(*natp)->next) |
hash | 480 | net/ipv4/arp.c | unsigned long hash; |
hash | 553 | net/ipv4/arp.c | hash = HASH(entry->ip); |
hash | 555 | net/ipv4/arp.c | pentry = &arp_tables[hash]; |
hash | 784 | net/ipv4/arp.c | unsigned long hash; |
hash | 990 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 992 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
hash | 1057 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1058 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1185 | net/ipv4/arp.c | unsigned long hash; |
hash | 1194 | net/ipv4/arp.c | hash = HASH(paddr); |
hash | 1283 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1284 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1514 | net/ipv4/arp.c | unsigned long hash = HASH(paddr); |
hash | 1516 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1517 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1553 | net/ipv4/arp.c | unsigned long hash; |
hash | 1556 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1562 | net/ipv4/arp.c | for (entry1=arp_tables[hash]; entry1; entry1=entry1->next) |
hash | 1570 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1571 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1748 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
hash | 1750 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1751 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 342 | net/ipv4/icmp.c | int hash; |
hash | 432 | net/ipv4/icmp.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 440 | 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 | 154 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth); |
hash | 644 | net/ipv4/route.c | unsigned hash = fz_hash_code(f1->fib_dst, logmask); |
hash | 646 | net/ipv4/route.c | f1->fib_next = ht[hash]; |
hash | 647 | net/ipv4/route.c | ht[hash] = f1; |
hash | 1113 | net/ipv4/route.c | unsigned long hash = ip_rt_hash_code(dst); |
hash | 1135 | net/ipv4/route.c | rt_cache_add(hash, rt); |
hash | 1373 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth) |
hash | 1419 | net/ipv4/route.c | rth->rt_next = ip_rt_hash_table[hash]; |
hash | 1424 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
hash | 1430 | net/ipv4/route.c | ip_rt_hash_table[hash] = rth; |
hash | 1450 | net/ipv4/route.c | printk("rt_cache clean %02x@%08x\n", hash, rth->rt_dst); |
hash | 1471 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
hash | 1559 | net/ipv4/route.c | rt_cache_add(hash, rth); |