Searched refs:hshift (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 84 u_char hshift; /* used in hash function */ member 164 #define BSD_HASH(prefix,suffix,hshift) ((((u_int32_t)(suffix)) << (hshift)) \ argument 292 u_int newlen, hsize, hshift, maxmaxcode; local 306 hshift = 4; 310 hshift = 5; 314 hshift = 6; 318 hshift = 7; 347 db->hshift = hshift; 435 u_int hshift = db->hshift; local 465 hval = BSD_HASH(ent, c, hshift); [all …]
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | bsd-comp.c | 99 uchar_t hshift; /* used in hash function */ member 196 #define BSD_HASH(prefix, suffix, hshift) \ argument 197 ((((uint32_t)(suffix)) << (hshift)) ^ (uint32_t)(prefix)) 350 uint_t hshift; in bsd_alloc() local 373 hshift = 4; in bsd_alloc() 380 hshift = 5; in bsd_alloc() 387 hshift = 6; in bsd_alloc() 394 hshift = 7; in bsd_alloc() 428 db->hshift = (uchar_t)hshift; in bsd_alloc() 556 int hshift = db->hshift; in bsd_compress() local [all …]
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 928 cinterr(int hshift) in cinterr() argument 933 (void) fprintf(stderr, "hshift = %d, %d\n", hshift, (1 << hshift) -1); in cinterr() 978 int hshift; in compress() local 1013 hshift = 0; in compress() 1016 hshift++; in compress() 1018 hshift = 8 - hshift; /* set hash code range bound */ in compress() 1029 i = ((c << hshift) ^ ent); /* xor hashing */ in compress() 1052 cinterr(hshift); in compress()
|