/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/ |
H A D | proc.c | 228 int hash = *(loff_t *)v; local 230 if (hash >= sctp_ep_hashsize) 233 head = &sctp_ep_hashtable[hash]; 240 sctp_sk(sk)->type, sk->sk_state, hash, 331 int hash = *(loff_t *)v; local 333 if (hash >= sctp_assoc_hashsize) 336 head = &sctp_assoc_hashtable[hash]; 345 assoc->state, hash, assoc->assoc_id,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/ |
H A D | cache.c | 51 struct cache_head *key, int hash) 56 head = &detail->hash_table[hash]; 125 struct cache_head *new, struct cache_head *old, int hash) 157 head = &detail->hash_table[hash]; 509 * All deferred requests are stored in a hash table, 532 int hash = DFR_HASH(item); local 552 if (cache_defer_hash[hash].next == NULL) 553 INIT_LIST_HEAD(&cache_defer_hash[hash]); 554 list_add(&dreq->hash, &cache_defer_hash[hash]); 50 sunrpc_cache_lookup(struct cache_detail *detail, struct cache_head *key, int hash) argument 124 sunrpc_cache_update(struct cache_detail *detail, struct cache_head *new, struct cache_head *old, int hash) argument 584 int hash = DFR_HASH(item); local 1133 unsigned hash, entry; local 1162 int hash = (*pos >> 32); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/adfs/ |
H A D | dir.c | 209 unsigned long hash; local 221 hash = init_name_hash(); 229 hash = partial_name_hash(c, hash); 231 qstr->hash = end_name_hash(hash);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/ |
H A D | xattr.c | 835 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); local 842 error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); 851 ea_bdebug(bh, "inserting [%x] (%d cache entries)", (int)hash, 909 __u32 hash = le32_to_cpu(header->h_hash); local 914 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); 917 inode->i_sb->s_bdev, hash); 949 ce = mb_cache_entry_find_next(ce, 0, inode->i_sb->s_bdev, hash); 960 * Compute the hash of an extended attribute. 965 __u32 hash = 0; local 970 hash 1002 __u32 hash = 0; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/ |
H A D | string.c | 57 unsigned int hash, len = this->len; local 62 hash = init_name_hash(); 64 hash = partial_name_hash(caseorder[*name++], hash); 65 this->hash = end_name_hash(hash);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/ |
H A D | namei.c | 23 unsigned long hash; local 34 hash = init_name_hash(); 36 hash = partial_name_hash(*name++, hash); 37 qstr->hash = end_name_hash(hash);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/appletalk/ |
H A D | aarp.c | 320 /* Expire all entries in a hash chain */ 332 /* Cleanup all hash chains -- module unloading */ 383 int hash = sa->s_node % (AARP_HASH_SIZE - 1); local 388 a = __aarp_find_entry(proxies[hash], dev, sa); 399 int hash = sa->s_node % (AARP_HASH_SIZE - 1); local 400 struct aarp_entry *a = __aarp_find_entry(proxies[hash], dev, sa); 452 int hash, retval = -EPROTONOSUPPORT; local 481 hash = sa->s_node % (AARP_HASH_SIZE - 1); 482 entry->next = proxies[hash]; 483 proxies[hash] 516 int hash; local 648 __aarp_resolved(struct aarp_entry **list, struct aarp_entry *a, int hash) argument 680 int hash, ret = 0; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/mm/ |
H A D | hash_native_64.c | 226 DBG_LOW(" update(va=%016lx, avpnv=%016lx, hash=%016lx, newpp=%x)", 255 unsigned long hash; local 260 hash = hpt_hash(va, mmu_psize_defs[psize].shift); 264 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; 279 hash = ~hash; 325 DBG_LOW(" invalidate(va=%016lx, hash: %x)\n", va, slot); 459 * Batched hash table flush, we batch the tlbie's to avoid taking/releasing 464 unsigned long va, hash, index, hidx, shift, slot; local 481 hash [all...] |
H A D | hugetlbpage.c | 462 unsigned long hash, slot; local 464 hash = hpt_hash(va, HPAGE_SHIFT); 466 hash = ~hash; 467 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; 476 unsigned long hash = hpt_hash(va, HPAGE_SHIFT); local 482 hpte_group = ((hash & htab_hash_mask) * 492 /* Insert into the hash table, primary slot */ 498 hpte_group = ((~hash & htab_hash_mask) * 505 hpte_group = ((hash [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/ |
H A D | lpar.c | 401 DBG_LOW(" update: avpnv=%016lx, hash=%016lx, f=%x, psize: %d ... ", 439 unsigned long hash; local 444 hash = hpt_hash(va, mmu_psize_defs[psize].shift); 448 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; 462 hash = ~hash; 524 unsigned long hash, index, shift, hidx, slot; local 537 hash = hpt_hash(va, shift); 540 hash = ~hash; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/ |
H A D | revoke.c | 78 struct list_head hash; member in struct:hfsplus_jbd_revoke_record_s 84 /* The revoke table is just a simple hash table of revoke records. */ 87 /* It is conceivable that we might want a larger hash table 104 /* Borrowed from buffer.c: this is a tried and tested block hash function */ 105 static inline int hash(hfsplus_jbd_t *journal, unsigned long block) function 128 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; 130 list_add(&record->hash, hash_list); 142 /* Find a revoke record in the journal's hash table. */ 150 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; 154 while (&(record->hash) ! [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/ |
H A D | revoke.c | 81 struct list_head hash; member in struct:jbd_revoke_record_s 87 /* The revoke table is just a simple hash table of revoke records. */ 90 /* It is conceivable that we might want a larger hash table 107 /* Borrowed from buffer.c: this is a tried and tested block hash function */ 108 static inline int hash(journal_t *journal, unsigned long block) function 131 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; 133 list_add(&record->hash, hash_list); 145 /* Find a revoke record in the journal's hash table. */ 153 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; 157 while (&(record->hash) ! [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | pppoe.c | 114 char hash = 0; local 119 hash ^= addr[i] >> ( j * PPPOE_HASH_BITS ); 124 hash ^= sid >> (i*PPPOE_HASH_BITS); 126 return hash & ( PPPOE_HASH_SIZE - 1 ); 139 int hash = hash_item(sid, addr); local 142 ret = item_hash_table[hash]; 152 int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote); local 155 ret = item_hash_table[hash]; 163 po->next = item_hash_table[hash]; 164 item_hash_table[hash] 171 int hash = hash_item(sid, addr); local 244 int hash; local 1058 int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote); local [all...] |
H A D | pptp.c | 100 char hash = 0; local 105 hash ^= addr[i] >> ( j * PPTP_HASH_BITS ); 110 hash ^= ipaddr >> (i*PPTP_HASH_BITS); 112 return hash & ( PPTP_HASH_SIZE - 1 ); 125 int hash = hash_item(ipaddr, addr); local 128 ret = item_hash_table[hash]; 138 int hash = hash_item(po->pptp_pa.srcaddr, po->pptp_pa.remote); local 141 ret = item_hash_table[hash]; 149 po->next = item_hash_table[hash]; 150 item_hash_table[hash] 157 int hash = hash_item(ipaddr, addr); local 229 int hash; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/ |
H A D | ip_vs_proto_udp.c | 295 __u16 hash; local 299 hash = udp_app_hashkey(port); 303 list_for_each_entry(i, &udp_apps[hash], p_list) { 309 list_add(&inc->p_list, &udp_apps[hash]); 330 int hash; local 339 hash = udp_app_hashkey(cp->vport); 342 list_for_each_entry(inc, &udp_apps[hash], p_list) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/ |
H A D | sch_sfq.c | 68 When hash collisions occur, several flows are considered as one. 82 maximal mtu to 2^15-1; number of hash buckets to 1024. 119 unsigned short hash[SFQ_DEPTH]; /* Hash value indexed by slots */ member in struct:sfq_sched_data 252 q->ht[q->hash[d]] = SFQ_DEPTH; 265 unsigned hash = sfq_hash(q, skb); local 268 x = q->ht[hash]; 270 q->ht[hash] = x = q->dep[SFQ_DEPTH].next; 271 q->hash[x] = hash; 301 unsigned hash local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/ |
H A D | seq_instr.c | 106 while ((instr = list->hash[idx]) != NULL) { 107 list->hash[idx] = instr->next; 175 instr = list->hash[idx]; 188 list->hash[idx] = next; 266 result = list->hash[compute_hash_instr_key(instr)]; 461 instr->next = list->hash[key]; 462 list->hash[key] = instr; 489 unsigned int hash; local 512 hash = compute_hash_instr_key(&ifree.id.instr); 515 instr = list->hash[has [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/autofs4/ |
H A D | waitq.c | 195 char *name, unsigned int hash, unsigned int len) 200 if (wq->hash == hash && 215 unsigned int hash = 0; local 236 hash = full_name_hash(name, len); 243 wq = autofs4_find_wait(sbi, name, hash, len); 260 wq = autofs4_find_wait(sbi, name, hash, len); 292 wq->hash = hash; 194 autofs4_find_wait(struct autofs_sb_info *sbi, char *name, unsigned int hash, unsigned int len) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/ |
H A D | recovery.c | 139 u32 hash; local 146 hash = crc32_le((u32)~0, bh->b_data, sizeof(struct gfs2_log_header) - 148 hash = crc32_le(hash, (unsigned char const *)¬hing, sizeof(nothing)); 149 hash ^= (u32)~0; 155 lh.lh_blkno != blk || lh.lh_hash != hash) 372 u32 hash; local 403 hash = gfs2_disk_hash((const char *)lh, sizeof(struct gfs2_log_header)); 404 lh->lh_hash = cpu_to_be32(hash);
|
H A D | glock.c | 48 int hash; /* hash bucket index */ member in struct:glock_iter 51 struct hlist_head *hb_list; /* current hash bucket ptr */ 74 * They are taken from the ipv4 routing hash code, which is well tested 80 * the same hash function for both, but with a different hash mask. 148 * gl_hash() - Turn glock number into hash bucket number 151 * Returns: The number of the corresponding hash bucket 237 static struct gfs2_glock *search_bucket(unsigned int hash, argument 244 hlist_for_each_entry(gl, h, &gl_hash_table[hash] 269 unsigned int hash = gl_hash(sdp, name); local 298 unsigned int hash = gl_hash(sdp, &name); local 1615 examine_bucket(glock_examiner examiner, struct gfs2_sbd *sdp, unsigned int hash) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/ |
H A D | logger.c | 102 unsigned int hash; member in struct:log_flood_entry 130 unsigned int hash = 0, i = 7; local 133 hash += *p * i; 137 return hash; 547 /* Prevent flooding: hash the message and check if we got the same one recently */ 548 int hash = hash_message(temp_buffer) + log_src_linenumber; local 550 /* Search for the same message by hash */ 552 if (log_flood_array[i].hash == hash) { 600 log_flood_array[log_flood_entries].hash [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | logger.c | 101 unsigned int hash; member in struct:log_flood_entry 129 unsigned int hash = 0, i = 7; local 132 hash += *p * i; 136 return hash; 544 /* Prevent flooding: hash the message and check if we got the same one recently */ 545 int hash = hash_message(temp_buffer) + log_src_linenumber; local 547 /* Search for the same message by hash */ 549 if (log_flood_array[i].hash == hash) { 597 log_flood_array[log_flood_entries].hash [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/celleb/ |
H A D | htab.c | 223 unsigned long hash; local 228 hash = hpt_hash(va, mmu_psize_defs[psize].shift); 232 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; 246 hash = ~hash;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | fib_semantics.c | 217 unsigned int hash; local 219 hash = fib_info_hashfn(nfi); 220 head = &fib_info_hash[hash]; 256 unsigned int hash; local 260 hash = fib_devindex_hashfn(dev->ifindex); 261 head = &fib_info_devhash[hash]; 615 static void fib_hash_free(struct hlist_head *hash, int bytes) argument 617 if (!hash) 621 kfree(hash); 623 free_pages((unsigned long) hash, get_orde 853 unsigned int hash; local 1058 unsigned int hash = fib_laddr_hashfn(local); local 1073 unsigned int hash = fib_devindex_hashfn(dev->ifindex); local 1128 unsigned int hash; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/squashfs/ |
H A D | sort.c | 99 int hash = buf->st_ino & 0xffff; local 102 for(s = sort_info_list[hash]; s; s = s->next) 113 int hash = buf.st_ino & 0xffff;\ 122 s->next = sort_info_list[hash];\ 123 sort_info_list[hash] = s;\
|