tag | line | file | source code |
hash | 562 | arch/ppc/mm/init.c | int hash, page_index, segment, i, h, _h, api, vsid, perms; |
hash | 583 | arch/ppc/mm/init.c | hash = page_index ^ vsid; |
hash | 586 | arch/ppc/mm/init.c | hash = ~hash; /* Secondary hash uses ones-complement */ |
hash | 588 | arch/ppc/mm/init.c | hash &= 0x3FF | (Hash_mask << 10); |
hash | 589 | arch/ppc/mm/init.c | hash *= 8; /* Eight entries / hash bucket */ |
hash | 590 | arch/ppc/mm/init.c | _pte = &Hash[hash]; |
hash | 293 | fs/buffer.c | if (hash(bh->b_dev,bh->b_blocknr) == bh) |
hash | 294 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh->b_next; |
hash | 427 | fs/buffer.c | bh->b_next = hash(bh->b_dev,bh->b_blocknr); |
hash | 428 | fs/buffer.c | hash(bh->b_dev,bh->b_blocknr) = bh; |
hash | 437 | 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 | 57 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 69 | fs/inode.c | h = hash(inode->i_dev, inode->i_ino); |
hash | 511 | fs/inode.c | h = hash(sb->s_dev, nr); |
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 | 445 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
hash | 463 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
hash | 484 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
hash | 518 | net/appletalk/aarp.c | a->next=unresolved[hash]; |
hash | 521 | net/appletalk/aarp.c | unresolved[hash]=a; |
hash | 555 | net/appletalk/aarp.c | static void aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) |
hash | 569 | net/appletalk/aarp.c | a->next=resolved[hash]; |
hash | 570 | net/appletalk/aarp.c | resolved[hash]=a; |
hash | 602 | net/appletalk/aarp.c | int hash; |
hash | 643 | net/appletalk/aarp.c | hash=ea->pa_src_node%(AARP_HASH_SIZE-1); |
hash | 694 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
hash | 701 | net/appletalk/aarp.c | aarp_resolved(&unresolved[hash],a,hash); |
hash | 143 | net/core/dev.c | int hash; |
hash | 152 | net/core/dev.c | hash=ntohs(pt->type)&15; |
hash | 153 | net/core/dev.c | pt->next = ptype_base[hash]; |
hash | 154 | net/core/dev.c | ptype_base[hash] = pt; |
hash | 477 | net/ipv4/arp.c | unsigned long hash; |
hash | 550 | net/ipv4/arp.c | hash = HASH(entry->ip); |
hash | 552 | net/ipv4/arp.c | pentry = &arp_tables[hash]; |
hash | 781 | net/ipv4/arp.c | unsigned long hash; |
hash | 967 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 969 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
hash | 1026 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1027 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1154 | net/ipv4/arp.c | unsigned long hash; |
hash | 1163 | net/ipv4/arp.c | hash = HASH(paddr); |
hash | 1252 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1253 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1483 | net/ipv4/arp.c | unsigned long hash = HASH(paddr); |
hash | 1485 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1486 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1522 | net/ipv4/arp.c | unsigned long hash; |
hash | 1525 | net/ipv4/arp.c | hash = HASH(sip); |
hash | 1531 | net/ipv4/arp.c | for (entry1=arp_tables[hash]; entry1; entry1=entry1->next) |
hash | 1539 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1540 | net/ipv4/arp.c | arp_tables[hash] = entry; |
hash | 1713 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
hash | 1715 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
hash | 1716 | 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 | 198 | net/ipv4/ip_input.c | unsigned char hash; |
hash | 452 | net/ipv4/ip_input.c | hash = iph->protocol & (SOCK_ARRAY_SIZE-1); |
hash | 458 | net/ipv4/ip_input.c | if((raw_sk=raw_prot.sock_array[hash])!=NULL) |
hash | 493 | net/ipv4/ip_input.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
hash | 494 | 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 | 148 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth); |
hash | 637 | net/ipv4/route.c | unsigned hash = fz_hash_code(f1->fib_dst, logmask); |
hash | 639 | net/ipv4/route.c | f1->fib_next = ht[hash]; |
hash | 640 | net/ipv4/route.c | ht[hash] = f1; |
hash | 1106 | net/ipv4/route.c | unsigned long hash = ip_rt_hash_code(dst); |
hash | 1128 | net/ipv4/route.c | rt_cache_add(hash, rt); |
hash | 1366 | net/ipv4/route.c | static void rt_cache_add(unsigned hash, struct rtable * rth) |
hash | 1412 | net/ipv4/route.c | rth->rt_next = ip_rt_hash_table[hash]; |
hash | 1417 | net/ipv4/route.c | printk("rt_cache @%02x: %08x", hash, daddr); |
hash | 1423 | net/ipv4/route.c | ip_rt_hash_table[hash] = rth; |
hash | 1443 | net/ipv4/route.c | printk("rt_cache clean %02x@%08x\n", hash, rth->rt_dst); |
hash | 1464 | net/ipv4/route.c | unsigned hash = ip_rt_hash_code(daddr)^local; |
hash | 1542 | net/ipv4/route.c | rt_cache_add(hash, rth); |