Searched refs:hval (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/drivers/isdn/ |
D | isdn_bsdcomp.c | 478 int hval,disp,ilen,mxcode; in bsd_compress() local 527 hval = BSD_HASH (ent, c, hshift); in bsd_compress() 528 dictp = dict_ptr (db, hval); in bsd_compress() 540 disp = (hval == 0) ? 1 : hval; in bsd_compress() 543 hval += disp; in bsd_compress() 544 if (hval >= db->hsize) in bsd_compress() 545 hval -= db->hsize; in bsd_compress() 546 dictp = dict_ptr (db, hval); in bsd_compress() 580 dictp2->cptr = hval; in bsd_compress() 845 int hval, disp, indx; in bsd_decompress() local [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | bsd_comp.c | 584 int hval; in bsd_compress() local 666 hval = BSD_HASH (ent, c, hshift); in bsd_compress() 667 dictp = dict_ptr (db, hval); in bsd_compress() 682 disp = (hval == 0) ? 1 : hval; in bsd_compress() 686 hval += disp; in bsd_compress() 687 if (hval >= db->hsize) in bsd_compress() 689 hval -= db->hsize; in bsd_compress() 691 dictp = dict_ptr (db, hval); in bsd_compress() 732 dictp2->cptr = hval; in bsd_compress() 1064 int hval, disp, indx; in bsd_decompress() local [all …]
|
/linux-2.4.37.9/net/ipv4/ |
D | ip_fragment.c | 145 unsigned int hval = ipqhashfn(q->id, q->saddr, in ipfrag_secret_rebuild() local 148 if (hval != i) { in ipfrag_secret_rebuild() 155 if ((q->next = ipq_hash[hval]) != NULL) in ipfrag_secret_rebuild() 157 ipq_hash[hval] = q; in ipfrag_secret_rebuild() 158 q->pprev = &ipq_hash[hval]; in ipfrag_secret_rebuild()
|
/linux-2.4.37.9/net/ipv6/ |
D | reassembly.c | 166 unsigned int hval = ip6qhashfn(q->id, in ip6_frag_secret_rebuild() local 170 if (hval != i) { in ip6_frag_secret_rebuild() 177 if ((q->next = ip6_frag_hash[hval]) != NULL) in ip6_frag_secret_rebuild() 179 ip6_frag_hash[hval] = q; in ip6_frag_secret_rebuild() 180 q->pprev = &ip6_frag_hash[hval]; in ip6_frag_secret_rebuild()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_buf.c | 206 int bit, hval; in _bhash() local 210 for (bit = hval = 0; base && bit < sizeof(base) * 8; bit += NBITS) { in _bhash() 211 hval ^= (int)base & (NHASH-1); in _bhash() 214 return hval; in _bhash() 639 int hval; in _pagebuf_find() local 653 hval = _bhash(target->pbr_bdev, range_base); in _pagebuf_find() 654 h = &pbhash[hval]; in _pagebuf_find() 675 new_pb->pb_hash_index = hval; in _pagebuf_find()
|